source: src-qt4/life-preserver/LPMain.h @ 4d597a9

9.2-releasereleng/10.0releng/10.0.1releng/10.0.2releng/10.0.3releng/10.1
Last change on this file since 4d597a9 was 4d597a9, checked in by Ken Moore <ken@…>, 15 months ago

Add more work to the new UI for life-preserver

  • Property mode set to 100644
File size: 680 bytes
Line 
1#ifndef _LP_MAIN_H
2#define _LP_MAIN_H
3
4#include <QMainWindow>
5#include <QComboBox>
6#include <QToolButton>
7#include <QLabel>
8#include <QString>
9#include <QStringList>
10#include <QRadioButton>
11
12#include "LPBackend.h"
13#include "LPContainers.h"
14
15namespace Ui{
16        class LPMain;
17};
18
19class LPMain : public QMainWindow{
20        Q_OBJECT
21public:
22        LPMain(QWidget *parent = 0);
23        ~LPMain();
24       
25public slots:
26        void setupUI();
27
28private:
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
37private slots:
38        void viewChanged();
39       
40protected:
41       
42};
43
44#endif
Note: See TracBrowser for help on using the repository browser.