From: Eric Bollengier Date: Thu, 13 Aug 2009 15:08:47 +0000 (+0200) Subject: bat: tweak the run window X-Git-Tag: Release-5.0.0~333^2~3^2~2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=205b538b56b9eed2d5152781ddd7fed615553a4f;p=bacula%2Fbacula bat: tweak the run window --- diff --git a/bacula/src/qt-console/images/runit.png b/bacula/src/qt-console/images/runit.png new file mode 100644 index 0000000000..4dd2e8fbdc Binary files /dev/null and b/bacula/src/qt-console/images/runit.png differ diff --git a/bacula/src/qt-console/main.qrc b/bacula/src/qt-console/main.qrc index b4058f7101..6ce0b03e48 100644 --- a/bacula/src/qt-console/main.qrc +++ b/bacula/src/qt-console/main.qrc @@ -1,65 +1,66 @@ - - images/W.png - images/edit.png - images/extern.png - images/intern.png - images/R.png - images/T.png - images/f.png - images/A.png - images/inflag2.png - images/inflag0.png - images/inflag1.png - images/purge.png - images/zoom.png - images/applications-graphics.png - images/bat.png - images/bat_icon.png - images/browse.png - images/cartridge-edit.png - images/cartridge.png - images/check.png - images/connected.png - images/copy.png - images/cut.png - images/disconnected.png - images/edit-cut.png - images/edit-delete.png - images/emblem-system.png - images/estimate-job.png - images/folder.png - images/folderbothchecked.png - images/folderchecked.png - images/folderunchecked.png - images/go-down.png - images/go-up.png - images/graph1.png - images/help-browser.png - images/joblog.png - images/label.png - images/mail-message-new.png - images/mail-message-pending.png - images/mark.png - images/network-server.png - images/new.png - images/open.png - images/package-x-generic.png - images/paste.png - images/print.png - images/restore.png - images/run.png - images/save.png - images/status-console.png - images/status.png - images/system-file-manager.png - images/unchecked.png - images/undo.png - images/unmark.png - images/up.png - images/utilities-terminal.png - images/view-refresh.png - images/weather-severe-alert.png - images/go-jump.png - + + images/A.png + images/R.png + images/T.png + images/W.png + images/applications-graphics.png + images/bat.png + images/bat_icon.png + images/browse.png + images/cartridge-edit.png + images/cartridge.png + images/check.png + images/connected.png + images/copy.png + images/cut.png + images/disconnected.png + images/edit-cut.png + images/edit-delete.png + images/edit.png + images/emblem-system.png + images/estimate-job.png + images/extern.png + images/f.png + images/folder.png + images/folderbothchecked.png + images/folderchecked.png + images/folderunchecked.png + images/go-down.png + images/go-jump.png + images/go-up.png + images/graph1.png + images/help-browser.png + images/inflag0.png + images/inflag1.png + images/inflag2.png + images/intern.png + images/joblog.png + images/label.png + images/mail-message-new.png + images/mail-message-pending.png + images/mark.png + images/network-server.png + images/new.png + images/open.png + images/package-x-generic.png + images/paste.png + images/print.png + images/purge.png + images/restore.png + images/run.png + images/runit.png + images/save.png + images/status-console.png + images/status.png + images/system-file-manager.png + images/unchecked.png + images/undo.png + images/unmark.png + images/up.png + images/utilities-terminal.png + images/view-refresh.png + images/weather-severe-alert.png + images/zoom.png + diff --git a/bacula/src/qt-console/run/run.cpp b/bacula/src/qt-console/run/run.cpp index 0c313e222c..beccbce818 100644 --- a/bacula/src/qt-console/run/run.cpp +++ b/bacula/src/qt-console/run/run.cpp @@ -71,7 +71,9 @@ runPage::runPage(const QString &defJob) connect(okButton, SIGNAL(pressed()), this, SLOT(okButtonPushed())); connect(cancelButton, SIGNAL(pressed()), this, SLOT(cancelButtonPushed())); - dockPage(); + // find a way to place the new window at the cursor position + // or in the midle of the page +// dockPage(); setCurrent(); this->show(); if (defJob != "") diff --git a/bacula/src/qt-console/run/run.ui b/bacula/src/qt-console/run/run.ui index 4bd95aecf9..2083a416b1 100644 --- a/bacula/src/qt-console/run/run.ui +++ b/bacula/src/qt-console/run/run.ui @@ -5,386 +5,341 @@ 0 0 - 734 - 483 + 594 + 402 + + + 0 + 0 + + - Form + Run job - - - 9 - - - 6 - - - - - 0 + + + + + + 16777215 + 30 + - - 6 + + + 11 + - - - - Level: - - - levelCombo - - - - - - - - + + <h3>Run a Job</h3> + + + + + + + + 0 + 0 + + + + Qt::Horizontal + + + + + + + - Bootstrap: - - - true - - - bootstrap - - - - - - - - - - true + - - - 200 - 0 - - - - false + + :/images/runit.png - - - - - - - - 0 - 2 - 0 - 2000 - 1 - 1 - - - - yyyy-mm-dd hh:mm:ss - - - true - + + + + Job properties + + + + + + Job: + + + jobCombo + + + + + + + + + + 6 + + + 0 + + + 0 + + + 0 + + + 0 + + + + + Type: + + + + + + + <h3>Backup<h3/> + + + + + + + + + Client: + + + clientCombo + + + + + + + + + + Priority: + + + prioritySpin + + + + + + + 1 + + + 10000 + + + 10 + + + + + + + Level: + + + levelCombo + + + + + + + + + + Qt::Vertical + + + + 56 + 151 + + + + + + + + FileSet: + + + filesetCombo + + + + + + + + + + Pool: + + + poolCombo + + + + + + + + + + Storage: + + + storageCombo + + + + + + + + + + Messages: + + + messagesCombo + + + + + + + + + + When: + + + dateTimeEdit + + + + + + + + 0 + 2 + 0 + 2000 + 1 + 1 + + + + yyyy-mm-dd hh:mm:ss + + + true + + + + + + + Bootstrap: + + + true + + + bootstrap + + + + + + + true + + + + 200 + 0 + + + + false + + + + - - - - Job: - - - jobCombo - - - - + + + + + + + 0 + 0 + + + + Qt::Horizontal + + + + + + - Qt::Vertical + Qt::Horizontal - 56 - 151 + 40 + 20 - - - - Pool: - - - poolCombo - - - - - - - 0 - - - 6 - - - - - Type: - - - - - - - <h3>Backup<h3/> - - - - - - - - - FileSet: - - - filesetCombo - - - - - - - Messages: - - - messagesCombo - - - - - - - 0 - - - 6 - - - - - Qt::Horizontal - - - - 71 - 21 - - - - - - - - - 16777215 - 30 - - - - <h3>Run a Job</h3> - - - - - - - Qt::Horizontal - - - - 81 - 20 - - - - - - - - - - - + + - Priority: - - - prioritySpin + OK - - - - - + + - Client: - - - clientCombo - - - - - - - 0 - - - 6 - - - - - Qt::Horizontal - - - - 40 - 20 - - - - - - - - OK - - - - - - - Cancel - - - - - - - - - 10000 - - - 1 - - - 10 - - - - - - - - - - Storage: - - - storageCombo - - - - - - - - - - When: - - - dateTimeEdit + Cancel - - - - Qt::Horizontal - - - - 40 - 20 - - - - - - - - Qt::Horizontal - - - - 40 - 20 - - - - - - - - Qt::Vertical - - - QSizePolicy::Expanding - - - - 351 - 16 - - - - - - - - Qt::Vertical - - - QSizePolicy::Expanding - - - - 351 - 16 - - - - - + + + diff --git a/bacula/technotes b/bacula/technotes index e797bf8efc..920951baa4 100644 --- a/bacula/technotes +++ b/bacula/technotes @@ -2,6 +2,8 @@ General: +13Aug09 +ebl bat: tweak the run job window to make it a bit more sexy 12Aug09 kes Make new big-virtual-changer test. Test concurrency. ebl Add .lsfiles, .lsdirs, .update command to interface user with bvfs object