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


Ignore:
Timestamp:
Feb 23, 2010, 9:21:44 PM (15 years ago)
Author:
laleppa
Message:

+ Some Windows Vista and Windows 7 eyecandy with translucent windows thanks to http://labs.trolltech.com/blogs/2009/09/15/using-blur-behind-on-windows/ :-)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/settingsdialog.h

    r87 r92  
    4444        bool colorChanged() const;
    4545        bool fontChanged() const;
     46        qint8 translucencyChanged() const;
    4647
    4748private:
     49        bool _newFont;
     50        bool _newColor;
     51        qint8 _translucency;
     52
    4853        QColor color;
    4954        QFont font;
    50         bool newFont;
    51         bool newColor;
     55
    5256        QSettings *settings;
    5357        QHBoxLayout *layoutCitiesLimit;
     58#ifdef Q_OS_WIN32
     59        QCheckBox *cbUseTranslucency;
     60#endif // Q_OS_WIN32
    5461#ifndef Q_OS_WINCE
    5562        QCheckBox *cbSaveState;
     
    5966
    6067        bool event(QEvent *ev);
    61 #endif // Q_OS_WINCE
     68#endif
    6269
    6370private slots:
Note: See TracChangeset for help on using the changeset viewer.