CDirectoryMonitorParamsGui.h
Go to the documentation of this file.
1 #ifndef ihotfgui_CDirectoryMonitorParamsGui_included
2 #define ihotfgui_CDirectoryMonitorParamsGui_included
3 
4 
5 // ACF includes
7 
8 
9 // AcfSln includes
11 
12 #include "GeneratedFiles/ihotfgui/ui_CDirectoryMonitorParamsGui.h"
13 
14 
15 namespace ihotfgui
16 {
17 
18 
20  Ui::CDirectoryMonitorParamsGui,
21  ihotf::IDirectoryMonitorParams>
22 {
23  Q_OBJECT
24 
25 public:
27  Ui::CDirectoryMonitorParamsGui,
29 
30  I_BEGIN_COMPONENT(CDirectoryMonitorParamsGui);
31  I_END_COMPONENT;
32 
33  // reimplemented (imod::IModelEditor)
34  virtual void UpdateModel() const;
35 
36  // reimplemenented (iqtgui::TGuiObserverWrap)
37  virtual void UpdateGui(int updateFlags = 0);
38 
39  // reimplemented (iqtgui::CGuiComponentBase)
40  virtual void OnGuiCreated();
41 
42 protected Q_SLOTS:
43  void on_FilesCheck_toggled(bool isChecked);
44  void on_DirsCheck_toggled(bool isChecked);
45  void on_DrivesCheck_toggled(bool isChecked);
46  void on_ModifiedCheck_toggled(bool isChecked);
47  void on_AddedCheck_toggled(bool isChecked);
48  void on_RemovedCheck_toggled(bool isChecked);
49  void on_AttributesCheck_toggled(bool isChecked);
50  void on_PoolingIntervallSpin_valueChanged(double value);
54  void on_AcceptPatternsList_itemChanged(QTreeWidgetItem* item, int column);
58  void on_IgnorePatternsList_itemChanged(QTreeWidgetItem* item, int column);
59 
60 private:
61  void AddPattern(const QString& filter, QTreeWidget* treeView);
62  void RemoveSelectedPatterns(QTreeWidget* treeView);
63  void ResetEditor();
64  void OnModelUpdate();
65 };
66 
67 
68 } // namespace ihotfgui
69 
70 
71 #endif // !ihotfgui_CDirectoryMonitorParamsGui_included
72 
73 
void on_AcceptPatternsList_itemChanged(QTreeWidgetItem *item, int column)
void on_IgnorePatternsList_itemChanged(QTreeWidgetItem *item, int column)
Interface for a folder monitor parameters.
iqtgui::TDesignerGuiObserverCompBase< Ui::CDirectoryMonitorParamsGui, ihotf::IDirectoryMonitorParams > BaseClass
virtual void UpdateModel() const
void on_PoolingIntervallSpin_valueChanged(double value)
void on_AddedCheck_toggled(bool isChecked)
void on_DrivesCheck_toggled(bool isChecked)
void on_ModifiedCheck_toggled(bool isChecked)
void on_AttributesCheck_toggled(bool isChecked)
void on_FilesCheck_toggled(bool isChecked)
void on_RemovedCheck_toggled(bool isChecked)
void on_DirsCheck_toggled(bool isChecked)
virtual void UpdateGui(int updateFlags=0)

© 2007-2011 Witold Gantzke and Kirill Lepskiy