Changeset 21 in tspsg-svn for trunk/src/settingsdialog.h


Ignore:
Timestamp:
Jun 22, 2009, 1:37:12 AM (15 years ago)
Author:
laleppa
Message:

+ Settings are now saved and restored.
+ Font color selection in settings.
+ Primitive about dialog.
+ Automatic resizing of cells to its contents in wince.

  • No "Save window position" checkbox in wince.
Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

    • Property svn:ignore
      •  

        old new  
        11*.idb
         2*.ini
        23*.ncb
        34*.pdb
  • trunk/src/settingsdialog.h

    r17 r21  
    2626
    2727#include <QDialog>
     28#include <QSettings>
    2829#ifdef Q_OS_WINCE
    2930        #include "ui_settingsdialog.ce.h"
     
    3940
    4041private:
    41 #ifndef WINCE
     42        QSettings *settings;
     43        QFont font;
     44        QColor color;
     45#ifndef Q_OS_WINCE
    4246        bool event(QEvent *);
    4347#endif
    4448
    4549private slots:
     50        void accept();
    4651        void spinRandMinValueChanged(int val) { spinRandMax->setMinimum(val + 1); }
    4752        void buttonFontClicked();
     53        void buttonColorClicked();
    4854};
    4955
Note: See TracChangeset for help on using the changeset viewer.