home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / qt3_emx.zip / examples / themes / themes.h < prev    next >
C/C++ Source or Header  |  2001-10-11  |  1KB  |  52 lines

  1. /****************************************************************************
  2. ** $Id:  qt/themes.h   3.0.0   edited Jun 22 13:24 $
  3. **
  4. ** Copyright (C) 1992-2000 Trolltech AS.  All rights reserved.
  5. **
  6. ** This file is part of an example program for Qt.  This example
  7. ** program may be used, distributed and modified without limitation.
  8. **
  9. *****************************************************************************/
  10.  
  11. #ifndef THEMES_H
  12. #define THEMES_H
  13.  
  14. #include <qmainwindow.h>
  15. #include <qfont.h>
  16.  
  17. class QTabWidget;
  18.  
  19. class Themes: public QMainWindow
  20. {
  21.     Q_OBJECT
  22.  
  23. public:
  24.     Themes( QWidget *parent = 0, const char *name = 0, WFlags f = WType_TopLevel );
  25.  
  26. protected:
  27.     QTabWidget *tabwidget;
  28.  
  29.     int sWood, sMetal, sPlatinum, sWindows, sCDE, sMotif, sMotifPlus;
  30.  
  31. protected slots:
  32.     void styleWood();
  33.     void styleMetal();
  34.     void stylePlatinum();
  35.     void styleWindows();
  36.     void styleCDE();
  37.     void styleMotif();
  38.     void styleMotifPlus();
  39.  
  40.     void about();
  41.     void aboutQt();
  42.  
  43. private:
  44.     void selectStyleMenu( int );
  45.  
  46.     QFont appFont;
  47.  
  48. };
  49.  
  50.  
  51. #endif
  52.