summaryrefslogtreecommitdiff
path: root/noncore/settings/tabmanager/tabmainwindow.h
authorleseb <leseb>2002-07-08 14:58:34 (UTC)
committer leseb <leseb>2002-07-08 14:58:34 (UTC)
commit8b6a15ef84bc6b1c9c1a82689788c6e281780495 (patch) (side-by-side diff)
tree1d2c2f416aab46103d244a0b9d5b1c764c9f5452 /noncore/settings/tabmanager/tabmainwindow.h
parentc92049007eaf6615a059425073b03a827d11831e (diff)
downloadopie-8b6a15ef84bc6b1c9c1a82689788c6e281780495.zip
opie-8b6a15ef84bc6b1c9c1a82689788c6e281780495.tar.gz
opie-8b6a15ef84bc6b1c9c1a82689788c6e281780495.tar.bz2
Sync with 1.2 version + some bug fixes
Diffstat (limited to 'noncore/settings/tabmanager/tabmainwindow.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/tabmanager/tabmainwindow.h17
1 files changed, 10 insertions, 7 deletions
diff --git a/noncore/settings/tabmanager/tabmainwindow.h b/noncore/settings/tabmanager/tabmainwindow.h
index c76ad9f..69fb15d 100644
--- a/noncore/settings/tabmanager/tabmainwindow.h
+++ b/noncore/settings/tabmanager/tabmainwindow.h
@@ -7,21 +7,24 @@
#include <qtoolbutton.h>
#include <qpe/resource.h>
-class TabMainWindow : public QMainWindow {
+class TabMainWindow : public QMainWindow {
public:
TabMainWindow( QWidget* parent = 0, const char* name = 0) : QMainWindow(parent, name){
tabManager = new TabManager(this, "TabManger");
setCaption("Tab Manager");
+ setToolBarsMovable(false);
this->setCentralWidget(tabManager);
QToolBar *newToolBar = new QToolBar("toolbar", this);
-
- // Insert all of the buttons.
+ QToolBar *emptyToolBar = new QToolBar("empty", this);
+ emptyToolBar->setHorizontalStretchable(true);
+
+ // Insert all of the buttons.
QToolButton *newFolder = new QToolButton(Resource::loadPixmap("fileopen"), "New Folder", 0, tabManager, SLOT(newFolder()), newToolBar);
- QToolButton *newFile = new QToolButton(Resource::loadPixmap("new"), "New Folder", 0, tabManager, SLOT(newApplication()), newToolBar);
+ QToolButton *newFile = new QToolButton(Resource::loadPixmap("new"), "New Application", 0, tabManager, SLOT(newApplication()), newToolBar);
QToolButton *editItem = new QToolButton(Resource::loadPixmap("edit"), "Edit", 0, tabManager, SLOT(editCurrentItem()), newToolBar);
- QToolButton *deleteItem = new QToolButton(Resource::loadPixmap("reset"), "Deelete", 0, tabManager, SLOT(removeItem()), newToolBar);
-
+ QToolButton *deleteItem = new QToolButton(Resource::loadPixmap("trash"), "Delete", 0, tabManager, SLOT(removeItem()), newToolBar);
+
};
protected:
@@ -31,5 +34,5 @@ protected:
#endif
-// tabmainwindow.h
+// tabmainwindow.h