]> git.sur5r.net Git - bacula/bacula/commitdiff
First cut run dialog
authorKern Sibbald <kern@sibbald.com>
Fri, 9 Feb 2007 22:22:54 +0000 (22:22 +0000)
committerKern Sibbald <kern@sibbald.com>
Fri, 9 Feb 2007 22:22:54 +0000 (22:22 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4156 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/src/qt-console/Makefile
bacula/src/qt-console/bat.pro
bacula/src/qt-console/label/label.cpp
bacula/src/qt-console/label/label.h
bacula/src/qt-console/label/label.ui
bacula/src/qt-console/mainwin.cpp
bacula/src/qt-console/mainwin.h
bacula/src/qt-console/run/run.cpp [new file with mode: 0644]
bacula/src/qt-console/run/run.h [new file with mode: 0644]
bacula/src/qt-console/run/run.ui [new file with mode: 0644]

index e25c2fcbb0e138cf94388ca9f5f6e19caf2024a8..dd1c6bf11daa6583bed9fe67482944f59a5c582c 100644 (file)
@@ -1,6 +1,6 @@
 #############################################################################
 # Makefile for building: bat
-# Generated by qmake (2.01a) (Qt 4.2.1) on: Fri Feb 9 18:42:06 2007
+# Generated by qmake (2.01a) (Qt 4.2.1) on: Fri Feb 9 23:20:13 2007
 # Project:  bat.pro
 # Template: app
 # Command: /usr/bin/qmake -unix -o Makefile bat.pro
@@ -52,10 +52,12 @@ SOURCES       = main.cpp \
                console/authenticate.cpp \
                console/console.cpp \
                restore/brestore.cpp \
-               label/label.cpp moc_mainwin.cpp \
+               label/label.cpp \
+               run/run.cpp moc_mainwin.cpp \
                moc_console.cpp \
                moc_restore.cpp \
                moc_label.cpp \
+               moc_run.cpp \
                qrc_main.cpp
 OBJECTS       = main.o \
                bat_conf.o \
@@ -65,10 +67,12 @@ OBJECTS       = main.o \
                console.o \
                brestore.o \
                label.o \
+               run.o \
                moc_mainwin.o \
                moc_console.o \
                moc_restore.o \
                moc_label.o \
+               moc_run.o \
                qrc_main.o
 DIST          = /usr/share/qt4/mkspecs/common/unix.conf \
                /usr/share/qt4/mkspecs/common/g++.conf \
@@ -115,7 +119,7 @@ first: all
 
 all: Makefile $(TARGET)
 
-$(TARGET): ui_main.h ui_label.h ui_console.h ui_brestore.h $(OBJECTS)  
+$(TARGET): ui_main.h ui_label.h ui_console.h ui_brestore.h ui_run.h $(OBJECTS)  
        $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS)
 
 Makefile: bat.pro  /usr/share/qt4/mkspecs/default/qmake.conf /usr/share/qt4/mkspecs/common/unix.conf \
@@ -160,7 +164,7 @@ qmake:  FORCE
 
 dist: 
        @$(CHK_DIR_EXISTS) .tmp/bat1.0.0 || $(MKDIR) .tmp/bat1.0.0 
