Changeset 4d597a9


Ignore:
Timestamp:
09/19/13 07:47:38 (12 months ago)
Author:
Ken Moore <ken@…>
Branches:
master, 9.2-release, releng/10.0, releng/10.0.1, releng/10.0.2, releng/10.0.3
Children:
31bf3f1, a194d99
Parents:
77c0221
Message:

Add more work to the new UI for life-preserver

Location:
src-qt4/life-preserver
Files:
2 added
2 edited

Legend:

Unmodified
Added
Removed
  • src-qt4/life-preserver/LPMain.h

    re9760d0 r4d597a9  
    88#include <QString> 
    99#include <QStringList> 
     10#include <QRadioButton> 
    1011 
    11 namespace UI{ 
     12#include "LPBackend.h" 
     13#include "LPContainers.h" 
     14 
     15namespace Ui{ 
    1216        class LPMain; 
    1317}; 
     
    1620        Q_OBJECT 
    1721public: 
     22        LPMain(QWidget *parent = 0); 
     23        ~LPMain(); 
    1824         
     25public slots: 
     26        void setupUI(); 
     27 
    1928private: 
    20          
     29        Ui::LPMain *ui; 
     30        QRadioButton *viewBasic, *viewAdvanced; 
     31        bool poolSelected; 
     32        LPDataset POOLDATA; 
     33 
     34        void updateInterface(); //update interface based on selected pool 
     35        LPDataset loadPoolData(QString pool); 
     36 
    2137private slots: 
     38        void viewChanged(); 
    2239         
    2340protected: 
  • src-qt4/life-preserver/LPMain.ui

    re9760d0 r4d597a9  
    88    <y>0</y> 
    99    <width>380</width> 
    10     <height>231</height> 
     10    <height>235</height> 
    1111   </rect> 
    1212  </property> 
     
    3434        </property> 
    3535        <property name="sizeType"> 
    36          <enum>QSizePolicy::Minimum</enum> 
     36         <enum>QSizePolicy::Expanding</enum> 
    3737        </property> 
    3838        <property name="sizeHint" stdset="0"> 
     
    4646      <item> 
    4747       <widget class="QToolButton" name="tool_configure"> 
     48        <property name="statusTip"> 
     49         <string>Configure the local snapshot policies</string> 
     50        </property> 
    4851        <property name="text"> 
    4952         <string>Configure</string> 
     
    5760      <item> 
    5861       <widget class="QToolButton" name="tool_configBackups"> 
     62        <property name="statusTip"> 
     63         <string>Configure additional data safety procedures</string> 
     64        </property> 
    5965        <property name="text"> 
    6066         <string>...</string> 
     
    260266    <addaction name="actionUnmanage_Pool"/> 
    261267    <addaction name="separator"/> 
    262     <addaction name="actionSave_Key_to_USB_2"/> 
     268    <addaction name="action_SaveKeyToUSB"/> 
    263269    <addaction name="separator"/> 
    264270    <addaction name="actionClose_WIndow"/> 
     
    284290     <string>Snapshots</string> 
    285291    </property> 
    286     <addaction name="actionNew_Snapshot_2"/> 
    287     <addaction name="actionDelete_Snapshot"/> 
     292    <addaction name="action_newSnapshot"/> 
     293    <addaction name="action_rmSnapshot"/> 
    288294   </widget> 
    289295   <addaction name="menuFile"/> 
     
    377383   </property> 
    378384  </action> 
    379   <action name="actionNew_Snapshot_2"> 
     385  <action name="action_newSnapshot"> 
    380386   <property name="icon"> 
    381387    <iconset resource="lPreserve.qrc"> 
     
    386392   </property> 
    387393  </action> 
    388   <action name="actionDelete_Snapshot"> 
     394  <action name="action_rmSnapshot"> 
    389395   <property name="icon"> 
    390396    <iconset resource="lPreserve.qrc"> 
     
    395401   </property> 
    396402  </action> 
    397   <action name="actionSave_Key_to_USB_2"> 
     403  <action name="action_SaveKeyToUSB"> 
    398404   <property name="icon"> 
    399405    <iconset resource="lPreserve.qrc"> 
Note: See TracChangeset for help on using the changeset viewer.