Crossfire Server, Trunk  R20513
CREFilterDialog.h
Go to the documentation of this file.
1 #ifndef CRE_FILTER_DIALOG_H
2 #define CRE_FILTER_DIALOG_H
3 
4 #include <QDialog>
5 
6 class QTextEdit;
7 class QLineEdit;
8 class QListWidget;
9 
11 
12 class CREFilterDialog : public QDialog
13 {
14  Q_OBJECT
15 
16  public:
18 
19  protected:
20  QListWidget* myList;
21  QLineEdit* myName;
22  QTextEdit* myScript;
25 
26  virtual void accept();
27  virtual void reject();
28 
29  void refreshList();
30  void saveCurrentFilter();
31 
32  protected slots:
33  void onHelp();
34  void onAdd();
35  void onDelete();
36  void currentRowChanged(int currentRow);
37 };
38 
39 #endif // CRE_FILTER_DIALOG_H
virtual void accept()
QLineEdit * myName
virtual void reject()
QTextEdit * myScript
CREFilterDefinitionManager myFilters
void currentRowChanged(int currentRow)
QListWidget * myList