-       $(COPY_FILE) --parents $(SOURCES) $(DIST) .tmp/bat1.0.0/ && $(COPY_FILE) --parents mainwin.h bat.h bat_conf.h qstd.h console/console.h restore/restore.h label/label.h .tmp/bat1.0.0/ && $(COPY_FILE) --parents main.qrc .tmp/bat1.0.0/ && $(COPY_FILE) --parents main.cpp bat_conf.cpp mainwin.cpp qstd.cpp console/authenticate.cpp console/console.cpp restore/brestore.cpp label/label.cpp .tmp/bat1.0.0/ && $(COPY_FILE) --parents main.ui label/label.ui console/console.ui restore/brestore.ui .tmp/bat1.0.0/ && (cd `dirname .tmp/bat1.0.0` && $(TAR) bat1.0.0.tar bat1.0.0 && $(COMPRESS) bat1.0.0.tar) && $(MOVE) `dirname .tmp/bat1.0.0`/bat1.0.0.tar.gz . && $(DEL_FILE) -r .tmp/bat1.0.0
+       $(COPY_FILE) --parents $(SOURCES) $(DIST) .tmp/bat1.0.0/ && $(COPY_FILE) --parents mainwin.h bat.h bat_conf.h qstd.h console/console.h restore/restore.h label/label.h run/run.h .tmp/bat1.0.0/ && $(COPY_FILE) --parents main.qrc .tmp/bat1.0.0/ && $(COPY_FILE) --parents main.cpp bat_conf.cpp mainwin.cpp qstd.cpp console/authenticate.cpp console/console.cpp restore/brestore.cpp label/label.cpp run/run.cpp .tmp/bat1.0.0/ && $(COPY_FILE) --parents main.ui label/label.ui console/console.ui restore/brestore.ui run/run.ui .tmp/bat1.0.0/ && (cd `dirname .tmp/bat1.0.0` && $(TAR) bat1.0.0.tar bat1.0.0 && $(COMPRESS) bat1.0.0.tar) && $(MOVE) `dirname .tmp/bat1.0.0`/bat1.0.0.tar.gz . && $(DEL_FILE) -r .tmp/bat1.0.0
 
 
 yaccclean:
@@ -184,10 +188,14 @@ mocclean: compiler_moc_header_clean compiler_moc_source_clean
 
 mocables: compiler_moc_header_make_all compiler_moc_source_make_all
 
-compiler_moc_header_make_all: moc_mainwin.cpp moc_console.cpp moc_restore.cpp moc_label.cpp
+compiler_moc_header_make_all: moc_mainwin.cpp moc_console.cpp moc_restore.cpp moc_label.cpp moc_run.cpp
 compiler_moc_header_clean:
-       -$(DEL_FILE) moc_mainwin.cpp moc_console.cpp moc_restore.cpp moc_label.cpp
+       -$(DEL_FILE) moc_mainwin.cpp moc_console.cpp moc_restore.cpp moc_label.cpp moc_run.cpp
 moc_mainwin.cpp: ui_main.h \
+               label/label.h \
+               ui_label.h \
+               run/run.h \
+               ui_run.h \
                mainwin.h \
                /usr/bin/moc
        /usr/bin/moc $(DEFINES) $(INCPATH) mainwin.h -o moc_mainwin.cpp
@@ -207,6 +215,11 @@ moc_label.cpp: ui_label.h \
                /usr/bin/moc
        /usr/bin/moc $(DEFINES) $(INCPATH) label/label.h -o moc_label.cpp
 
+moc_run.cpp: ui_run.h \
+               run/run.h \
+               /usr/bin/moc
+       /usr/bin/moc $(DEFINES) $(INCPATH) run/run.h -o moc_run.cpp
+
 compiler_rcc_make_all: qrc_main.cpp
 compiler_rcc_clean:
        -$(DEL_FILE) qrc_main.cpp
@@ -233,9 +246,9 @@ compiler_image_collection_clean:
        -$(DEL_FILE) qmake_image_collection.cpp
 compiler_moc_source_make_all:
 compiler_moc_source_clean:
-compiler_uic_make_all: ui_main.h ui_label.h ui_console.h ui_brestore.h
+compiler_uic_make_all: ui_main.h ui_label.h ui_console.h ui_brestore.h ui_run.h
 compiler_uic_clean:
-       -$(DEL_FILE) ui_main.h ui_label.h ui_console.h ui_brestore.h
+       -$(DEL_FILE) ui_main.h ui_label.h ui_console.h ui_brestore.h ui_run.h
 ui_main.h: main.ui
        /usr/bin/uic main.ui -o ui_main.h
 
@@ -248,6 +261,9 @@ ui_console.h: console/console.ui
 ui_brestore.h: restore/brestore.ui
        /usr/bin/uic restore/brestore.ui -o ui_brestore.h
 
+ui_run.h: run/run.ui
+       /usr/bin/uic run/run.ui -o ui_run.h
+
 compiler_clean: compiler_moc_header_clean compiler_rcc_clean compiler_image_collection_clean compiler_moc_source_clean compiler_uic_clean 
 
 ####### Compile
