]> git.sur5r.net Git - bacula/bacula/commitdiff
tweak bat screens
authorEric Bollengier <eric@eb.homelinux.org>
Thu, 16 Jul 2009 21:18:53 +0000 (21:18 +0000)
committerEric Bollengier <eric@eb.homelinux.org>
Thu, 16 Jul 2009 21:18:53 +0000 (21:18 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@9041 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/src/qt-console/clients/clients.cpp
bacula/src/qt-console/clients/clients.ui
bacula/src/qt-console/status/clientstat.cpp
bacula/src/qt-console/status/clientstat.ui
bacula/technotes

index 93adf9ed0178d3f13aded7b7f6ba15f662323566..df56522fb25dc65fb8437f771f6d0df863293d81 100644 (file)
@@ -208,7 +208,6 @@ void Clients::tableItemChanged(QTableWidgetItem *currentwidgetitem, QTableWidget
       /* The Previous item */
       if (previouswidgetitem) { /* avoid a segfault if first time */
          tableWidget->removeAction(actionListJobsofClient);
-         tableWidget->removeAction(actionStatusClientInConsole);
          tableWidget->removeAction(actionStatusClientWindow);
          tableWidget->removeAction(actionPurgeJobs);
          tableWidget->removeAction(actionPrune);
@@ -218,7 +217,6 @@ void Clients::tableItemChanged(QTableWidgetItem *currentwidgetitem, QTableWidget
          /* set a hold variable to the client name in case the context sensitive
           * menu is used */
          tableWidget->addAction(actionListJobsofClient);
-         tableWidget->addAction(actionStatusClientInConsole);
          tableWidget->addAction(actionStatusClientWindow);
          tableWidget->addAction(actionPurgeJobs);
          tableWidget->addAction(actionPrune);
@@ -245,8 +243,6 @@ void Clients::createContextMenu()
                 SLOT(populateTable()));
    connect(actionListJobsofClient, SIGNAL(triggered()), this,
                 SLOT(showJobs()));
-   connect(actionStatusClientInConsole, SIGNAL(triggered()), this,
-                SLOT(consoleStatusClient()));
    connect(actionStatusClientWindow, SIGNAL(triggered()), this,
                 SLOT(statusClientWindow()));
    connect(actionPurgeJobs, SIGNAL(triggered()), this,
index 8f65323d6699be23ba0adb0a330239ab649092a4..c62149b84ebae24074c607730a5025a5e3f0f607 100644 (file)
@@ -19,7 +19,8 @@
   </layout>
   <action name="actionRefreshClients" >
    <property name="icon" >
-    <iconset resource="../main.qrc" >:/images/view-refresh.png</iconset>
+    <iconset resource="../main.qrc" >
+     <normaloff>:/images/view-refresh.png</normaloff>:/images/view-refresh.png</iconset>
    </property>
    <property name="text" >
     <string>Refresh Client List</string>
@@ -30,7 +31,8 @@
   </action>
   <action name="actionListJobsofClient" >
    <property name="icon" >
-    <iconset resource="../main.qrc" >:/images/emblem-system.png</iconset>
+    <iconset resource="../main.qrc" >
+     <normaloff>:/images/emblem-system.png</normaloff>:/images/emblem-system.png</iconset>
    </property>
    <property name="text" >
     <string>List Jobs of Client</string>
     <string>Open a joblist page selecting this client.</string>
    </property>
   </action>
-  <action name="actionStatusClientInConsole" >
-   <property name="icon" >
-    <iconset resource="../main.qrc" >:/images/status-console.png</iconset>
-   </property>
-   <property name="text" >
-    <string>Status Client In Console</string>
-   </property>
-   <property name="statusTip" >
-    <string>Execute status client in console.</string>
-   </property>
-  </action>
   <action name="actionPurgeJobs" >
    <property name="icon" >
-    <iconset resource="../main.qrc" >:/images/weather-severe-alert.png</iconset>
+    <iconset resource="../main.qrc" >
+     <normaloff>:/images/weather-severe-alert.png</normaloff>:/images/weather-severe-alert.png</iconset>
    </property>
    <property name="text" >
     <string>Purge Jobs</string>
@@ -63,7 +55,8 @@
   </action>
   <action name="actionPrune" >
    <property name="icon" >
-    <iconset resource="../main.qrc" >:/images/edit-cut.png</iconset>
+    <iconset resource="../main.qrc" >
+     <normaloff>:/images/edit-cut.png</normaloff>:/images/edit-cut.png</iconset>
    </property>
    <property name="text" >
     <string>Prune Jobs</string>
@@ -74,7 +67,8 @@
   </action>
   <action name="actionStatusClientWindow" >
    <property name="icon" >
-    <iconset resource="../main.qrc" >:/images/status.png</iconset>
+    <iconset resource="../main.qrc" >
+     <normaloff>:/images/status.png</normaloff>:/images/status.png</iconset>
    </property>
    <property name="text" >
     <string>Status Client Window</string>
index a193e777ca1aed2367b0b7ef9ed73e60d70ad405..9260c785d6cf66e136cce23cc1ea39233fd5484f 100644 (file)
@@ -111,9 +111,9 @@ void ClientStat::timerTriggered()
 void ClientStat::populateCurrentTab(int index)
 {
    if (index == 0)
-      populateHeader();
-   if (index == 1)
       populateRunning();
+   if (index == 1)
+      populateHeader();
 }
 
 /*
index 9862c58e65bef473cd5d4641042913b1cb2695a3..f425965f3c78a643c1eb4d435f67bbaabf61a692 100644 (file)
        </item>
       </layout>
      </widget>
-     <widget class="QWidget" name="layoutWidget" >
+     <widget class="QWidget" name="layoutWidget1" >
       <layout class="QGridLayout" >
        <item row="0" column="0" >
         <widget class="QLabel" name="terminatedLabel" >
index def296bb492c20df369d9d1c60691394a1504708..39df9011933f5f0e85a9dc749c13e67d8fded5ff 100644 (file)
@@ -3,6 +3,7 @@
 General:
 
 16Jul09
+ebl  tweak some bat screens
 ebl  Replace info_msg by send_msg in status slots command.
 ebl  Fix #1323 about a problem when mounting a requested volume
      during a restore.