Changeset 7bb19df196 in tspsg for src


Ignore:
Timestamp:
May 2, 2010, 11:59:26 PM (14 years ago)
Author:
Oleksii Serdiuk
Branches:
0.1.3.145-beta1-symbian, 0.1.4.170-beta2-bb10, appveyor, imgbot, master, readme
Children:
8b0661d1ee
Parents:
94cd045fad
git-author:
Oleksii Serdiuk <contacts@…> (05/02/10 23:59:26)
git-committer:
Oleksii Serdiuk <contacts@…> (06/29/12 19:41:43)
Message:

Finished toolbar customization feature.
It is not available on handheld devices (mainly, because the customization dialog is too big for a small screen).

Location:
src
Files:
6 deleted
8 edited
5 moved

Legend:

Unmodified
Added
Removed
  • src/3rdparty/qttoolbardialog-2.2_1-opensource/src/qttoolbardialog.cpp

    r94cd045fad r7bb19df196  
    18211821    connect(d_ptr->ui.removeButton, SIGNAL(clicked()), this, SLOT(removeClicked()));
    18221822    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()));
    18271827    connect(d_ptr->ui.upButton, SIGNAL(clicked()), this, SLOT(upClicked()));
    18281828    connect(d_ptr->ui.downButton, SIGNAL(clicked()), this, SLOT(downClicked()));
  • src/3rdparty/qttoolbardialog-2.2_1-opensource/src/qttoolbardialog.pri

    r94cd045fad r7bb19df196  
    99    HEADERS += $$PWD/qttoolbardialog.h
    1010    FORMS += $$PWD/qttoolbardialog.ui
    11 #    RESOURCES += $$PWD/qttoolbardialog.qrc
     11    RESOURCES += $$PWD/qttoolbardialog.qrc
    1212}
    1313
  • src/3rdparty/qttoolbardialog-2.2_1-opensource/src/qttoolbardialog.qrc

    r94cd045fad r7bb19df196  
    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>
    98    </qresource>
    109</RCC>
  • src/3rdparty/qttoolbardialog-2.2_1-opensource/src/qttoolbardialog.ui

    r94cd045fad r7bb19df196  
    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">
    53 <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">
    166   <string>Customize Toolbars</string>
    177  </property>
    18   <layout class="QGridLayout" >
    19    <property name="margin" >
     8  <layout class="QGridLayout">
     9   <property name="margin">
    2010    <number>8</number>
    2111   </property>
    22    <property name="spacing" >
     12   <property name="spacing">
    2313    <number>6</number>
    2414   </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>
    2723   </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">
    3127      <string>Actions</string>
    3228     </property>
    3329    </widget>
    3430   </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">
    3837      <number>0</number>
    3938     </property>
    40      <property name="spacing" >
    41       <number>6</number>
    42      </property>
    4339     <item>
    44       <widget class="QLabel" name="label_2" >
    45        <property name="text" >
     40      <widget class="QLabel" name="label_2">
     41       <property name="text">
    4642        <string>Toolbars</string>
    4743       </property>
     
    4945     </item>
    5046     <item>
    51       <widget class="QToolButton" name="newButton" >
    52        <property name="text" >
     47      <widget class="QToolButton" name="newButton">
     48       <property name="text">
    5349        <string>New</string>
    5450       </property>
     
    5652     </item>
    5753     <item>
    58       <widget class="QToolButton" name="removeButton" >
    59        <property name="text" >
     54      <widget class="QToolButton" name="removeButton">
     55       <property name="text">
    6056        <string>Remove</string>
    6157       </property>
     
    6359     </item>
    6460     <item>
    65       <widget class="QToolButton" name="renameButton" >
    66        <property name="text" >
     61      <widget class="QToolButton" name="renameButton">
     62       <property name="text">
    6763        <string>Rename</string>
    6864       </property>
     
    7167    </layout>
    7268   </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">
    7675      <number>0</number>
    7776     </property>
    78      <property name="spacing" >
    79       <number>6</number>
    80      </property>
    8177     <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">
    13881         <horstretch>0</horstretch>
    13982         <verstretch>0</verstretch>
    14083        </sizepolicy>
    14184       </property>
    142        <property name="text" >
     85       <property name="text">
    14386        <string>Up</string>
    14487       </property>
     
    14689     </item>
    14790     <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">
    15394         <horstretch>0</horstretch>
    15495         <verstretch>0</verstretch>
    15596        </sizepolicy>
    15697       </property>
    157        <property name="text" >
     98       <property name="text">
    15899        <string>&lt;-</string>
    159100       </property>
     
    161102     </item>
    162103     <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">
    168107         <horstretch>0</horstretch>
    169108         <verstretch>0</verstretch>
    170109        </sizepolicy>
    171110       </property>
    172        <property name="text" >
    173         <string>-></string>
     111       <property name="text">
     112        <string>-&gt;</string>
    174113       </property>
    175114      </widget>
    176115     </item>
    177116     <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">
    183120         <horstretch>0</horstretch>
    184121         <verstretch>0</verstretch>
    185122        </sizepolicy>
    186123       </property>
    187        <property name="text" >
     124       <property name="text">
    188125        <string>Down</string>
    189126       </property>
     
    192129     <item>
    193130      <spacer>
    194        <property name="orientation" >
     131       <property name="orientation">
    195132        <enum>Qt::Vertical</enum>
    196133       </property>
    197        <property name="sizeHint" >
     134       <property name="sizeHint" stdset="0">
    198135        <size>
    199136         <width>29</width>
     
    205142    </layout>
    206143   </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"/>
    209146   </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">
    213150      <string>Current Toolbar Actions</string>
    214151     </property>
    215152    </widget>
    216153   </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>
    219163   </item>
    220164  </layout>
    221165 </widget>
    222  <pixmapfunction></pixmapfunction>
    223166 <tabstops>
    224167  <tabstop>newButton</tabstop>
     
    231174  <tabstop>downButton</tabstop>
    232175  <tabstop>currentToolBarList</tabstop>
    233   <tabstop>defaultButton</tabstop>
    234   <tabstop>okButton</tabstop>
    235   <tabstop>applyButton</tabstop>
    236   <tabstop>cancelButton</tabstop>
    237176 </tabstops>
    238177 <resources/>
  • src/globals.h

    r94cd045fad r7bb19df196  
    3535        #include <QtSvg>
    3636#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
    3846
    3947// Version info
     
    111119#endif // Q_OS_WIN32
    112120
    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 HANDHELD
    116 #endif
    117 
    118121// Sanity checks
    119122// Check that default number of cities is sane (<= MAX_NUM_CITIES)
  • src/mainwindow.cpp

    r94cd045fad r7bb19df196  
    6868        connect(actionFilePrint, SIGNAL(triggered()), SLOT(actionFilePrintTriggered()));
    6969#endif // QT_NO_PRINTER
     70#ifndef HANDHELD
     71        connect(actionSettingsToolbarsConfigure, SIGNAL(triggered()), SLOT(actionSettingsToolbarsConfigureTriggered()));
     72#endif // HANDHELD
    7073        connect(actionSettingsPreferences, SIGNAL(triggered()), SLOT(actionSettingsPreferencesTriggered()));
    7174#ifdef Q_OS_WIN32
     
    395398}
    396399
     400#ifndef HANDHELD
     401void MainWindow::actionSettingsToolbarsConfigureTriggered()
     402{
     403QtToolBarDialog dlg(this);
     404        dlg.setToolBarManager(toolBarManager);
     405        dlg.exec();
     406QToolButton *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
    397417#ifdef Q_OS_WIN32
    398418void MainWindow::actionHelpCheck4UpdatesTriggered()
     
    423443#else
    424444        title += QString("<b><a href=\"http://tspsg.sourceforge.net/\">http://tspsg.sf.net/</a></b>");
    425 #endif // Q_OS_WINCE_WM && Q_OS_SYMBIAN
     445#endif // HANDHELD
    426446
    427447QString about;
     
    825845
    826846                // Saving Main Window state
     847#ifndef HANDHELD
    827848                if (settings->value("SavePos", DEF_SAVEPOS).toBool()) {
    828849                        settings->beginGroup("MainWindow");
    829 #ifndef HANDHELD
    830850                        settings->setValue("Geometry", saveGeometry());
    831 #endif // HANDHELD
    832851                        settings->setValue("State", saveState());
     852                        settings->setValue("Toolbars", toolBarManager->saveState());
    833853                        settings->endGroup();
    834854                }
     855#endif // HANDHELD
    835856        } else {
    836857                settings->remove("SettingsReset");
     
    10601081}
    10611082
     1083void MainWindow::loadToolbarList()
     1084{
     1085        menuSettingsToolbars->clear();
     1086#ifndef HANDHELD
     1087        menuSettingsToolbars->insertAction(NULL, actionSettingsToolbarsConfigure);
     1088        menuSettingsToolbars->addSeparator();
     1089QList<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
    10621098bool MainWindow::maybeSave()
    10631099{
     
    11281164
    11291165        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
    11321172
    11331173#ifndef QT_NO_PRINTER
    1134         actionFilePrintPreview->setText(QApplication::translate("MainWindow", "P&rint Preview...", 0, QApplication::UnicodeUTF8));
     1174        actionFilePrintPreview->setText(tr("P&rint Preview..."));
    11351175#ifndef QT_NO_TOOLTIP
    1136         actionFilePrintPreview->setToolTip(QApplication::translate("MainWindow", "Preview solution results", 0, QApplication::UnicodeUTF8));
     1176        actionFilePrintPreview->setToolTip(tr("Preview solution results"));
    11371177#endif // QT_NO_TOOLTIP
    11381178#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"));
    11401180#endif // QT_NO_STATUSTIP
    11411181
    1142         actionFilePrint->setText(QApplication::translate("MainWindow", "&Print...", 0, QApplication::UnicodeUTF8));
     1182        actionFilePrint->setText(tr("&Print..."));
    11431183#ifndef QT_NO_TOOLTIP
    1144         actionFilePrint->setToolTip(QApplication::translate("MainWindow", "Print solution", 0, QApplication::UnicodeUTF8));
     1184        actionFilePrint->setToolTip(tr("Print solution"));
    11451185#endif // QT_NO_TOOLTIP
    11461186#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"));
    11481188#endif // QT_NO_STATUSTIP
    1149         actionFilePrint->setShortcut(QApplication::translate("MainWindow", "Ctrl+P", 0, QApplication::UnicodeUTF8));
     1189        actionFilePrint->setShortcut(tr("Ctrl+P"));
    11501190#endif // QT_NO_PRINTER
    11511191#ifdef Q_OS_WIN32
     
    12171257        //! \hack HACK: A little hack for toolbar icons to have a sane size.
    12181258#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
     1261QToolButton *tb = static_cast<QToolButton *>(toolBarMain->widgetForAction(actionFileSave));
     1262        if (tb != NULL)  {
     1263                tb->setMenu(menuFileSaveAs);
     1264                tb->setPopupMode(QToolButton::MenuButtonPopup);
     1265        }
    12231266
    12241267        solutionText->document()->setDefaultFont(settings->value("Output/Font", QFont(DEF_FONT_FAMILY, DEF_FONT_SIZE)).value<QFont>());
     
    12401283        menuFile->insertSeparator(actionFileExit);
    12411284
    1242         toolBar->insertAction(actionSettingsPreferences,actionFilePrint);
     1285        toolBarMain->insertAction(actionSettingsPreferences, actionFilePrint);
    12431286#endif // QT_NO_PRINTER
    1244 
    1245         menuSettings->insertAction(actionSettingsPreferences, toolBar->toggleViewAction());
    1246         menuSettings->insertSeparator(actionSettingsPreferences);
    12471287
    12481288        groupSettingsLanguageList = new QActionGroup(this);
     
    12541294        actionSettingsStyleSystem->setData(true);
    12551295        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
    12561301
    12571302#ifdef Q_OS_WIN32
     
    12651310        spinCities->setMaximum(MAX_NUM_CITIES);
    12661311
    1267         retranslateUi(false);
    1268 
    1269 #ifdef Q_OS_WIN32
    1270         // 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_WIN32
    1275 
    12761312#ifndef HANDHELD
    12771313        toolBarManager = new QtToolBarManager;
    12781314        toolBarManager->setMainWindow(this);
    1279 QString cat = toolBar->windowTitle();
    1280         toolBarManager->addToolBar(toolBar, cat);
     1315QString cat = toolBarMain->windowTitle();
     1316        toolBarManager->addToolBar(toolBarMain, cat);
    12811317#ifndef QT_NO_PRINTER
    12821318        toolBarManager->addAction(actionFilePrintPreview, cat);
     
    12851321        toolBarManager->addAction(actionHelpContextual, cat);
    12861322//      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
    12881334}
    12891335
     
    13111357#endif // Q_OS_WIN32
    13121358}
    1313 
    1314 #ifndef HANDHELD
    1315 void MainWindow::on_actionSettingsToolbars_triggered()
    1316 {
    1317 QtToolBarDialog dlg(this);
    1318         dlg.setToolBarManager(toolBarManager);
    1319         dlg.exec();
    1320 }
    1321 #endif // HANDHELD
  • src/mainwindow.h

    r94cd045fad r7bb19df196  
    6363        void actionSettingsPreferencesTriggered();
    6464        void actionSettingsLanguageAutodetectTriggered(bool checked);
    65 #ifndef HANDHELD
    66         void on_actionSettingsToolbars_triggered();
    67 #endif // HANDHELD
    6865        void groupSettingsLanguageListTriggered(QAction *action);
    6966        void actionSettingsStyleSystemTriggered(bool checked);
    7067        void groupSettingsStyleListTriggered(QAction *action);
     68#ifndef HANDHELD
     69        void actionSettingsToolbarsConfigureTriggered();
     70#endif // HANDHELD
    7171#ifdef Q_OS_WIN32
    7272        void actionHelpCheck4UpdatesTriggered();
     
    9595        QActionGroup *groupSettingsStyleList;
    9696#ifndef HANDHELD
     97        QAction *actionSettingsToolbarsConfigure;
    9798        QtToolBarManager *toolBarManager;
    9899#endif // HANDHELD
     
    132133        bool loadLanguage(const QString &lang = QString());
    133134        void loadStyleList();
     135        void loadToolbarList();
    134136        bool maybeSave();
    135137        void outputMatrix(QTextCursor &cur, const TMatrix &matrix);
  • src/version.h

    r94cd045fad r7bb19df196  
    5757#else
    5858        #if !defined(TSPSG_RELEASE_BUILD)
    59                 #define BUILD_STATUS (dev build)
     59                #define BUILD_STATUS (nightly build)
    6060        #elif !defined(BUILD_STATUS)
    6161                #define BUILD_STATUS (build BUILD_NUMBER)
Note: See TracChangeset for help on using the changeset viewer.