@@ -255,6 +271,10 @@ compiler_clean: compiler_moc_header_clean compiler_rcc_clean compiler_image_coll
 main.o: main.cpp bat.h \
                mainwin.h \
                ui_main.h \
+               label/label.h \
+               ui_label.h \
+               run/run.h \
+               ui_run.h \
                bat_conf.h \
                qstd.h
        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o main.o main.cpp
@@ -265,6 +285,10 @@ bat_conf.o: bat_conf.cpp bat_conf.h
 mainwin.o: mainwin.cpp bat.h \
                mainwin.h \
                ui_main.h \
+               label/label.h \
+               ui_label.h \
+               run/run.h \
+               ui_run.h \
                bat_conf.h \
                qstd.h
        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o mainwin.o mainwin.cpp
@@ -275,6 +299,10 @@ qstd.o: qstd.cpp qstd.h
 authenticate.o: console/authenticate.cpp bat.h \
                mainwin.h \
                ui_main.h \
+               label/label.h \
+               ui_label.h \
+               run/run.h \
+               ui_run.h \
                bat_conf.h \
                qstd.h
        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o authenticate.o console/authenticate.cpp
@@ -282,6 +310,10 @@ authenticate.o: console/authenticate.cpp bat.h \
 console.o: console/console.cpp bat.h \
                mainwin.h \
                ui_main.h \
+               label/label.h \
+               ui_label.h \
+               run/run.h \
+               ui_run.h \
                bat_conf.h \
                qstd.h \
                console/console.h \
@@ -291,6 +323,10 @@ console.o: console/console.cpp bat.h \
 brestore.o: restore/brestore.cpp bat.h \
                mainwin.h \
                ui_main.h \
+               label/label.h \
+               ui_label.h \
+               run/run.h \
+               ui_run.h \
                bat_conf.h \
                qstd.h \
                restore/restore.h \
@@ -300,12 +336,25 @@ brestore.o: restore/brestore.cpp bat.h \
 label.o: label/label.cpp bat.h \
                mainwin.h \
                ui_main.h \
-               bat_conf.h \
-               qstd.h \
                label/label.h \
-               ui_label.h
+               ui_label.h \
+               run/run.h \
+               ui_run.h \
+               bat_conf.h \
+               qstd.h
        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o label.o label/label.cpp
 
+run.o: run/run.cpp bat.h \
+               mainwin.h \
+               ui_main.h \
+               label/label.h \
+               ui_label.h \
+               run/run.h \
+               ui_run.h \
+               bat_conf.h \
+               qstd.h
+       $(CXX) -c $(CXXFLAGS) $(INCPATH) -o run.o run/run.cpp
+
 moc_mainwin.o: moc_mainwin.cpp 
        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_mainwin.o moc_mainwin.cpp
 
@@ -318,6 +367,9 @@ moc_restore.o: moc_restore.cpp
 moc_label.o: moc_label.cpp 
        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_label.o moc_label.cpp
 
+moc_run.o: moc_run.cpp 
+       $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_run.o moc_run.cpp
+
 qrc_main.o: qrc_main.cpp 
        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o qrc_main.o qrc_main.cpp
 
index 280b37ad7aaa7a69572a6f20be4009f9c21d0fa2..a222cb6cff5ada2e3a5cd9b5688520bbd55299d2 100644 (file)
@@ -14,10 +14,10 @@ RESOURCES = main.qrc
 
 # Main window
 FORMS += main.ui
-# Label dialog
 FORMS += label/label.ui
 FORMS += console/console.ui
 FORMS += restore/brestore.ui
+FORMS += run/run.ui
 
 
 HEADERS += mainwin.h bat.h bat_conf.h qstd.h
@@ -34,3 +34,8 @@ SOURCES += restore/brestore.cpp
 # Label dialog
 HEADERS += label/label.h
 SOURCES += label/label.cpp
+
+# Run dialog
+HEADERS += run/run.h
+SOURCES += run/run.cpp
+
index ace4ce982f6b93eebe0a076c97623d5f4cde4b40..4fdd3f1ea5dc3b75f43182971cc0fb9b10e523d4 100644 (file)
@@ -51,6 +51,7 @@ void labelDialog::accept()
            storageCombo->currentText().toUtf8().data(),
            poolCombo->currentText().toUtf8().data());
    this->hide();
