#pragma once #include #include "iGuiRibbon_global.h" // 具体的某个功能菜单项 class I_GUI_RIBBON_EXPORT iWxMenuItem : public QWidget { Q_OBJECT public: iWxMenuItem(QString sIcon, QString sText, QWidget *parent = 0); ~iWxMenuItem(); protected: virtual void paintEvent(QPaintEvent* e); private: };