Changeset 67 in projects


Ignore:
Timestamp:
Jan 15, 2013, 5:57:40 PM (7 years ago)
Author:
sven
Message:

Irgendwelche alten Aenderungen vom 11.03.2011 von Sven7, der geschrottet wird

Location:
punch-card-project/trunk/punch-card-editor/src
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • punch-card-project/trunk/punch-card-editor/src/app/mainwindow.cc

    r59 r67  
    6464        connect(this, SIGNAL(fileOpened(bool)), graphical_editor, SLOT(fileOpened(bool)));
    6565        connect(this, SIGNAL(contentsChanged(DeckIndex, DeckIndex)), graphical_editor, SLOT(contentsChanged(DeckIndex, DeckIndex)));
    66 
    6766}
    6867
     
    365364
    366365void MainWindow::createDockWindows() {
     366        // KARTENDECK DEAKTIVIEREN (aus Code rausnehmen)
     367        return;
     368
    367369        // Kartenuebersicht:
    368370        navigator = new Navigator::Dock(this);
  • punch-card-project/trunk/punch-card-editor/src/app/mainwindow.h

    r59 r67  
    3737
    3838        QPointer<Navigator::Dock> navigator;
    39         QPointer<CardEditor> graphical_editor;
     39        CardEditor *graphical_editor; // setCentralWidget takes ownership
    4040        QList< QPointer<QPunchCard::Text::EditorDock> > text_editors; // eigentlich nur fuer exportText()
    4141        QList< QPointer<QPunchCard::Device::Dock> > device_docks;
  • punch-card-project/trunk/punch-card-editor/src/deckviewer/cardeditor.cc

    r58 r67  
    102102        Q_ASSERT(this->view);
    103103        QString filename = QFileDialog::getSaveFileName(this->main, tr("Choose output file and format by extension"), QString(),
    104                 tr("Image Files (*.bmp *.jpg *.jpeg *.png *.ppm *.tiff *.xbm *.xpm);;Another (*.xyz)"));
     104                tr("Image Files (*.bmp *.jpg *.jpeg *.png *.ppm *.tiff *.xbm *.xpm);;"));
    105105
    106106        if(filename.isNull()) {
  • punch-card-project/trunk/punch-card-editor/src/deckviewer/navigatormodel.cc

    r59 r67  
    9090
    9191        } else if(role == Qt::DisplayRole) {
    92                 return tr("Card %1").arg(index.row());
     92                //return tr("Card %1").arg(index.row());
     93                return QVariant(); // invalid = no label
    9394        } else if(role == Qt::StatusTipRole) {
    9495                return tr("You can <b>click and move</b> this card in the deck. Or <b>select multiple cards<b> with the rubberband.");
  • punch-card-project/trunk/punch-card-editor/src/deckviewer/navigatorview.cc

    r52 r67  
    99
    1010        // view einrichten
    11         setViewMode(QListView::IconMode);
     11        setViewMode(QListView::IconMode);
    1212        setIconSize( navigator->model->getIconSize() );
     13        setUniformItemSizes(true);
    1314        setSpacing(20);
    1415        //setSelectionMode(QAbstractItemView::ContiguousSelection);
  • punch-card-project/trunk/punch-card-editor/src/qpunchcard/widget.h

    r58 r67  
    7272        const Codec* getCodec() const { return codec; }
    7373
    74         ~CardWidget() {};
     74        ~CardWidget() {}
    7575
    7676public slots:
  • punch-card-project/trunk/punch-card-editor/src/src.pro.user

    r59 r67  
    22<qtcreator>
    33 <data>
    4   <variable>RunConfiguration0-Arguments</variable>
    5   <valuelist type="QVariantList"/>
    6  </data>
    7  <data>
    8   <variable>RunConfiguration0-BaseEnvironmentBase</variable>
    9   <value type="int">2</value>
    10  </data>
    11  <data>
    12   <variable>RunConfiguration0-Executable</variable>
    13   <value type="QString">C:\Dokumente und Einstellungen\Physik\Desktop\punch-card-project\punch-card-editor\bin\src.exe</value>
    14  </data>
    15  <data>
    16   <variable>RunConfiguration0-RunConfiguration.name</variable>
    17   <value type="QString">Führe C:\Dokumente und Einstellungen\Physik\Desktop\punch-card-project\punch-card-editor\bin\src.exe aus</value>
    18  </data>
    19  <data>
    20   <variable>RunConfiguration0-UseTerminal</variable>
    21   <value type="bool">false</value>
    22  </data>
    23  <data>
    24   <variable>RunConfiguration0-UserEnvironmentChanges</variable>
    25   <valuelist type="QVariantList"/>
    26  </data>
    27  <data>
    28   <variable>RunConfiguration0-UserName</variable>
    29   <value type="QString"></value>
    30  </data>
    31  <data>
    32   <variable>RunConfiguration0-UserSetName</variable>
    33   <value type="bool">false</value>
    34  </data>
    35  <data>
    36   <variable>RunConfiguration0-WorkingDirectory</variable>
    37   <value type="QString">$BUILDDIR</value>
    38  </data>
    39  <data>
    40   <variable>RunConfiguration0-type</variable>
    41   <value type="QString">ProjectExplorer.CustomExecutableRunConfiguration</value>
    42  </data>
    43  <data>
    44   <variable>RunConfiguration1-BaseEnvironmentBase</variable>
    45   <value type="int">2</value>
    46  </data>
    47  <data>
    48   <variable>RunConfiguration1-CommandLineArguments</variable>
    49   <valuelist type="QVariantList"/>
    50  </data>
    51  <data>
    52   <variable>RunConfiguration1-ProFile</variable>
    53   <value type="QString">src.pro</value>
    54  </data>
    55  <data>
    56   <variable>RunConfiguration1-RunConfiguration.name</variable>
    57   <value type="QString">src</value>
    58  </data>
    59  <data>
    60   <variable>RunConfiguration1-UseDyldImageSuffix</variable>
    61   <value type="bool">false</value>
    62  </data>
    63  <data>
    64   <variable>RunConfiguration1-UseTerminal</variable>
    65   <value type="bool">false</value>
    66  </data>
    67  <data>
    68   <variable>RunConfiguration1-UserEnvironmentChanges</variable>
    69   <valuelist type="QVariantList"/>
    70  </data>
    71  <data>
    72   <variable>RunConfiguration1-UserSetName</variable>
    73   <value type="bool">false</value>
    74  </data>
    75  <data>
    76   <variable>RunConfiguration1-UserSetWorkingDirectory</variable>
    77   <value type="bool">false</value>
    78  </data>
    79  <data>
    80   <variable>RunConfiguration1-UserWorkingDirectory</variable>
    81   <value type="QString"></value>
    82  </data>
    83  <data>
    84   <variable>RunConfiguration1-type</variable>
    85   <value type="QString">Qt4ProjectManager.Qt4RunConfiguration</value>
    86  </data>
    87  <data>
    88   <variable>activeRunConfiguration</variable>
     4  <variable>ProjectExplorer.Project.ActiveTarget</variable>
    895  <value type="int">0</value>
    906 </data>
    917 <data>
    92   <variable>activebuildconfiguration</variable>
    93   <value type="QString">Debug</value>
    94  </data>
    95  <data>
    96   <variable>buildConfiguration-Debug</variable>
     8  <variable>ProjectExplorer.Project.EditorSettings</variable>
    979  <valuemap type="QVariantMap">
    98    <value key="ProjectExplorer.BuildConfiguration.DisplayName" type="QString">Debug</value>
    99    <value key="QtVersionId" type="int">0</value>
    100    <value key="ToolChain" type="int">2</value>
    101    <value key="addQDumper" type=""></value>
    102    <value key="buildConfiguration" type="int">2</value>
    103    <value key="buildDirectory" type="QString">/mnt/data/Programme/technikum29-projects/punch-card-project/trunk/punch-card-editor/src</value>
     10   <value key="EditorConfiguration.Codec" type="QByteArray">System</value>
    10411  </valuemap>
    10512 </data>
    10613 <data>
    107   <variable>buildConfiguration-Release</variable>
     14  <variable>ProjectExplorer.Project.Target.0</variable>
    10815  <valuemap type="QVariantMap">
    109    <value key="ProjectExplorer.BuildConfiguration.DisplayName" type="QString">Release</value>
    110    <value key="QtVersionId" type="int">0</value>
    111    <value key="ToolChain" type="int">2</value>
    112    <value key="addQDumper" type=""></value>
    113    <value key="buildConfiguration" type="int">0</value>
     16   <value key="ProjectExplorer.ProjectConfiguration.DisplayName" type="QString">Desktop</value>
     17   <value key="ProjectExplorer.ProjectConfiguration.Id" type="QString">Qt4ProjectManager.Target.DesktopTarget</value>
     18   <value key="ProjectExplorer.Target.ActiveBuildConfiguration" type="int">0</value>
     19   <value key="ProjectExplorer.Target.ActiveRunConfiguration" type="int">0</value>
     20   <valuemap key="ProjectExplorer.Target.BuildConfiguration.0" type="QVariantMap">
     21    <valuemap key="ProjectExplorer.BuildConfiguration.BuildStep.0" type="QVariantMap">
     22     <value key="ProjectExplorer.ProjectConfiguration.DisplayName" type="QString"></value>
     23     <value key="ProjectExplorer.ProjectConfiguration.Id" type="QString">QtProjectManager.QMakeBuildStep</value>
     24     <valuelist key="QtProjectManager.QMakeBuildStep.QMakeArguments" type="QVariantList"/>
     25    </valuemap>
     26    <valuemap key="ProjectExplorer.BuildConfiguration.BuildStep.1" type="QVariantMap">
     27     <value key="ProjectExplorer.ProjectConfiguration.DisplayName" type="QString"></value>
     28     <value key="ProjectExplorer.ProjectConfiguration.Id" type="QString">Qt4ProjectManager.MakeStep</value>
     29     <value key="Qt4ProjectManager.MakeStep.Clean" type="bool">false</value>
     30     <valuelist key="Qt4ProjectManager.MakeStep.MakeArguments" type="QVariantList"/>
     31     <value key="Qt4ProjectManager.MakeStep.MakeCommand" type="QString"></value>
     32    </valuemap>
     33    <value key="ProjectExplorer.BuildConfiguration.BuildStepsCount" type="int">2</value>
     34    <valuemap key="ProjectExplorer.BuildConfiguration.CleanStep.0" type="QVariantMap">
     35     <value key="ProjectExplorer.ProjectConfiguration.DisplayName" type="QString"></value>
     36     <value key="ProjectExplorer.ProjectConfiguration.Id" type="QString">Qt4ProjectManager.MakeStep</value>
     37     <value key="Qt4ProjectManager.MakeStep.Clean" type="bool">true</value>
     38     <valuelist key="Qt4ProjectManager.MakeStep.MakeArguments" type="QVariantList">
     39      <value type="QString">clean</value>
     40     </valuelist>
     41     <value key="Qt4ProjectManager.MakeStep.MakeCommand" type="QString"></value>
     42    </valuemap>
     43    <value key="ProjectExplorer.BuildConfiguration.CleanStepsCount" type="int">1</value>
     44    <value key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment" type="bool">false</value>
     45    <valuelist key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges" type="QVariantList"/>
     46    <value key="ProjectExplorer.ProjectConfiguration.DisplayName" type="QString">Debug</value>
     47    <value key="ProjectExplorer.ProjectConfiguration.Id" type="QString">Qt4ProjectManager.Qt4BuildConfiguration</value>
     48    <value key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration" type="int">2</value>
     49    <value key="Qt4ProjectManager.Qt4BuildConfiguration.BuildDirectory" type="QString">/mnt/data/Programme/technikum29-projects/punch-card-project/trunk/punch-card-editor/src</value>
     50    <value key="Qt4ProjectManager.Qt4BuildConfiguration.QtVersionId" type="int">2</value>
     51    <value key="Qt4ProjectManager.Qt4BuildConfiguration.ToolChain" type="int">2</value>
     52    <value key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild" type="bool">true</value>
     53   </valuemap>
     54   <valuemap key="ProjectExplorer.Target.BuildConfiguration.1" type="QVariantMap">
     55    <valuemap key="ProjectExplorer.BuildConfiguration.BuildStep.0" type="QVariantMap">
     56     <value key="ProjectExplorer.ProjectConfiguration.DisplayName" type="QString"></value>
     57     <value key="ProjectExplorer.ProjectConfiguration.Id" type="QString">QtProjectManager.QMakeBuildStep</value>
     58     <valuelist key="QtProjectManager.QMakeBuildStep.QMakeArguments" type="QVariantList"/>
     59    </valuemap>
     60    <valuemap key="ProjectExplorer.BuildConfiguration.BuildStep.1" type="QVariantMap">
     61     <value key="ProjectExplorer.ProjectConfiguration.DisplayName" type="QString"></value>
     62     <value key="ProjectExplorer.ProjectConfiguration.Id" type="QString">Qt4ProjectManager.MakeStep</value>
     63     <value key="Qt4ProjectManager.MakeStep.Clean" type="bool">false</value>
     64     <valuelist key="Qt4ProjectManager.MakeStep.MakeArguments" type="QVariantList"/>
     65     <value key="Qt4ProjectManager.MakeStep.MakeCommand" type="QString"></value>
     66    </valuemap>
     67    <value key="ProjectExplorer.BuildConfiguration.BuildStepsCount" type="int">2</value>
     68    <valuemap key="ProjectExplorer.BuildConfiguration.CleanStep.0" type="QVariantMap">
     69     <value key="ProjectExplorer.ProjectConfiguration.DisplayName" type="QString"></value>
     70     <value key="ProjectExplorer.ProjectConfiguration.Id" type="QString">Qt4ProjectManager.MakeStep</value>
     71     <value key="Qt4ProjectManager.MakeStep.Clean" type="bool">true</value>
     72     <valuelist key="Qt4ProjectManager.MakeStep.MakeArguments" type="QVariantList"/>
     73     <value key="Qt4ProjectManager.MakeStep.MakeCommand" type="QString"></value>
     74    </valuemap>
     75    <value key="ProjectExplorer.BuildConfiguration.CleanStepsCount" type="int">1</value>
     76    <value key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment" type="bool">false</value>
     77    <valuelist key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges" type="QVariantList"/>
     78    <value key="ProjectExplorer.ProjectConfiguration.DisplayName" type="QString">Release</value>
     79    <value key="ProjectExplorer.ProjectConfiguration.Id" type="QString">Qt4ProjectManager.Qt4BuildConfiguration</value>
     80    <value key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration" type="int">0</value>
     81    <value key="Qt4ProjectManager.Qt4BuildConfiguration.BuildDirectory" type="QString">E:/Ubuntu7/technikum29-projects/punch-card-project/trunk/punch-card-editor/src-build-desktop</value>
     82    <value key="Qt4ProjectManager.Qt4BuildConfiguration.QtVersionId" type="int">2</value>
     83    <value key="Qt4ProjectManager.Qt4BuildConfiguration.ToolChain" type="int">2</value>
     84    <value key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild" type="bool">true</value>
     85   </valuemap>
     86   <value key="ProjectExplorer.Target.BuildConfigurationCount" type="int">2</value>
     87   <valuemap key="ProjectExplorer.Target.RunConfiguration.0" type="QVariantMap">
     88    <valuelist key="ProjectExplorer.CustomExecutableRunConfiguration.Arguments" type="QVariantList"/>
     89    <value key="ProjectExplorer.CustomExecutableRunConfiguration.BaseEnvironmentBase" type="int">2</value>
     90    <value key="ProjectExplorer.CustomExecutableRunConfiguration.Executable" type="QString">..\bin\src.exe</value>
     91    <value key="ProjectExplorer.CustomExecutableRunConfiguration.UseTerminal" type="bool">false</value>
     92    <valuelist key="ProjectExplorer.CustomExecutableRunConfiguration.UserEnvironmentChanges" type="QVariantList"/>
     93    <value key="ProjectExplorer.CustomExecutableRunConfiguration.UserName" type="QString"></value>
     94    <value key="ProjectExplorer.CustomExecutableRunConfiguration.UserSetName" type="bool">false</value>
     95    <value key="ProjectExplorer.CustomExecutableRunConfiguration.WorkingDirectory" type="QString">$BUILDDIR</value>
     96    <value key="ProjectExplorer.ProjectConfiguration.DisplayName" type="QString">Führe ..\bin\src.exe aus</value>
     97    <value key="ProjectExplorer.ProjectConfiguration.Id" type="QString">ProjectExplorer.CustomExecutableRunConfiguration</value>
     98   </valuemap>
     99   <valuemap key="ProjectExplorer.Target.RunConfiguration.1" type="QVariantMap">
     100    <value key="ProjectExplorer.ProjectConfiguration.DisplayName" type="QString">src</value>
     101    <value key="ProjectExplorer.ProjectConfiguration.Id" type="QString">Qt4ProjectManager.Qt4RunConfiguration</value>
     102    <value key="Qt4ProjectManager.Qt4RunConfiguration.BaseEnvironmentBase" type="int">2</value>
     103    <valuelist key="Qt4ProjectManager.Qt4RunConfiguration.CommandLineArguments" type="QVariantList"/>
     104    <value key="Qt4ProjectManager.Qt4RunConfiguration.ProFile" type="QString">src.pro</value>
     105    <value key="Qt4ProjectManager.Qt4RunConfiguration.UseDyldImageSuffix" type="bool">false</value>
     106    <value key="Qt4ProjectManager.Qt4RunConfiguration.UseTerminal" type="bool">false</value>
     107    <valuelist key="Qt4ProjectManager.Qt4RunConfiguration.UserEnvironmentChanges" type="QVariantList"/>
     108    <value key="Qt4ProjectManager.Qt4RunConfiguration.UserSetName" type="bool">false</value>
     109    <value key="Qt4ProjectManager.Qt4RunConfiguration.UserSetWorkingDirectory" type="bool">false</value>
     110    <value key="Qt4ProjectManager.Qt4RunConfiguration.UserWorkingDirectory" type="QString"></value>
     111   </valuemap>
     112   <value key="ProjectExplorer.Target.RunConfigurationCount" type="int">2</value>
    114113  </valuemap>
    115114 </data>
    116115 <data>
    117   <variable>buildconfiguration-Debug-buildstep0</variable>
    118   <valuemap type="QVariantMap">
    119    <value key="ProjectExplorer.BuildConfiguration.DisplayName" type="QString">Debug</value>
    120    <valuelist key="abstractProcess.Environment" type="QVariantList">
    121     <value type="QString">ALLUSERSPROFILE=C:\Dokumente und Einstellungen\All Users</value>
    122     <value type="QString">APPDATA=C:\Dokumente und Einstellungen\Physik\Anwendungsdaten</value>
    123     <value type="QString">CARBON_MEM_DISABLE=1</value>
    124     <value type="QString">CLASSPATH=.;C:\Programme\Java\jre6\lib\ext\QTJava.zip</value>
    125     <value type="QString">CLIENTNAME=Console</value>
    126     <value type="QString">COMMONPROGRAMFILES=C:\Programme\Gemeinsame Dateien</value>
    127     <value type="QString">COMPUTERNAME=ALBERTEINSTEIN</value>
    128     <value type="QString">COMSPEC=C:\WINDOWS\system32\cmd.exe</value>
    129     <value type="QString">FP_NO_HOST_CHECK=NO</value>
    130     <value type="QString">HOMEDRIVE=C:</value>
    131     <value type="QString">HOMEPATH=\Dokumente und Einstellungen\Physik</value>
    132     <value type="QString">LOGONSERVER=\\ALBERTEINSTEIN</value>
    133     <value type="QString">NUMBER_OF_PROCESSORS=2</value>
    134     <value type="QString">OS=Windows_NT</value>
    135     <value type="QString">PATH=C:\Qt\2009.05\mingw\bin;C:\Qt\2009.05\qt\bin;C:\WinAVR\bin;C:\WinAVR\utils\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Programme\TortoiseSVN\bin;C:\Programme\ooRexx;C:\Programme\Java\jdk1.6.0_17\bin;C:\Programme\QuickTime\QTSystem\;C:\Programme\OpenVPN\bin</value>
    136     <value type="QString">PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.REX</value>
    137     <value type="QString">PROCESSOR_ARCHITECTURE=x86</value>
    138     <value type="QString">PROCESSOR_IDENTIFIER=x86 Family 6 Model 28 Stepping 2, GenuineIntel</value>
    139     <value type="QString">PROCESSOR_LEVEL=6</value>
    140     <value type="QString">PROCESSOR_REVISION=1c02</value>
    141     <value type="QString">PROGRAMFILES=C:\Programme</value>
    142     <value type="QString">QTDIR=C:/Qt/2009.05/qt</value>
    143     <value type="QString">QTJAVA=C:\Programme\Java\jre6\lib\ext\QTJava.zip</value>
    144     <value type="QString">REXX_HOME=C:\Programme\ooRexx</value>
    145     <value type="QString">SESSIONNAME=Console</value>
    146     <value type="QString">SYSTEMDRIVE=C:</value>
    147     <value type="QString">SYSTEMROOT=C:\WINDOWS</value>
    148     <value type="QString">TEMP=C:\DOKUME~1\Physik\LOKALE~1\Temp</value>
    149     <value type="QString">TMP=C:\DOKUME~1\Physik\LOKALE~1\Temp</value>
    150     <value type="QString">USERDOMAIN=ALBERTEINSTEIN</value>
    151     <value type="QString">USERNAME=Physik</value>
    152     <value type="QString">USERPROFILE=C:\Dokumente und Einstellungen\Physik</value>
    153     <value type="QString">WINDIR=C:\WINDOWS</value>
    154    </valuelist>
    155    <valuelist key="abstractProcess.arguments" type="QVariantList">
    156     <value type="QString">C:/Dokumente und Einstellungen/Physik/Desktop/punch-card-project/punch-card-editor/src/src.pro</value>
    157     <value type="QString">-spec</value>
    158     <value type="QString">win32-g++</value>
    159     <value type="QString">-r</value>
    160    </valuelist>
    161    <value key="abstractProcess.command" type="QString">c:/qt/2009.05/qt/bin/qmake.exe</value>
    162    <value key="abstractProcess.enabled" type="bool">false</value>
    163    <value key="abstractProcess.workingDirectory" type="QString">C:/Dokumente und Einstellungen/Physik/Desktop/punch-card-project/punch-card-editor/src</value>
    164    <valuelist key="qmakeArgs" type="QVariantList"/>
    165   </valuemap>
     116  <variable>ProjectExplorer.Project.TargetCount</variable>
     117  <value type="int">1</value>
    166118 </data>
    167119 <data>
    168   <variable>buildconfiguration-Debug-buildstep1</variable>
    169   <valuemap type="QVariantMap">
    170    <value key="ProjectExplorer.BuildConfiguration.DisplayName" type="QString">Debug</value>
    171    <valuelist key="abstractProcess.Environment" type="QVariantList">
    172     <value type="QString">ALLUSERSPROFILE=C:\Dokumente und Einstellungen\All Users</value>
    173     <value type="QString">APPDATA=C:\Dokumente und Einstellungen\Physik\Anwendungsdaten</value>
    174     <value type="QString">CARBON_MEM_DISABLE=1</value>
    175     <value type="QString">CLASSPATH=.;C:\Programme\Java\jre6\lib\ext\QTJava.zip</value>
    176     <value type="QString">CLIENTNAME=Console</value>
    177     <value type="QString">COMMONPROGRAMFILES=C:\Programme\Gemeinsame Dateien</value>
    178     <value type="QString">COMPUTERNAME=ALBERTEINSTEIN</value>
    179     <value type="QString">COMSPEC=C:\WINDOWS\system32\cmd.exe</value>
    180     <value type="QString">FP_NO_HOST_CHECK=NO</value>
    181     <value type="QString">HOMEDRIVE=C:</value>
    182     <value type="QString">HOMEPATH=\Dokumente und Einstellungen\Physik</value>
    183     <value type="QString">LOGONSERVER=\\ALBERTEINSTEIN</value>
    184     <value type="QString">NUMBER_OF_PROCESSORS=2</value>
    185     <value type="QString">OS=Windows_NT</value>
    186     <value type="QString">PATH=C:\Qt\2009.05\mingw\bin;C:\Qt\2009.05\qt\bin;C:\WinAVR\bin;C:\WinAVR\utils\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Programme\TortoiseSVN\bin;C:\Programme\ooRexx;C:\Programme\Java\jdk1.6.0_17\bin;C:\Programme\QuickTime\QTSystem\;C:\Programme\OpenVPN\bin</value>
    187     <value type="QString">PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.REX</value>
    188     <value type="QString">PROCESSOR_ARCHITECTURE=x86</value>
    189     <value type="QString">PROCESSOR_IDENTIFIER=x86 Family 6 Model 28 Stepping 2, GenuineIntel</value>
    190     <value type="QString">PROCESSOR_LEVEL=6</value>
    191     <value type="QString">PROCESSOR_REVISION=1c02</value>
    192     <value type="QString">PROGRAMFILES=C:\Programme</value>
    193     <value type="QString">QTDIR=C:/Qt/2009.05/qt</value>
    194     <value type="QString">QTJAVA=C:\Programme\Java\jre6\lib\ext\QTJava.zip</value>
    195     <value type="QString">REXX_HOME=C:\Programme\ooRexx</value>
    196     <value type="QString">SESSIONNAME=Console</value>
    197     <value type="QString">SYSTEMDRIVE=C:</value>
    198     <value type="QString">SYSTEMROOT=C:\WINDOWS</value>
    199     <value type="QString">TEMP=C:\DOKUME~1\Physik\LOKALE~1\Temp</value>
    200     <value type="QString">TMP=C:\DOKUME~1\Physik\LOKALE~1\Temp</value>
    201     <value type="QString">USERDOMAIN=ALBERTEINSTEIN</value>
    202     <value type="QString">USERNAME=Physik</value>
    203     <value type="QString">USERPROFILE=C:\Dokumente und Einstellungen\Physik</value>
    204     <value type="QString">WINDIR=C:\WINDOWS</value>
    205    </valuelist>
    206    <value key="abstractProcess.IgnoreReturnValue" type="bool">false</value>
    207    <valuelist key="abstractProcess.arguments" type="QVariantList">
    208     <value type="QString">-w</value>
    209    </valuelist>
    210    <value key="abstractProcess.command" type="QString">C:/Qt/2009.05/mingw/bin/mingw32-make.exe</value>
    211    <value key="abstractProcess.enabled" type="bool">true</value>
    212    <value key="abstractProcess.workingDirectory" type="QString">C:/Dokumente und Einstellungen/Physik/Desktop/punch-card-project/punch-card-editor/src</value>
    213   </valuemap>
    214  </data>
    215  <data>
    216   <variable>buildconfiguration-Debug-cleanstep0</variable>
    217   <valuemap type="QVariantMap">
    218    <value key="ProjectExplorer.BuildConfiguration.DisplayName" type="QString">Debug</value>
    219    <valuelist key="abstractProcess.Environment" type="QVariantList">
    220     <value type="QString">ALLUSERSPROFILE=C:\Dokumente und Einstellungen\All Users</value>
    221     <value type="QString">APPDATA=C:\Dokumente und Einstellungen\Physik\Anwendungsdaten</value>
    222     <value type="QString">CARBON_MEM_DISABLE=1</value>
    223     <value type="QString">CLIENTNAME=Console</value>
    224     <value type="QString">COMMONPROGRAMFILES=C:\Programme\Gemeinsame Dateien</value>
    225     <value type="QString">COMPUTERNAME=ALBERTEINSTEIN</value>
    226     <value type="QString">COMSPEC=C:\WINDOWS\system32\cmd.exe</value>
    227     <value type="QString">FP_NO_HOST_CHECK=NO</value>
    228     <value type="QString">HOMEDRIVE=C:</value>
    229     <value type="QString">HOMEPATH=\Dokumente und Einstellungen\Physik</value>
    230     <value type="QString">LOGONSERVER=\\ALBERTEINSTEIN</value>
    231     <value type="QString">NUMBER_OF_PROCESSORS=2</value>
    232     <value type="QString">OS=Windows_NT</value>
    233     <value type="QString">PATH=C:\Qt\2009.05\mingw\bin;C:\Qt\2009.05\qt\bin;C:\WinAVR\bin;C:\WinAVR\utils\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Programme\TortoiseSVN\bin;C:\Programme\ooRexx;C:\Programme\Java\jdk1.6.0_17\bin;C:\Programme\OpenVPN\bin</value>
    234     <value type="QString">PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.REX</value>
    235     <value type="QString">PROCESSOR_ARCHITECTURE=x86</value>
    236     <value type="QString">PROCESSOR_IDENTIFIER=x86 Family 6 Model 28 Stepping 2, GenuineIntel</value>
    237     <value type="QString">PROCESSOR_LEVEL=6</value>
    238     <value type="QString">PROCESSOR_REVISION=1c02</value>
    239     <value type="QString">PROGRAMFILES=C:\Programme</value>
    240     <value type="QString">QTDIR=C:/Qt/2009.05/qt</value>
    241     <value type="QString">REXX_HOME=C:\Programme\ooRexx</value>
    242     <value type="QString">SESSIONNAME=Console</value>
    243     <value type="QString">SYSTEMDRIVE=C:</value>
    244     <value type="QString">SYSTEMROOT=C:\WINDOWS</value>
    245     <value type="QString">TEMP=C:\DOKUME~1\Physik\LOKALE~1\Temp</value>
    246     <value type="QString">TMP=C:\DOKUME~1\Physik\LOKALE~1\Temp</value>
    247     <value type="QString">USERDOMAIN=ALBERTEINSTEIN</value>
    248     <value type="QString">USERNAME=Physik</value>
    249     <value type="QString">USERPROFILE=C:\Dokumente und Einstellungen\Physik</value>
    250     <value type="QString">WINDIR=C:\WINDOWS</value>
    251    </valuelist>
    252    <value key="abstractProcess.IgnoreReturnValue" type="bool">true</value>
    253    <valuelist key="abstractProcess.arguments" type="QVariantList">
    254     <value type="QString">clean</value>
    255     <value type="QString">-w</value>
    256    </valuelist>
    257    <value key="abstractProcess.command" type="QString">C:/Qt/2009.05/mingw/bin/mingw32-make.exe</value>
    258    <value key="abstractProcess.enabled" type="bool">true</value>
    259    <value key="abstractProcess.workingDirectory" type="QString">C:/Dokumente und Einstellungen/Physik/Desktop/punch-card-project/punch-card-editor/src</value>
    260    <value key="cleanConfig" type="bool">true</value>
    261    <valuelist key="makeargs" type="QVariantList">
    262     <value type="QString">clean</value>
    263    </valuelist>
    264   </valuemap>
    265  </data>
    266  <data>
    267   <variable>buildconfiguration-Release-buildstep0</variable>
    268   <valuemap type="QVariantMap">
    269    <value key="ProjectExplorer.BuildConfiguration.DisplayName" type="QString">Release</value>
    270    <valuelist key="qmakeArgs" type="QVariantList"/>
    271   </valuemap>
    272  </data>
    273  <data>
    274   <variable>buildconfiguration-Release-buildstep1</variable>
    275   <valuemap type="QVariantMap">
    276    <value key="ProjectExplorer.BuildConfiguration.DisplayName" type="QString">Release</value>
    277   </valuemap>
    278  </data>
    279  <data>
    280   <variable>buildconfiguration-Release-cleanstep0</variable>
    281   <valuemap type="QVariantMap">
    282    <value key="ProjectExplorer.BuildConfiguration.DisplayName" type="QString">Release</value>
    283   </valuemap>
    284  </data>
    285  <data>
    286   <variable>buildconfigurations</variable>
    287   <valuelist type="QVariantList">
    288    <value type="QString">Debug</value>
    289    <value type="QString">Release</value>
    290   </valuelist>
    291  </data>
    292  <data>
    293   <variable>buildstep0</variable>
    294   <valuemap type="QVariantMap">
    295    <value key="ProjectExplorer.BuildConfiguration.DisplayName" type="QString"></value>
    296    <value key="mkspec" type="QString"></value>
    297   </valuemap>
    298  </data>
    299  <data>
    300   <variable>buildstep1</variable>
    301   <valuemap type="QVariantMap">
    302    <value key="ProjectExplorer.BuildConfiguration.DisplayName" type="QString"></value>
    303   </valuemap>
    304  </data>
    305  <data>
    306   <variable>buildsteps</variable>
    307   <valuelist type="QVariantList">
    308    <value type="QString">trolltech.qt4projectmanager.qmake</value>
    309    <value type="QString">trolltech.qt4projectmanager.make</value>
    310   </valuelist>
    311  </data>
    312  <data>
    313   <variable>cleanstep0</variable>
    314   <valuemap type="QVariantMap">
    315    <value key="ProjectExplorer.BuildConfiguration.DisplayName" type="QString"></value>
    316    <value key="clean" type="bool">true</value>
    317   </valuemap>
    318  </data>
    319  <data>
    320   <variable>cleansteps</variable>
    321   <valuelist type="QVariantList">
    322    <value type="QString">trolltech.qt4projectmanager.make</value>
    323   </valuelist>
    324  </data>
    325  <data>
    326   <variable>defaultFileEncoding</variable>
    327   <value type="QByteArray">System</value>
    328  </data>
    329  <data>
    330   <variable>project</variable>
    331   <valuemap type="QVariantMap"/>
     120  <variable>ProjectExplorer.Project.Updater.FileVersion</variable>
     121  <value type="int">4</value>
    332122 </data>
    333123</qtcreator>
  • punch-card-project/trunk/punch-card-editor/src/text/editor.cc

    r58 r67  
    1212Text::Editor::Editor(App::MainWindow* main) : QPlainTextEdit(main), main(main) {
    1313        row_area = new NumberArea(this);
    14         col_area = new NumberArea(this);
     14        //col_area = new NumberArea(this);
    1515
    1616        connect(this->document(), SIGNAL(contentsChange(int,int,int)),
     
    2323                qDebug("Got NULL Codec :-(");
    2424        }
     25
     26        setOverwriteMode(true);
     27        setLineWrapMode(QPlainTextEdit::NoWrap);
    2528
    2629        // Font einstellen
     
    340343                extra_selections.append(selection);
    341344        }
    342         {
     345        if(0) {
    343346                // Col Mark
    344347                QTextEdit::ExtraSelection selection_template;
Note: See TracChangeset for help on using the changeset viewer.
© 2008 - 2013 technikum29 • Sven Köppel • Some rights reserved
Powered by Trac
Expect where otherwise noted, content on this site is licensed under a Creative Commons 3.0 License