- Timestamp:
- May 2, 2010, 11:59:26 PM (15 years ago)
- Location:
- trunk/src
- Files:
-
- 1 added
- 6 deleted
- 8 edited
- 5 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/3rdparty/qttoolbardialog-2.2_1-opensource/src/images/icons/go-down.png
-
Property
svn:mergeinfo
set to
(toggle deleted branches)
/tags/0.1.2.100-alpha2/resources/icons/go-down.png 102
-
Property
svn:mergeinfo
set to
(toggle deleted branches)
-
trunk/src/3rdparty/qttoolbardialog-2.2_1-opensource/src/images/icons/go-next.png
-
Property
svn:mergeinfo
set to
(toggle deleted branches)
/tags/0.1.2.100-alpha2/resources/icons/go-next.png 102
-
Property
svn:mergeinfo
set to
(toggle deleted branches)
-
trunk/src/3rdparty/qttoolbardialog-2.2_1-opensource/src/images/icons/go-previous.png
-
Property
svn:mergeinfo
set to
(toggle deleted branches)
/tags/0.1.2.100-alpha2/resources/icons/go-previous.png 102
-
Property
svn:mergeinfo
set to
(toggle deleted branches)
-
trunk/src/3rdparty/qttoolbardialog-2.2_1-opensource/src/images/icons/list-add.png
-
Property
svn:mergeinfo
set to
(toggle deleted branches)
/tags/0.1.2.100-alpha2/resources/icons/list-add.png 102
-
Property
svn:mergeinfo
set to
(toggle deleted branches)
-
trunk/src/3rdparty/qttoolbardialog-2.2_1-opensource/src/images/icons/list-remove.png
-
Property
svn:mergeinfo
set to
(toggle deleted branches)
/tags/0.1.2.100-alpha2/resources/icons/list-remove.png 102
-
Property
svn:mergeinfo
set to
(toggle deleted branches)
-
trunk/src/3rdparty/qttoolbardialog-2.2_1-opensource/src/qttoolbardialog.cpp
r117 r118 1821 1821 connect(d_ptr->ui.removeButton, SIGNAL(clicked()), this, SLOT(removeClicked())); 1822 1822 connect(d_ptr->ui.renameButton, SIGNAL(clicked()), this, SLOT(renameClicked())); 1823 connect(d_ptr->ui.defaultButton, SIGNAL(clicked()), this, SLOT(defaultClicked()));1824 connect(d_ptr->ui.okButton, SIGNAL(clicked()), this, SLOT(okClicked()));1825 connect(d_ptr->ui.applyButton, SIGNAL(clicked()), this, SLOT(applyClicked()));1826 connect(d_ptr->ui.cancelButton, SIGNAL(clicked()), this, SLOT(cancelClicked()));1823 connect(d_ptr->ui.buttonBox->button(QDialogButtonBox::RestoreDefaults), SIGNAL(clicked()), this, SLOT(defaultClicked())); 1824 connect(d_ptr->ui.buttonBox->button(QDialogButtonBox::Save), SIGNAL(clicked()), this, SLOT(okClicked())); 1825 connect(d_ptr->ui.buttonBox->button(QDialogButtonBox::Apply), SIGNAL(clicked()), this, SLOT(applyClicked())); 1826 connect(d_ptr->ui.buttonBox->button(QDialogButtonBox::Close), SIGNAL(clicked()), this, SLOT(cancelClicked())); 1827 1827 connect(d_ptr->ui.upButton, SIGNAL(clicked()), this, SLOT(upClicked())); 1828 1828 connect(d_ptr->ui.downButton, SIGNAL(clicked()), this, SLOT(downClicked())); -
trunk/src/3rdparty/qttoolbardialog-2.2_1-opensource/src/qttoolbardialog.pri
r117 r118 9 9 HEADERS += $$PWD/qttoolbardialog.h 10 10 FORMS += $$PWD/qttoolbardialog.ui 11 #RESOURCES += $$PWD/qttoolbardialog.qrc11 RESOURCES += $$PWD/qttoolbardialog.qrc 12 12 } 13 13 -
trunk/src/3rdparty/qttoolbardialog-2.2_1-opensource/src/qttoolbardialog.qrc
r117 r118 1 <RCC version="1.0"> 2 <qresource prefix="/qttoolbardialog"> 3 <file>images/up.png</file> 4 <file>images/down.png</file> 5 <file>images/forward.png</file> 6 <file>images/back.png</file> 7 <file>images/plus.png</file> 8 <file>images/minus.png</file> 1 <RCC> 2 <qresource prefix="/"> 3 <file>images/icons/go-down.png</file> 4 <file>images/icons/go-next.png</file> 5 <file>images/icons/go-previous.png</file> 6 <file>images/icons/list-add.png</file> 7 <file>images/icons/list-remove.png</file> 9 8 </qresource> 10 9 </RCC> -
trunk/src/3rdparty/qttoolbardialog-2.2_1-opensource/src/qttoolbardialog.ui
r117 r118 1 <ui version="4.0" > 2 <author></author> 3 <comment></comment> 4 <exportmacro></exportmacro> 1 <?xml version="1.0" encoding="UTF-8"?> 2 <ui version="4.0"> 5 3 <class>QtToolBarDialog</class> 6 <widget class="QDialog" name="QtToolBarDialog" > 7 <property name="geometry" > 8 <rect> 9 <x>0</x> 10 <y>0</y> 11 <width>487</width> 12 <height>464</height> 13 </rect> 14 </property> 15 <property name="windowTitle" > 4 <widget class="QDialog" name="QtToolBarDialog"> 5 <property name="windowTitle"> 16 6 <string>Customize Toolbars</string> 17 7 </property> 18 <layout class="QGridLayout" 19 <property name="margin" 8 <layout class="QGridLayout"> 9 <property name="margin"> 20 10 <number>8</number> 21 11 </property> 22 <property name="spacing" 12 <property name="spacing"> 23 13 <number>6</number> 24 14 </property> 25 <item rowspan="3" row="1" column="0" > 26 <widget class="QTreeWidget" name="actionTree" /> 15 <item row="1" column="0" rowspan="3"> 16 <widget class="QTreeWidget" name="actionTree"> 17 <column> 18 <property name="text"> 19 <string notr="true">1</string> 20 </property> 21 </column> 22 </widget> 27 23 </item> 28 <item row="0" column="0" 29 <widget class="QLabel" name="label" 30 <property name="text" 24 <item row="0" column="0"> 25 <widget class="QLabel" name="label"> 26 <property name="text"> 31 27 <string>Actions</string> 32 28 </property> 33 29 </widget> 34 30 </item> 35 <item row="0" column="1" colspan="2" > 36 <layout class="QHBoxLayout" > 37 <property name="margin" > 31 <item row="0" column="1" colspan="2"> 32 <layout class="QHBoxLayout"> 33 <property name="spacing"> 34 <number>6</number> 35 </property> 36 <property name="margin"> 38 37 <number>0</number> 39 38 </property> 40 <property name="spacing" >41 <number>6</number>42 </property>43 39 <item> 44 <widget class="QLabel" name="label_2" 45 <property name="text" 40 <widget class="QLabel" name="label_2"> 41 <property name="text"> 46 42 <string>Toolbars</string> 47 43 </property> … … 49 45 </item> 50 46 <item> 51 <widget class="QToolButton" name="newButton" 52 <property name="text" 47 <widget class="QToolButton" name="newButton"> 48 <property name="text"> 53 49 <string>New</string> 54 50 </property> … … 56 52 </item> 57 53 <item> 58 <widget class="QToolButton" name="removeButton" 59 <property name="text" 54 <widget class="QToolButton" name="removeButton"> 55 <property name="text"> 60 56 <string>Remove</string> 61 57 </property> … … 63 59 </item> 64 60 <item> 65 <widget class="QToolButton" name="renameButton" 66 <property name="text" 61 <widget class="QToolButton" name="renameButton"> 62 <property name="text"> 67 63 <string>Rename</string> 68 64 </property> … … 71 67 </layout> 72 68 </item> 73 <item row="4" column="0" colspan="3" > 74 <layout class="QHBoxLayout" > 75 <property name="margin" > 69 <item row="3" column="1"> 70 <layout class="QVBoxLayout"> 71 <property name="spacing"> 72 <number>6</number> 73 </property> 74 <property name="margin"> 76 75 <number>0</number> 77 76 </property> 78 <property name="spacing" >79 <number>6</number>80 </property>81 77 <item> 82 <widget class="QPushButton" name="defaultButton" > 83 <property name="text" > 84 <string>Restore All</string> 85 </property> 86 </widget> 87 </item> 88 <item> 89 <spacer> 90 <property name="orientation" > 91 <enum>Qt::Horizontal</enum> 92 </property> 93 <property name="sizeHint" > 94 <size> 95 <width>61</width> 96 <height>31</height> 97 </size> 98 </property> 99 </spacer> 100 </item> 101 <item> 102 <widget class="QPushButton" name="okButton" > 103 <property name="text" > 104 <string>OK</string> 105 </property> 106 </widget> 107 </item> 108 <item> 109 <widget class="QPushButton" name="applyButton" > 110 <property name="text" > 111 <string>Apply</string> 112 </property> 113 </widget> 114 </item> 115 <item> 116 <widget class="QPushButton" name="cancelButton" > 117 <property name="text" > 118 <string>Cancel</string> 119 </property> 120 </widget> 121 </item> 122 </layout> 123 </item> 124 <item row="3" column="1" > 125 <layout class="QVBoxLayout" > 126 <property name="margin" > 127 <number>0</number> 128 </property> 129 <property name="spacing" > 130 <number>6</number> 131 </property> 132 <item> 133 <widget class="QToolButton" name="upButton" > 134 <property name="sizePolicy" > 135 <sizepolicy> 136 <hsizetype>1</hsizetype> 137 <vsizetype>0</vsizetype> 78 <widget class="QToolButton" name="upButton"> 79 <property name="sizePolicy"> 80 <sizepolicy hsizetype="Minimum" vsizetype="Fixed"> 138 81 <horstretch>0</horstretch> 139 82 <verstretch>0</verstretch> 140 83 </sizepolicy> 141 84 </property> 142 <property name="text" 85 <property name="text"> 143 86 <string>Up</string> 144 87 </property> … … 146 89 </item> 147 90 <item> 148 <widget class="QToolButton" name="leftButton" > 149 <property name="sizePolicy" > 150 <sizepolicy> 151 <hsizetype>1</hsizetype> 152 <vsizetype>0</vsizetype> 91 <widget class="QToolButton" name="leftButton"> 92 <property name="sizePolicy"> 93 <sizepolicy hsizetype="Minimum" vsizetype="Fixed"> 153 94 <horstretch>0</horstretch> 154 95 <verstretch>0</verstretch> 155 96 </sizepolicy> 156 97 </property> 157 <property name="text" 98 <property name="text"> 158 99 <string><-</string> 159 100 </property> … … 161 102 </item> 162 103 <item> 163 <widget class="QToolButton" name="rightButton" > 164 <property name="sizePolicy" > 165 <sizepolicy> 166 <hsizetype>1</hsizetype> 167 <vsizetype>0</vsizetype> 104 <widget class="QToolButton" name="rightButton"> 105 <property name="sizePolicy"> 106 <sizepolicy hsizetype="Minimum" vsizetype="Fixed"> 168 107 <horstretch>0</horstretch> 169 108 <verstretch>0</verstretch> 170 109 </sizepolicy> 171 110 </property> 172 <property name="text" 173 <string>- ></string>111 <property name="text"> 112 <string>-></string> 174 113 </property> 175 114 </widget> 176 115 </item> 177 116 <item> 178 <widget class="QToolButton" name="downButton" > 179 <property name="sizePolicy" > 180 <sizepolicy> 181 <hsizetype>1</hsizetype> 182 <vsizetype>0</vsizetype> 117 <widget class="QToolButton" name="downButton"> 118 <property name="sizePolicy"> 119 <sizepolicy hsizetype="Minimum" vsizetype="Fixed"> 183 120 <horstretch>0</horstretch> 184 121 <verstretch>0</verstretch> 185 122 </sizepolicy> 186 123 </property> 187 <property name="text" 124 <property name="text"> 188 125 <string>Down</string> 189 126 </property> … … 192 129 <item> 193 130 <spacer> 194 <property name="orientation" 131 <property name="orientation"> 195 132 <enum>Qt::Vertical</enum> 196 133 </property> 197 <property name="sizeHint" >134 <property name="sizeHint" stdset="0"> 198 135 <size> 199 136 <width>29</width> … … 205 142 </layout> 206 143 </item> 207 <item row="3" column="2" 208 <widget class="QListWidget" name="currentToolBarList" 144 <item row="3" column="2"> 145 <widget class="QListWidget" name="currentToolBarList"/> 209 146 </item> 210 <item row="2" column="1" colspan="2" 211 <widget class="QLabel" name="label_3" 212 <property name="text" 147 <item row="2" column="1" colspan="2"> 148 <widget class="QLabel" name="label_3"> 149 <property name="text"> 213 150 <string>Current Toolbar Actions</string> 214 151 </property> 215 152 </widget> 216 153 </item> 217 <item row="1" column="1" colspan="2" > 218 <widget class="QListWidget" name="toolBarList" /> 154 <item row="1" column="1" colspan="2"> 155 <widget class="QListWidget" name="toolBarList"/> 156 </item> 157 <item row="4" column="0" colspan="3"> 158 <widget class="QDialogButtonBox" name="buttonBox"> 159 <property name="standardButtons"> 160 <set>QDialogButtonBox::Apply|QDialogButtonBox::Close|QDialogButtonBox::RestoreDefaults|QDialogButtonBox::Save</set> 161 </property> 162 </widget> 219 163 </item> 220 164 </layout> 221 165 </widget> 222 <pixmapfunction></pixmapfunction>223 166 <tabstops> 224 167 <tabstop>newButton</tabstop> … … 231 174 <tabstop>downButton</tabstop> 232 175 <tabstop>currentToolBarList</tabstop> 233 <tabstop>defaultButton</tabstop>234 <tabstop>okButton</tabstop>235 <tabstop>applyButton</tabstop>236 <tabstop>cancelButton</tabstop>237 176 </tabstops> 238 177 <resources/> -
trunk/src/globals.h
r117 r118 35 35 #include <QtSvg> 36 36 #endif // NOSVG && QT_VERSION >= 0x040500 37 #include <QtToolBarDialog> 37 38 #if defined(Q_OS_WINCE_WM) || defined(Q_OS_SYMBIAN) 39 //! This is defined on handheld devices (e.g., Windows Mobile, Symbian). 40 #define HANDHELD 41 #endif 42 43 #ifndef HANDHELD 44 #include <QtToolBarDialog> 45 #endif 38 46 39 47 // Version info … … 111 119 #endif // Q_OS_WIN32 112 120 113 #if defined(Q_OS_WINCE_WM) || defined(Q_OS_SYMBIAN)114 //! This is defined on handheld (e.g., Windows Mobile, Symbian) devices.115 #define HANDHELD116 #endif117 118 121 // Sanity checks 119 122 // Check that default number of cities is sane (<= MAX_NUM_CITIES) -
trunk/src/mainwindow.cpp
r117 r118 68 68 connect(actionFilePrint, SIGNAL(triggered()), SLOT(actionFilePrintTriggered())); 69 69 #endif // QT_NO_PRINTER 70 #ifndef HANDHELD 71 connect(actionSettingsToolbarsConfigure, SIGNAL(triggered()), SLOT(actionSettingsToolbarsConfigureTriggered())); 72 #endif // HANDHELD 70 73 connect(actionSettingsPreferences, SIGNAL(triggered()), SLOT(actionSettingsPreferencesTriggered())); 71 74 #ifdef Q_OS_WIN32 … … 395 398 } 396 399 400 #ifndef HANDHELD 401 void MainWindow::actionSettingsToolbarsConfigureTriggered() 402 { 403 QtToolBarDialog dlg(this); 404 dlg.setToolBarManager(toolBarManager); 405 dlg.exec(); 406 QToolButton *tb = static_cast<QToolButton *>(toolBarMain->widgetForAction(actionFileSave)); 407 if (tb != NULL) { 408 tb->setMenu(menuFileSaveAs); 409 tb->setPopupMode(QToolButton::MenuButtonPopup); 410 tb->resize(tb->sizeHint()); 411 } 412 413 loadToolbarList(); 414 } 415 #endif // HANDHELD 416 397 417 #ifdef Q_OS_WIN32 398 418 void MainWindow::actionHelpCheck4UpdatesTriggered() … … 423 443 #else 424 444 title += QString("<b><a href=\"http://tspsg.sourceforge.net/\">http://tspsg.sf.net/</a></b>"); 425 #endif // Q_OS_WINCE_WM && Q_OS_SYMBIAN445 #endif // HANDHELD 426 446 427 447 QString about; … … 825 845 826 846 // Saving Main Window state 847 #ifndef HANDHELD 827 848 if (settings->value("SavePos", DEF_SAVEPOS).toBool()) { 828 849 settings->beginGroup("MainWindow"); 829 #ifndef HANDHELD830 850 settings->setValue("Geometry", saveGeometry()); 831 #endif // HANDHELD832 851 settings->setValue("State", saveState()); 852 settings->setValue("Toolbars", toolBarManager->saveState()); 833 853 settings->endGroup(); 834 854 } 855 #endif // HANDHELD 835 856 } else { 836 857 settings->remove("SettingsReset"); … … 1060 1081 } 1061 1082 1083 void MainWindow::loadToolbarList() 1084 { 1085 menuSettingsToolbars->clear(); 1086 #ifndef HANDHELD 1087 menuSettingsToolbars->insertAction(NULL, actionSettingsToolbarsConfigure); 1088 menuSettingsToolbars->addSeparator(); 1089 QList<QToolBar *> list = toolBarManager->toolBars(); 1090 foreach (QToolBar *t, list) { 1091 menuSettingsToolbars->insertAction(NULL, t->toggleViewAction()); 1092 } 1093 #else // HANDHELD 1094 menuSettingsToolbars->insertAction(NULL, toolBarMain->toggleViewAction()); 1095 #endif // HANDHELD 1096 } 1097 1062 1098 bool MainWindow::maybeSave() 1063 1099 { … … 1128 1164 1129 1165 loadStyleList(); 1130 1131 actionSettingsLanguageEnglish->setStatusTip(tr("Set application language to %1").arg("English")); 1166 loadToolbarList(); 1167 1168 #ifndef HANDHELD 1169 actionSettingsToolbarsConfigure->setText(tr("Configure...")); 1170 actionSettingsToolbarsConfigure->setToolTip(tr("Customize toolbars")); 1171 #endif // HANDHELD 1132 1172 1133 1173 #ifndef QT_NO_PRINTER 1134 actionFilePrintPreview->setText( QApplication::translate("MainWindow", "P&rint Preview...", 0, QApplication::UnicodeUTF8));1174 actionFilePrintPreview->setText(tr("P&rint Preview...")); 1135 1175 #ifndef QT_NO_TOOLTIP 1136 actionFilePrintPreview->setToolTip( QApplication::translate("MainWindow", "Preview solution results", 0, QApplication::UnicodeUTF8));1176 actionFilePrintPreview->setToolTip(tr("Preview solution results")); 1137 1177 #endif // QT_NO_TOOLTIP 1138 1178 #ifndef QT_NO_STATUSTIP 1139 actionFilePrintPreview->setStatusTip( QApplication::translate("MainWindow", "Preview current solution results before printing", 0, QApplication::UnicodeUTF8));1179 actionFilePrintPreview->setStatusTip(tr("Preview current solution results before printing")); 1140 1180 #endif // QT_NO_STATUSTIP 1141 1181 1142 actionFilePrint->setText( QApplication::translate("MainWindow", "&Print...", 0, QApplication::UnicodeUTF8));1182 actionFilePrint->setText(tr("&Print...")); 1143 1183 #ifndef QT_NO_TOOLTIP 1144 actionFilePrint->setToolTip( QApplication::translate("MainWindow", "Print solution", 0, QApplication::UnicodeUTF8));1184 actionFilePrint->setToolTip(tr("Print solution")); 1145 1185 #endif // QT_NO_TOOLTIP 1146 1186 #ifndef QT_NO_STATUSTIP 1147 actionFilePrint->setStatusTip( QApplication::translate("MainWindow", "Print current solution results", 0, QApplication::UnicodeUTF8));1187 actionFilePrint->setStatusTip(tr("Print current solution results")); 1148 1188 #endif // QT_NO_STATUSTIP 1149 actionFilePrint->setShortcut( QApplication::translate("MainWindow", "Ctrl+P", 0, QApplication::UnicodeUTF8));1189 actionFilePrint->setShortcut(tr("Ctrl+P")); 1150 1190 #endif // QT_NO_PRINTER 1151 1191 #ifdef Q_OS_WIN32 … … 1217 1257 //! \hack HACK: A little hack for toolbar icons to have a sane size. 1218 1258 #ifdef HANDHELD 1219 toolBar->setIconSize(QSize(logicalDpiX() / 4, logicalDpiY() / 4)); 1220 #endif // HANDHELD 1221 static_cast<QToolButton *>(toolBar->widgetForAction(actionFileSave))->setMenu(menuFileSaveAs); 1222 static_cast<QToolButton *>(toolBar->widgetForAction(actionFileSave))->setPopupMode(QToolButton::MenuButtonPopup); 1259 toolBarMain->setIconSize(QSize(logicalDpiX() / 4, logicalDpiY() / 4)); 1260 #endif // HANDHELD 1261 QToolButton *tb = static_cast<QToolButton *>(toolBarMain->widgetForAction(actionFileSave)); 1262 if (tb != NULL) { 1263 tb->setMenu(menuFileSaveAs); 1264 tb->setPopupMode(QToolButton::MenuButtonPopup); 1265 } 1223 1266 1224 1267 solutionText->document()->setDefaultFont(settings->value("Output/Font", QFont(DEF_FONT_FAMILY, DEF_FONT_SIZE)).value<QFont>()); … … 1240 1283 menuFile->insertSeparator(actionFileExit); 1241 1284 1242 toolBar ->insertAction(actionSettingsPreferences,actionFilePrint);1285 toolBarMain->insertAction(actionSettingsPreferences, actionFilePrint); 1243 1286 #endif // QT_NO_PRINTER 1244 1245 menuSettings->insertAction(actionSettingsPreferences, toolBar->toggleViewAction());1246 menuSettings->insertSeparator(actionSettingsPreferences);1247 1287 1248 1288 groupSettingsLanguageList = new QActionGroup(this); … … 1254 1294 actionSettingsStyleSystem->setData(true); 1255 1295 groupSettingsStyleList = new QActionGroup(this); 1296 1297 #ifndef HANDHELD 1298 actionSettingsToolbarsConfigure = new QAction(this); 1299 actionSettingsToolbarsConfigure->setIcon(QIcon(":/images/icons/configure-toolbars.png")); 1300 #endif // HANDHELD 1256 1301 1257 1302 #ifdef Q_OS_WIN32 … … 1265 1310 spinCities->setMaximum(MAX_NUM_CITIES); 1266 1311 1267 retranslateUi(false);1268 1269 #ifdef Q_OS_WIN321270 // Adding some eyecandy in Vista and 7 :-)1271 if (QtWin::isCompositionEnabled() && settings->value("UseTranslucency", DEF_USE_TRANSLUCENCY).toBool()) {1272 toggleTranclucency(true);1273 }1274 #endif // Q_OS_WIN321275 1276 1312 #ifndef HANDHELD 1277 1313 toolBarManager = new QtToolBarManager; 1278 1314 toolBarManager->setMainWindow(this); 1279 QString cat = toolBar ->windowTitle();1280 toolBarManager->addToolBar(toolBar , cat);1315 QString cat = toolBarMain->windowTitle(); 1316 toolBarManager->addToolBar(toolBarMain, cat); 1281 1317 #ifndef QT_NO_PRINTER 1282 1318 toolBarManager->addAction(actionFilePrintPreview, cat); … … 1285 1321 toolBarManager->addAction(actionHelpContextual, cat); 1286 1322 // toolBarManager->addAction(action, cat); 1287 #endif // HANDHELD 1323 toolBarManager->restoreState(settings->value("MainWindow/Toolbars").toByteArray()); 1324 #endif // HANDHELD 1325 1326 retranslateUi(false); 1327 1328 #ifdef Q_OS_WIN32 1329 // Adding some eyecandy in Vista and 7 :-) 1330 if (QtWin::isCompositionEnabled() && settings->value("UseTranslucency", DEF_USE_TRANSLUCENCY).toBool()) { 1331 toggleTranclucency(true); 1332 } 1333 #endif // Q_OS_WIN32 1288 1334 } 1289 1335 … … 1311 1357 #endif // Q_OS_WIN32 1312 1358 } 1313 1314 #ifndef HANDHELD1315 void MainWindow::on_actionSettingsToolbars_triggered()1316 {1317 QtToolBarDialog dlg(this);1318 dlg.setToolBarManager(toolBarManager);1319 dlg.exec();1320 }1321 #endif // HANDHELD -
trunk/src/mainwindow.h
r117 r118 63 63 void actionSettingsPreferencesTriggered(); 64 64 void actionSettingsLanguageAutodetectTriggered(bool checked); 65 #ifndef HANDHELD66 void on_actionSettingsToolbars_triggered();67 #endif // HANDHELD68 65 void groupSettingsLanguageListTriggered(QAction *action); 69 66 void actionSettingsStyleSystemTriggered(bool checked); 70 67 void groupSettingsStyleListTriggered(QAction *action); 68 #ifndef HANDHELD 69 void actionSettingsToolbarsConfigureTriggered(); 70 #endif // HANDHELD 71 71 #ifdef Q_OS_WIN32 72 72 void actionHelpCheck4UpdatesTriggered(); … … 95 95 QActionGroup *groupSettingsStyleList; 96 96 #ifndef HANDHELD 97 QAction *actionSettingsToolbarsConfigure; 97 98 QtToolBarManager *toolBarManager; 98 99 #endif // HANDHELD … … 132 133 bool loadLanguage(const QString &lang = QString()); 133 134 void loadStyleList(); 135 void loadToolbarList(); 134 136 bool maybeSave(); 135 137 void outputMatrix(QTextCursor &cur, const TMatrix &matrix); -
trunk/src/version.h
r116 r118 57 57 #else 58 58 #if !defined(TSPSG_RELEASE_BUILD) 59 #define BUILD_STATUS ( devbuild)59 #define BUILD_STATUS (nightly build) 60 60 #elif !defined(BUILD_STATUS) 61 61 #define BUILD_STATUS (build BUILD_NUMBER)
Note: See TracChangeset
for help on using the changeset viewer.