author | sandman <sandman> | 2002-09-12 01:54:38 (UTC) |
---|---|---|
committer | sandman <sandman> | 2002-09-12 01:54:38 (UTC) |
commit | 5443baf95c52ed0ead459fec48cb877d71a0e427 (patch) (side-by-side diff) | |
tree | 80718baad2fda769200ef442bcd7bf4e86ba9c82 /core/settings/launcher/tabssettings.h | |
parent | b35aa16e051554783b30f1551ad7677e382cc823 (diff) | |
download | opie-5443baf95c52ed0ead459fec48cb877d71a0e427.zip opie-5443baf95c52ed0ead459fec48cb877d71a0e427.tar.gz opie-5443baf95c52ed0ead459fec48cb877d71a0e427.tar.bz2 |
New launcher/taskbar settings (merge from QPE 1.6 - reworked)
Diffstat (limited to 'core/settings/launcher/tabssettings.h') (more/less context) (show whitespace changes)
-rw-r--r-- | core/settings/launcher/tabssettings.h | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/core/settings/launcher/tabssettings.h b/core/settings/launcher/tabssettings.h new file mode 100644 index 0000000..17b6e25 --- a/dev/null +++ b/core/settings/launcher/tabssettings.h @@ -0,0 +1,52 @@ +#ifndef __TABS_SETTINGS_H__ +#define __TABS_SETTINGS_H__ + +#include <qwidget.h> +#include <qmap.h> + +class QListView; + + +class TabsSettings : public QWidget { + Q_OBJECT + +public: + TabsSettings ( QWidget *parent = 0, const char *name = 0 ); + + void accept ( ); + + enum ViewMode { + Icon, + List + }; + enum BackgroundType { + Ruled, + SolidColor, + Image + }; + struct TabSettings { + ViewMode m_view; + BackgroundType m_bg_type; + QString m_bg_image; + QString m_bg_color; + QString m_text_color; + QString m_font_family; + int m_font_size; + bool m_changed; + }; + +protected: + void init ( ); + void readTabSettings ( ); + +private: + QListView *m_list; +// QString currentTab; + QStringList m_ids; + QMap <QString, TabSettings> m_tabs; +}; + + + + +#endif |