diff options
author | Kevin Smith <git@kismith.co.uk> | 2009-06-15 20:20:13 (GMT) |
---|---|---|
committer | Kevin Smith <git@kismith.co.uk> | 2009-06-15 20:20:13 (GMT) |
commit | d490e74fbca3e4ab4a75123dd75dab3bc753c010 (patch) | |
tree | efcad5dabeebf4766dc15dc787b9ba9ba1c2aecb /Swift/QtUI/QtChatTabs.h | |
parent | 9bc8ddaf40d73647944592385bf56ece41046846 (diff) | |
download | swift-contrib-d490e74fbca3e4ab4a75123dd75dab3bc753c010.zip swift-contrib-d490e74fbca3e4ab4a75123dd75dab3bc753c010.tar.bz2 |
Early pass at tabs. Doesn't do closing or title updating
Diffstat (limited to 'Swift/QtUI/QtChatTabs.h')
-rw-r--r-- | Swift/QtUI/QtChatTabs.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/Swift/QtUI/QtChatTabs.h b/Swift/QtUI/QtChatTabs.h new file mode 100644 index 0000000..6da166d --- /dev/null +++ b/Swift/QtUI/QtChatTabs.h @@ -0,0 +1,21 @@ +#pragma once + +#include <QWidget> + +class QTabWidget; + +namespace Swift { + class QtChatTabs : public QWidget { + Q_OBJECT + public: + QtChatTabs(); + void addTab(QWidget* tab); + + private slots: + void tabClosing(); + + private: + QTabWidget* tabs_; + }; +} + |