Changeset 4ccf855df8 in tspsg for src/mainwindow.h


Ignore:
Timestamp:
Dec 22, 2009, 8:56:21 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:
f1fb54b9f7
Parents:
3bcb7e8910
Message:

+ Added Wait Cursor on city number change, because it can take some time (e.g. when changing from 5 to 50 cities).

  • Moved platform specific action definitions from .ui to source.
  • Changed random generation to include defined maximum (it was up to maximum previously).
  • Reverted from native to Qt open/save file dialog under WinCE, because it is more convenient than the native one.
  • English translation is now always loaded at application start before any other language is loaded. This is done to support plurals and some special characters that Qt translation system doesn't "like".
  • Updated translations to reflect recent changes.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mainwindow.h

    r3bcb7e8910 r4ccf855df8  
    4747public:
    4848        MainWindow(QWidget *parent = 0);
     49        ~MainWindow();
    4950
    5051private slots:
     
    8283#ifndef QT_NO_PRINTER
    8384        QPrinter *printer;
     85        QAction *actionFilePrintPreview;
     86        QAction *actionFilePrint;
    8487#endif // QT_NO_PRINTER
    8588        QSettings *settings;
     
    9396        void outputMatrix(const TMatrix &matrix, QStringList &output);
    9497        void outputMatrix(const SStep &step, QStringList &output);
     98        void retranslateUi(bool all = true);
    9599        bool saveTask();
    96100        void setFileName(const QString &fileName = trUtf8("Untitled") + ".tspt");
     101        void setupUi();
    97102        void toggleSolutionActions(bool enable = true);
    98103};
Note: See TracChangeset for help on using the changeset viewer.