+   delete this;
 
 #ifdef xxx
    volume  = get_entry_text(label_dialog, "label_entry_volume");
@@ -74,4 +75,5 @@ void labelDialog::reject()
 {
    printf("Rejected\n");
    this->hide();
+   delete this;
 }
index 7d463c5cfb5350e7fe05bb22e108ff5275cf4d96..d06cf40aa3dbf66585f0528f7f4bf3004c990799 100644 (file)
@@ -6,7 +6,7 @@
 #include "ui_label.h"
 #include "console.h"
 
-class labelDialog : public QDialog, public Ui::labelVolume
+class labelDialog : public QDialog, public Ui::labelForm
 {
    Q_OBJECT 
 
index 94363cad14c78bee8e066d37e362692b6b396e4f..99ed73599e3c837755f9ad5a8fdb8992a04f552c 100644 (file)
@@ -1,6 +1,6 @@
 <ui version="4.0" >
- <class>labelVolume</class>
- <widget class="QDialog" name="labelVolume" >
+ <class>labelForm</class>
+ <widget class="QDialog" name="labelForm" >
   <property name="geometry" >
    <rect>
     <x>0</x>
@@ -193,7 +193,7 @@ p, li { white-space: pre-wrap; }
   <connection>
    <sender>buttonBox</sender>
    <signal>accepted()</signal>
-   <receiver>labelVolume</receiver>
+   <receiver>labelForm</receiver>
    <slot>accept()</slot>
    <hints>
     <hint type="sourcelabel" >
@@ -209,7 +209,7 @@ p, li { white-space: pre-wrap; }
   <connection>
    <sender>buttonBox</sender>
    <signal>rejected()</signal>
-   <receiver>labelVolume</receiver>
+   <receiver>labelForm</receiver>
    <slot>reject()</slot>
    <hints>
     <hint type="sourcelabel" >
index 5fb85d455103dd38e5bafe9b8c6805d69e8f6fdb..54627a5ae1a55425fa113d1d7ae7192dc45c8bd8 100644 (file)
@@ -75,6 +75,7 @@ void MainWin::createConnections()
    connect(actionStatusDir, SIGNAL(triggered()), m_console, SLOT(status_dir()));
    connect(actionSelectFont, SIGNAL(triggered()), m_console, SLOT(set_font()));
    connect(actionLabel, SIGNAL(triggered()), this,  SLOT(labelDialogClicked()));
+   connect(actionRun, SIGNAL(triggered()), this,  SLOT(runDialogClicked()));
 }
 
 /* 
@@ -134,6 +135,11 @@ void MainWin::labelDialogClicked()
    new labelDialog(m_console);
 }
 
+void MainWin::runDialogClicked() 
+{
+   new runDialog(m_console);
+}
+
 
 /*
  * The user just finished typing a line in the command line edit box
index 3c4b6c9fb7f73ddd43e97836c2d68d47d14e7897..e2f2ac3a16186d473ad92f6bf12a1bb720e40d07 100644 (file)
@@ -38,6 +38,7 @@
 #include <QtGui>
 #include "ui_main.h"
 #include "label/label.h"
+#include "run/run.h"
 
 class Console;
 
@@ -59,6 +60,7 @@ public slots:
    void treeItemClicked(QTreeWidgetItem *item, int column);
    void treeItemDoubleClicked(QTreeWidgetItem *item, int column);
    void labelDialogClicked();
+   void runDialogClicked();
 
 protected:
    void closeEvent(QCloseEvent *event);
diff --git a/bacula/src/qt-console/run/run.cpp b/bacula/src/qt-console/run/run.cpp
new file mode 100644 (file)
index 0000000..a733dc3
--- /dev/null
@@ -0,0 +1,79 @@
+/*
+   Bacula® - The Network Backup Solution
+
+   Copyright (C) 2000-2007 Free Software Foundation Europe e.V.
+
+   The main author of Bacula is Kern Sibbald, with contributions from
+   many others, a complete list can be found in the file AUTHORS.
+   This program is Free Software; you can redistribute it and/or
+   modify it under the terms of version two of the GNU General Public
+   License as published by the Free Software Foundation plus additions
+   that are listed in the file LICENSE.
+
+   This program is distributed in the hope that it will be useful, but
+   WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+   General Public License for more details.
+
+   You should have received a copy of the GNU General Public License
+   along with this program; if not, write to the Free Software
+   Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+   02110-1301, USA.
+
+   Bacula® is a registered trademark of John Walker.
+   The licensor of Bacula is the Free Software Foundation Europe
+   (FSFE), Fiduciary Program, Sumatrastrasse 25, 8006 Zürich,
+   Switzerland, email:ftf@fsfeurope.org.
+*/
+/*
+ *  Run Dialog class
+ *
+ *   Kern Sibbald, February MMVI
+ *
+ */ 
+
+#include "bat.h"
+#include "run.h"
+
+runDialog::runDialog(Console *console)
+{
+   setupUi(this);
+   storageCombo->addItems(console->storage_list);
+   poolCombo->addItems(console->pool_list);
+   this->show();
+}
+
+void runDialog::accept()
+{
+   printf("Storage=%s\n"
+          "Pool=%s\n", 
+           storageCombo->currentText().toUtf8().data(),
+           poolCombo->currentText().toUtf8().data());
+   this->hide();
+   delete this;
+
+#ifdef xxx
+   volume  = get_entry_text(label_dialog, "label_entry_volume");
+
+   slot    = get_spin_text(label_dialog, "label_slot");
+
+   if (!pool || !storage || !volume || !(*volume)) {
+      set_status_ready();
+      return;
+   }
+
+   bsnprintf(cmd, sizeof(cmd),
+             "label volume=\"%s\" pool=\"%s\" storage=\"%s\" slot=%s\n", 
+             volume, pool, storage, slot);
+   write_director(cmd);
+   set_text(cmd, strlen(cmd));
+#endif
+}
+
+void runDialog::reject()
+{
+   printf("Rejected\n");
+   this->hide();
+   delete this;
+}
diff --git a/bacula/src/qt-console/run/run.h b/bacula/src/qt-console/run/run.h
new file mode 100644 (file)
index 0000000..3d33268
--- /dev/null
@@ -0,0 +1,24 @@
+
+#ifndef _RUN_H_
+#define _RUN_H_
+
+#include <QtGui>
+#include "ui_run.h"
+#include "console.h"
+
+class runDialog : public QDialog, public Ui::runForm
+{
+   Q_OBJECT 
+
+public:
+   runDialog(Console *console);
+
+public slots:
+   void accept();
+   void reject();
+
+private:
+
+};
+
+#endif /* _RUN_H_ */
diff --git a/bacula/src/qt-console/run/run.ui b/bacula/src/qt-console/run/run.ui
new file mode 100644 (file)
index 0000000..8976c02
--- /dev/null
@@ -0,0 +1,345 @@
+<ui version="4.0" >
+ <class>runForm</class>
+ <widget class="QDialog" name="runForm" >
+  <property name="geometry" >
+   <rect>
+    <x>0</x>
+    <y>0</y>
+    <width>590</width>
+    <height>393</height>
+   </rect>
+  </property>
+  <property name="windowTitle" >
+   <string>Run Dialog</string>
+  </property>
+  <layout class="QGridLayout" >
+   <property name="margin" >
+    <number>9</number>
+   </property>
+   <property name="spacing" >
+    <number>6</number>
+   </property>
+   <item row="2" column="0" >
+    <layout class="QGridLayout" >
+     <property name="margin" >
+      <number>0</number>
+     </property>
+     <property name="spacing" >
+      <number>6</number>
+     </property>
+     <item row="3" column="1" >
+      <widget class="QComboBox" name="filesetCombo" />
+     </item>
+     <item row="0" column="3" >
+      <widget class="QComboBox" name="typeCombo" >
+       <property name="sizePolicy" >
+        <sizepolicy>
+         <hsizetype>5</hsizetype>
+         <vsizetype>0</vsizetype>
+         <horstretch>0</horstretch>
+         <verstretch>0</verstretch>
+        </sizepolicy>
+       </property>
+       <property name="minimumSize" >
+        <size>
+         <width>150</width>
+         <height>0</height>
+        </size>
+       </property>
+      </widget>
+     </item>
+     <item row="8" column="0" >
+      <widget class="QLabel" name="label_5" >
+       <property name="text" >
+        <string>Bootstrap:</string>
+       </property>
+       <property name="openExternalLinks" >
+        <bool>true</bool>
+       </property>
+       <property name="buddy" >
+        <cstring>bootstrap</cstring>
+       </property>
+      </widget>
+     </item>
+     <item row="1" column="0" >
+      <widget class="QLabel" name="label_8" >
+       <property name="text" >
+        <string>Client:</string>
+       </property>
+       <property name="buddy" >
+        <cstring>clientCombo</cstring>
+       </property>
+      </widget>
+     </item>
+     <item row="1" column="3" >
+      <widget class="QSpinBox" name="prioritySpin" >
+       <property name="maximum" >
+        <number>10000</number>
+       </property>
+      </widget>
+     </item>
+     <item row="0" column="2" >
+      <widget class="QLabel" name="label_7" >
+       <property name="text" >
+        <string>Type:</string>
+       </property>
+       <property name="buddy" >
+        <cstring>typeCombo</cstring>
+       </property>
+      </widget>
+     </item>
+     <item row="5" column="0" >
+      <widget class="QLabel" name="label_2" >
+       <property name="text" >
+        <string>Storage:</string>
+       </property>
+       <property name="buddy" >
+        <cstring>storageCombo</cstring>
+       </property>
+      </widget>
+     </item>
+     <item row="2" column="1" >
+      <widget class="QComboBox" name="levelCombo" />
+     </item>
+     <item row="4" column="1" >
+      <widget class="QComboBox" name="poolCombo" />
+     </item>
+     <item row="5" column="1" >
+      <widget class="QComboBox" name="storageCombo" />
+     </item>
+     <item row="4" column="0" >
+      <widget class="QLabel" name="label_3" >
+       <property name="text" >
+        <string>Pool:</string>
+       </property>
+       <property name="buddy" >
+        <cstring>poolCombo</cstring>
+       </property>
+      </widget>
+     </item>
+     <item row="7" column="0" >
+      <widget class="QLabel" name="label" >
+       <property name="text" >
+        <string>When:</string>
+       </property>
+       <property name="buddy" >
+        <cstring>dateTimeEdit</cstring>
+       </property>
+      </widget>
+     </item>
+     <item row="2" column="0" >
+      <widget class="QLabel" name="label_11" >
+       <property name="text" >
+        <string>Level:</string>
+       </property>
+       <property name="buddy" >
+        <cstring>levelCombo</cstring>
+       </property>
+      </widget>
+     </item>
+     <item rowspan="6" row="2" column="3" >
+      <spacer>
+       <property name="orientation" >
+        <enum>Qt::Vertical</enum>
+       </property>
+       <property name="sizeHint" >
+        <size>
+         <width>20</width>
+         <height>171</height>
+        </size>
+       </property>
+      </spacer>
+     </item>
+     <item row="3" column="0" >
+      <widget class="QLabel" name="label_9" >
+       <property name="text" >
+        <string>FileSet:</string>
+       </property>
+       <property name="buddy" >
+        <cstring>filesetCombo</cstring>
+       </property>
+      </widget>
+     </item>
+     <item row="7" column="1" >
+      <widget class="QDateTimeEdit" name="dateTimeEdit" />
+     </item>
+     <item row="6" column="1" >
+      <widget class="QComboBox" name="messagesCombo" />
+     </item>
+     <item row="1" column="2" >
+      <widget class="QLabel" name="label_4" >
+       <property name="text" >
+        <string>Priority:</string>
+       </property>
+       <property name="buddy" >
+        <cstring>prioritySpin</cstring>
+       </property>
+      </widget>
+     </item>
+     <item row="6" column="0" >
+      <widget class="QLabel" name="label_10" >
+       <property name="text" >
+        <string>Messages:</string>
+       </property>
+       <property name="buddy" >
+        <cstring>messagesCombo</cstring>
+       </property>
+      </widget>
+     </item>
+     <item row="8" column="1" >
+      <widget class="QLineEdit" name="bootstrap" >
+       <property name="minimumSize" >
+        <size>
+         <width>200</width>
+         <height>0</height>
+        </size>
+       </property>
+      </widget>
+     </item>
+     <item row="0" column="0" >
+      <widget class="QLabel" name="label_6" >
+       <property name="text" >
+        <string>Job:</string>
+       </property>
+       <property name="buddy" >
+        <cstring>jobCombo</cstring>
+       </property>
+      </widget>
+     </item>
+     <item row="1" column="1" >
+      <widget class="QComboBox" name="clientCombo" />
+     </item>
+     <item row="0" column="1" >
+      <widget class="QComboBox" name="jobCombo" />
+     </item>
+    </layout>
+   </item>
+   <item row="3" column="0" >
+    <spacer>
+     <property name="orientation" >
+      <enum>Qt::Vertical</enum>
+     </property>
+     <property name="sizeType" >
+      <enum>QSizePolicy::Maximum</enum>
+     </property>
+     <property name="sizeHint" >
+      <size>
+       <width>572</width>
+       <height>16</height>
+      </size>
+     </property>
+    </spacer>
+   </item>
+   <item row="4" column="0" >
+    <widget class="QDialogButtonBox" name="buttonBox" >
+     <property name="orientation" >
+      <enum>Qt::Horizontal</enum>
+     </property>
+     <property name="standardButtons" >
+      <set>QDialogButtonBox::Cancel|QDialogButtonBox::NoButton|QDialogButtonBox::Ok</set>
+     </property>
+    </widget>
+   </item>
+   <item row="1" column="0" >
+    <spacer>
+     <property name="orientation" >
+      <enum>Qt::Vertical</enum>
+     </property>
+     <property name="sizeType" >
+      <enum>QSizePolicy::Maximum</enum>
+     </property>
+     <property name="sizeHint" >
+      <size>
+       <width>572</width>
+       <height>16</height>
+      </size>
+     </property>
+    </spacer>
+   </item>
+   <item row="0" column="0" >
+    <layout class="QHBoxLayout" >
+     <property name="margin" >
+      <number>0</number>
+     </property>
+     <property name="spacing" >
+      <number>6</number>
+     </property>
+     <item>
+      <spacer>
+       <property name="orientation" >
+        <enum>Qt::Horizontal</enum>
+       </property>
+       <property name="sizeHint" >
+        <size>
+         <width>71</width>
+         <height>21</height>
+        </size>
+       </property>
+      </spacer>
+     </item>
+     <item>
+      <widget class="QLabel" name="run" >
+       <property name="maximumSize" >
+        <size>
+         <width>16777215</width>
+         <height>30</height>
+        </size>
+       </property>
+       <property name="text" >
+        <string>&lt;h3>Run a Job&lt;/h3></string>
+       </property>
+      </widget>
+     </item>
+     <item>
+      <spacer>
+       <property name="orientation" >
+        <enum>Qt::Horizontal</enum>
+       </property>
+       <property name="sizeHint" >
+        <size>
+         <width>81</width>
+         <height>20</height>
+        </size>
+       </property>
+      </spacer>
+     </item>
+    </layout>
+   </item>
+  </layout>
+ </widget>
+ <resources/>
+ <connections>
+  <connection>
+   <sender>buttonBox</sender>
+   <signal>accepted()</signal>
+   <receiver>runForm</receiver>
+   <slot>accept()</slot>
+   <hints>
+    <hint type="sourcelabel" >
+     <x>248</x>
+     <y>254</y>
+    </hint>
+    <hint type="destinationlabel" >
+     <x>157</x>
+     <y>274</y>
+    </hint>
+   </hints>
+  </connection>
+  <connection>
+   <sender>buttonBox</sender>
+   <signal>rejected()</signal>
+   <receiver>runForm</receiver>
+   <slot>reject()</slot>
+   <hints>
+    <hint type="sourcelabel" >
+     <x>316</x>
+     <y>260</y>
+    </hint>
+    <hint type="destinationlabel" >
+     <x>286</x>
+     <y>274</y>
+    </hint>
+   </hints>
+  </connection>
+ </connections>
+</ui>