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 #include <GeneratedFiles/ihotfgui/ui_CDirectoryMonitorParamsGui.h>
12 
13 
14 namespace ihotfgui
15 {
16 
17 
19  Ui::CDirectoryMonitorParamsGui,
20  ihotf::IDirectoryMonitorParams>
21 {
22  Q_OBJECT
23 
24 public:
26  Ui::CDirectoryMonitorParamsGui,
28 
29  I_BEGIN_COMPONENT(CDirectoryMonitorParamsGui);
30  I_END_COMPONENT;
31 
32 protected Q_SLOTS:
33  void on_FilesCheck_toggled(bool isChecked);
34  void on_DirsCheck_toggled(bool isChecked);
35  void on_DrivesCheck_toggled(bool isChecked);
36  void on_ModifiedCheck_toggled(bool isChecked);
37  void on_AddedCheck_toggled(bool isChecked);
38  void on_RemovedCheck_toggled(bool isChecked);
39  void on_AttributesCheck_toggled(bool isChecked);
40  void on_PoolingIntervallSpin_valueChanged(double value);
44  void on_AcceptPatternsList_itemChanged(QTreeWidgetItem* item, int column);
48  void on_IgnorePatternsList_itemChanged(QTreeWidgetItem* item, int column);
49  void OnModelUpdate();
50 
51 protected:
52  // reimplemenented (iqtgui::TGuiObserverWrap)
53  virtual void UpdateModel() const;
54  virtual void UpdateGui(const istd::IChangeable::ChangeSet& changeSet);
55 
56  // reimplemented (iqtgui::CGuiComponentBase)
57  virtual void OnGuiCreated();
58 
59 private:
60  void AddPattern(const QString& filter, QTreeWidget* treeView);
61  void RemoveSelectedPatterns(QTreeWidget* treeView);
62  void ResetEditor();
63 };
64 
65 
66 } // namespace ihotfgui
67 
68 
69 #endif // !ihotfgui_CDirectoryMonitorParamsGui_included
70 
71 
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(const istd::IChangeable::ChangeSet &changeSet)

© 2007-2017 Witold Gantzke and Kirill Lepskiy