stec-platform
deleteinsertdialog.h
1 #ifndef DELETEINSERTDIALOG_H
2 #define DELETEINSERTDIALOG_H
3 
4 #include <QDialog>
5 #include "platformg_global.h"
6 
7 namespace Ui {
9 }
10 
11 
17 class PLATFORMGSHARED_EXPORT DeleteInsertDialog : public QDialog
18 {
19  Q_OBJECT
20 
21 
22 public :
23  typedef enum InputAction { NOTHING, INSERT, DELETE } INPUT_ACTION ;
24 
25 private :
26 
27  InputAction *condition;
28 
29 public:
35  explicit DeleteInsertDialog(InputAction *Condition = 0, QWidget *parent = 0);
36 
38  virtual ~DeleteInsertDialog();
39 
47  static DeleteInsertDialog::InputAction getAction( int index, QString tagname, QWidget *parent = 0 );
48 
49 private slots:
50  void on_pushButtonDelete_clicked();
51  void on_pushButtonInsert_clicked();
52  void on_pushButtonCancel_clicked();
53 
54 private:
55  Ui::DeleteInsertDialog *ui;
56 };
57 
58 #endif // DELETEINSERTDIALOG_H
The DeleteInsertDialog class pjanice usage for insert data.
Definition: deleteinsertdialog.h:18