OpenTwin
0.1
OpenTwin
Loading...
Searching...
No Matches
aTtbPage.h
Go to the documentation of this file.
1
/*
2
* File: aTtbPage.h
3
* Package: akWidgets
4
*
5
* Created on: August 05, 2020
6
* Author: Alexander Kuester
7
* Copyright (c) 2022 Alexander Kuester
8
* This file is part of the uiCore component.
9
* This file is subject to the terms and conditions defined in
10
* file 'LICENSE', which is part of this source code package.
11
*
12
* This class is using a modified version of the "Qt TabToolbar" library.
13
* The changes to the library are listed in the documentation which was
14
* provided with this source code package.
15
*/
16
17
#pragma once
18
19
// AK header
20
#include <
akCore/globalDataTypes.h
>
21
#include <
akCore/akCore.h
>
22
#include <
akGui/aTtbContainer.h
>
23
24
// Qt header
25
#include <qstring.h>
// QString
26
27
// Forward declaraion
28
namespace
tt
{
class
Page; }
29
30
namespace
ak
{
31
32
// Forward declaration
33
class
aMessenger;
34
35
class
UICORE_API_EXPORT
aTtbPage
:
public
aTtbContainer
{
36
public
:
37
aTtbPage
(
38
aMessenger
* _messenger,
39
tt::Page * _page,
40
const
QString & _text
41
);
42
43
virtual
~aTtbPage
();
44
47
virtual
void
addChild(
48
aObject
* _child
49
)
override
;
50
53
virtual
aTtbContainer
* createSubContainer(
54
const
QString & _text = QString(
""
)
55
)
override
;
56
58
virtual
void
destroyAllSubContainer(
void
)
override
;
59
63
virtual
void
removeChildObject(
64
aObject
* _child
65
)
override
;
66
68
int
index(
void
)
const
;
69
72
virtual
void
setEnabled(
73
bool
_enabled
74
)
override
;
75
76
tt::Page*
getPage
(
void
)
const
{
return
m_page; };
77
78
private
:
79
tt::Page * m_page;
80
81
// Block default constructor
82
aTtbPage
() =
delete
;
83
84
// Block copy constructor
85
aTtbPage
(
const
aTtbPage
& _other) =
delete
;
86
aTtbPage
& operator = (
aTtbPage
&) =
delete
;
87
};
88
}
// namespace ak
globalDataTypes.h
UICORE_API_EXPORT
#define UICORE_API_EXPORT
Definition
globalDataTypes.h:20
aTtbContainer.h
akCore.h
ak::aMessenger
Class used to forward messages to receivers This class is used to forward a message to receivers....
Definition
aMessenger.h:34
ak::aObject
This class is used to store the main information of any object used Information contained is the UID ...
Definition
aObject.h:34
ak::aTtbContainer
This class provides a interface that represents a tab toolbar container.
Definition
aTtbContainer.h:36
ak::aTtbPage
Definition
aTtbPage.h:35
ak::aTtbPage::getPage
tt::Page * getPage(void) const
Definition
aTtbPage.h:76
ak
Definition
uiAPI.h:45
tt
Definition
TabToolBar.h:18
Libraries
uiCore
include
akWidgets
aTtbPage.h
Generated by
1.10.0