ACF $AcfVersion:0$
CCollapsiblePage.h
Go to the documentation of this file.
1// SPDX-License-Identifier: LGPL-2.1-or-later OR GPL-2.0-or-later OR GPL-3.0-or-later OR LicenseRef-ACF-Commercial
2#pragma once
3
4
5// ACF includes
6#include <GeneratedFiles/iwidgets/ui_CCollapsiblePage.h>
7
8
9namespace iwidgets
10{
11
12
13class CCollapsiblePage: public QWidget, public Ui::CCollapsiblePage
14{
15 Q_OBJECT
16public:
17 typedef QWidget BaseClass;
18
19 CCollapsiblePage(QWidget* parentPtr = NULL);
20
21 void SetTitle(const QString& text);
22 void SetWidget(QWidget* pageWidgetPtr);
23 void SetIconSize(const QSize& size);
24 void SetIcon(const QIcon& icon);
25
26private Q_SLOTS:
27 void SetPageVisible(bool visible);
28
29private:
30 QIcon m_icon;
31 QWidget* m_pageWidgetPtr;
32 QSize m_iconSize;
33};
34
35} // namespace iwidgets
36
37
38
39
void SetTitle(const QString &text)
void SetIconSize(const QSize &size)
CCollapsiblePage(QWidget *parentPtr=NULL)
void SetWidget(QWidget *pageWidgetPtr)
void SetIcon(const QIcon &icon)
#define NULL
Definition istd.h:74
Namespace contains implementation of Qt widget extensions.