|
@@ -1,5 +1,5 @@
|
|
|
-#ifndef CUSTOMCOMBOBOX_H
|
|
|
-#define CUSTOMCOMBOBOX_H
|
|
|
+#ifndef _CUSTOMCOMBOBOX_H_
|
|
|
+#define _CUSTOMCOMBOBOX_H_
|
|
|
|
|
|
#include <QComboBox>
|
|
|
|
|
@@ -13,7 +13,7 @@ class CustomComboBox : public QComboBox
|
|
|
{
|
|
|
public:
|
|
|
explicit CustomComboBox(QWidget *parent = nullptr);
|
|
|
- ~CustomComboBox();
|
|
|
+ ~CustomComboBox() override;
|
|
|
|
|
|
/* 设置下拉框阴影,需要先设置样式表,再调用此函数 */
|
|
|
void setViewShadowEffect();
|
|
@@ -24,4 +24,4 @@ private:
|
|
|
const int LISTVIEW_MARGIN = 12; // QAbstractItemView边距(阴影宽度)
|
|
|
};
|
|
|
|
|
|
-#endif // CUSTOMCOMBOBOX_H
|
|
|
+#endif // _CUSTOMCOMBOBOX_H_
|