item in the page selector */
setCurrent();
+Watch out for console not being connected yet gotchya's. The console is not yet
+connected when the first base set of widgets are created on the stack. Use a
+function like populate() to place objects in the window. Call populate from
+virtual function void ClassName::currentStackItem(). Embed inside condition
+similar to if(!m_populated) {} so as to populate only the first time the page
+comes to the front.
+
+The major features that the pages class provides:
+dockPage, undockPage and togglePageDocking for docking.
+closeEvent to redock an undocked page when it is closed.
+virtual functions PgSeltreeWidgetClicked() and currentStackItem() to give pages
+the opportunity to have behaviours on events
+closeStackPage() to delete both the page object and it's page selector widget.
+consoleCommand(QString &command) to execute a console command
+setTitle() for setting the title of a window that will display when undocked.
+setCurrent() for making the page and tree widget item of an object selected and
+in the front of the stack.
Have settings for defaults of limits on joblist
Test restore and get anything not working, working.
+Add inteligence to prerestore.
partially done.
-Get restore into stack.
- Should the jobs dialog be turned into a page as well??
-Possilbe: Turn run and label into docked pages. (remove button bar buttons??)
-
Update README describe bat.conf.example to bat.conf
Add numerous are you sure dialog boxes. Like are you sure you want to
============================================================
DONE:
============================================================
+Get restore into stack.
+ Should the jobs dialog be turned into a page as well??
+Possilbe: Turn run and label into docked pages. (remove button bar buttons??)
+
Where and bootstrap are confused in runjobs of restore.
This was just the labels.
void Pages::changeEvent(QEvent *event)
{
if ((event->type() == QEvent::ActivationChange) && (isActiveWindow())) {
- setCurrent();
+ setCurrent();
}
}
<rect>
<x>0</x>
<y>0</y>
- <width>689</width>
- <height>504</height>
+ <width>796</width>
+ <height>582</height>
</rect>
</property>
<property name="windowTitle" >
<string>Up</string>
</property>
<property name="icon" >
- <iconset>:images/up.png</iconset>
+ <iconset>../../../../../../../:images/up.png</iconset>
</property>
</widget>
</item>
- <item>
- <spacer>
- <property name="orientation" >
- <enum>Qt::Horizontal</enum>
- </property>
- <property name="sizeType" >
- <enum>QSizePolicy::Expanding</enum>
- </property>
- <property name="sizeHint" >
- <size>
- <width>16</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- </item>
<item>
<widget class="QPushButton" name="markButton" >
<property name="sizePolicy" >
<string>Mark</string>
</property>
<property name="icon" >
- <iconset>:images/mark.png</iconset>
+ <iconset>../../../../../../../:images/mark.png</iconset>
</property>
</widget>
</item>
- <item>
- <spacer>
- <property name="orientation" >
- <enum>Qt::Horizontal</enum>
- </property>
- <property name="sizeType" >
- <enum>QSizePolicy::Expanding</enum>
- </property>
- <property name="sizeHint" >
- <size>
- <width>16</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- </item>
<item>
<widget class="QPushButton" name="unmarkButton" >
<property name="sizePolicy" >
<string>Unmark</string>
</property>
<property name="icon" >
- <iconset>:images/unmark.png</iconset>
+ <iconset>../../../../../../../:images/unmark.png</iconset>
</property>
</widget>
</item>