CHotfolderContainerGuiComp.h
Go to the documentation of this file.
1 #ifndef ihotfgui_CHotfolderContainerGuiComp_included
2 #define ihotfgui_CHotfolderContainerGuiComp_included
3 
4 
5 // Qt includes
6 #include <QtCore/QDir>
7 #include <QtCore/QMimeData>
8 #include <QtGui/QDrag>
9 #if QT_VERSION >= 0x050000
10 #include <QtWidgets/QTreeWidget>
11 #else
12 #include <QtGui/QTreeWidget>
13 #endif
14 
15 // ACF includes
16 #include "istd/TDelPtr.h"
18 
19 #include "GeneratedFiles/ihotfgui/ui_CHotfolderContainerGuiComp.h"
20 
21 
22 namespace ihotfgui
23 {
24 
25 
27  public iqtgui::TDesignerGuiCompBase<Ui::CHotfolderContainerGuiComp>
28 {
29  Q_OBJECT
30 
31 public:
33 
34  I_BEGIN_COMPONENT(CHotfolderContainerGuiComp);
35  I_ASSIGN_MULTI_0(m_hotoflderFactoryIdsAttrPtr, "HotfolderFactoryIds", "List of factory IDs for hotfolder creation", true);
36  I_END_COMPONENT;
37 
38 protected:
42  QPixmap CreateComponentDragPixmap(const QString& hotfolderId) const;
43 
44  // reimplemented (QObject)
45  virtual bool eventFilter(QObject* sourcePtr, QEvent* eventPtr);
46 
47  // reimplemented (CGuiComponentBase)
48  virtual void OnGuiCreated();
49 
50 private:
51  I_MULTIATTR(QString, m_hotoflderFactoryIdsAttrPtr);
52 };
53 
54 
55 } // namespace ihotfgui
56 
57 
58 #endif // !ihotfgui_CHotfolderContainerGuiComp_included
59 
iqtgui::TDesignerGuiCompBase< Ui::CHotfolderContainerGuiComp > BaseClass
QPixmap CreateComponentDragPixmap(const QString &hotfolderId) const
Create the drag preview for the component.
virtual bool eventFilter(QObject *sourcePtr, QEvent *eventPtr)

© 2007-2011 Witold Gantzke and Kirill Lepskiy