1234567891011121314151617181920212223242526 |
- #ifndef CUSTOMCOMBOBOX_H
- #define CUSTOMCOMBOBOX_H
- #include <QComboBox>
- class CustomComboBox : public QComboBox
- {
- public:
- explicit CustomComboBox(QWidget *parent = nullptr);
- ~CustomComboBox();
-
- void setViewShadowEffect();
-
- void showPopup() override;
- private:
- const int LISTVIEW_MARGIN = 12;
- };
- #endif
|