Changeset 317ba0432e in tspsg for src/mainwindow.h


Ignore:
Timestamp:
Apr 19, 2010, 10:33:02 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:
b574c383b7
Parents:
a23f4c292f
git-author:
Oleksii Serdiuk <contacts@…> (04/19/10 22:33:02)
git-committer:
Oleksii Serdiuk <contacts@…> (06/29/12 19:41:27)
Message:
  • Improved the solution output generation algorithm. Now it works directly with QTextDocument instead of "feeding" it with HTML. Thanks to this the solution output generation is now about 1.65 times faster.
  • Added .txt extension to ChangeLog?, INSTALL and README files to simplify opening these files in Windows.
  • Made a small improvement to Settings Dialog to follow the current application palette.
  • Output text color if not set is now determmined based on the current application palette.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mainwindow.h

    ra23f4c292f r317ba0432e  
    101101#endif // Q_OS_WINCE_WM
    102102
     103        // Formats
     104        QTextTableFormat fmt_table;
     105        QTextBlockFormat fmt_paragraph,
     106                fmt_center;
     107        QTextCharFormat fmt_default,
     108                fmt_selected,
     109                fmt_alternate,
     110                fmt_altlist;
     111
    103112        void closeEvent(QCloseEvent *ev);
    104113        bool hasUpdater() const;
     
    107116        bool loadLanguage(const QString &lang = QString());
    108117        bool maybeSave();
    109         QString outputMatrix(const TMatrix &matrix) const;
    110         QString outputMatrix(const SStep &step) const;
     118        void outputMatrix(QTextCursor &cur, const TMatrix &matrix);
     119        void outputMatrix(QTextCursor &cur, const SStep &step);
    111120        void retranslateUi(bool all = true);
    112121        bool saveTask();
Note: See TracChangeset for help on using the changeset viewer.