55 virtual void showEvent(QShowEvent * event)
override;
56 virtual void hideEvent(QHideEvent* event)
override;
58 QSize sizeHint()
const override;
59 void paintEvent(QPaintEvent* e)
override;
60 void setRoundedCorners(
int radius);
61 bool event(QEvent* event)
override;
62 bool isDockedFullscreen()
const;
63 void setDockedFullscreen(
bool is_fullscreen);
65 QPoint getDragLocation()
const;
70 void onCloseButtonClicked();
72#if QT_VERSION >= QT_VERSION_CHECK(6,0,0)
73 bool nativeEvent(
const QByteArray& eventType,
void* message, qintptr* result)
override;
75 bool nativeEvent(
const QByteArray& eventType,
void* message,
long* result)
override;
82 QWidget* m_content_widget;
83 QWidget* m_margin_widget =
nullptr;
84 bool m_is_docked_full =
false;
85 int m_corner_radius = 0;
Definition SectionContent.h:47