#pragma once #include #include "ZxDot.h" #include "iProperty_global.h" class DotTypeDelegate; class I_PROPERTY_EXPORT ZxDotStyleComboBox : public QComboBox { Q_OBJECT public: ZxDotStyleComboBox(QWidget* parent = 0); void setCurDot(ZxDot o); void paintEvent(QPaintEvent* event); protected: DotTypeDelegate* m_pDekegate; ZxDot m_oDot; };