<x>0</x>
<y>0</y>
<width>882</width>
- <height>24</height>
+ <height>28</height>
</rect>
</property>
<widget class="QMenu" name="menuHelp" >
<widget class="QToolBar" name="toolBar" >
<property name="minimumSize" >
<size>
- <width>50</width>
- <height>38</height>
+ <width>51</width>
+ <height>39</height>
</size>
</property>
<property name="toolTip" >
<addaction name="actionLabel" />
<addaction name="actionRestore" />
<addaction name="actionRun" />
+ <addaction name="actionPullWindowOut" />
</widget>
<widget class="QDockWidget" name="dockWidget" >
<property name="sizePolicy" >
<string>&Select Font ...</string>
</property>
</action>
+ <action name="actionPullWindowOut" >
+ <property name="icon" >
+ <iconset>images/up.png</iconset>
+ </property>
+ <property name="text" >
+ <string>Pull Window Out</string>
+ </property>
+ </action>
</widget>
<resources>
<include location="main.qrc" />
connect(actionLabel, SIGNAL(triggered()), this, SLOT(labelDialogClicked()));
connect(actionRun, SIGNAL(triggered()), this, SLOT(runDialogClicked()));
connect(actionRestore, SIGNAL(triggered()), this, SLOT(restoreDialogClicked()));
+ connect(actionPullWindowOut, SIGNAL(triggered()), this, SLOT(pullWindowOutButton()));
}
/*
{
m_bstackpophold->Togglestack();
}
+
+void MainWin::pullWindowOutButton()
+{
+ int curindex = stackedWidget->currentIndex();
+ QList<BatStack*>::iterator bstackItem;
+ bstackItem = m_bstacklist.begin();
+ bool done=false;
+ while ( (bstackItem != m_bstacklist.end()) && not(done) ){
+ if ( curindex == stackedWidget->indexOf( *bstackItem ) ){
+ (*bstackItem)->Togglestack();
+ done=true;
+ }
+ ++bstackItem;
+ }
+}
void runDialogClicked();
void restoreDialogClicked();
void pullWindowOut();
+ void pullWindowOutButton();
protected:
void closeEvent(QCloseEvent *event);