• Main Page
  • Related Pages
  • Namespaces
  • Classes
  • Files
  • File List
  • File Members

ui/OperateForm.h

Go to the documentation of this file.
00001 #ifndef OPERATEFORM_H
00002 #define OPERATEFORM_H
00003 
00004 #include "DGVGlobal.h"
00005 #include "ui_operate.h"
00012 class DGV_EXPORT OperateForm : public QDialog
00013 {
00014     Q_OBJECT
00015 
00016 public:
00017     OperateForm(QWidget *parent = 0);
00018     virtual ~OperateForm();
00019 
00020     inline QComboBox* getComboBoxSource1()
00021     {   return ui.cbxDataSource1;   }
00022     inline QComboBox* getComboBoxSource2()
00023     {   return ui.cbxDataSource2;   }
00024     inline QComboBox* getComboBoxOperation()
00025     {   return ui.cbxOperation;   }
00026     inline bool getOperationType()
00027     {   return ui.cbxOperationType->isChecked();    }
00028     inline bool onlyViewedData()
00029     {   return ui.cbxOperationType->isChecked();    }
00030     inline bool isAFunction()
00031     {   return function;    }
00032 
00033 public slots:
00034     void updateComboBoxStates(const QString &selectedOp);
00035 
00036 protected:
00037     bool function; 
00038 
00039     Ui::Operation ui;
00040 
00041     void setOperations();
00042     void createConnections();
00043 };
00044 
00045 #endif // OPERATEFORM_H

Generated on Wed Sep 8 2010 01:36:52 for DGV by  doxygen 1.7.1