OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
aTtbSubgroup.h
Go to the documentation of this file.
1/*
2 * File: aTtbSubgroup.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
21#include <akCore/akCore.h>
22#include <akGui/aTtbContainer.h>
23
24// Qt header
25#include <qstring.h> // QString
26
27// Forward declaration
28namespace tt { class SubGroup; }
29
30namespace ak {
31
32 // Forward declaration
33 class aMessenger;
34 class aUidManager;
35
37 public:
39 ak::aMessenger * _messenger,
40 tt::SubGroup * _group,
41 const QString & _text
42 );
43
44 virtual ~aTtbSubGroup();
45
48 virtual void addChild(
49 aObject * _child
50 ) override;
51
54 virtual aTtbContainer * createSubContainer(
55 const QString & _text = QString("")
56 ) override;
57
59 virtual void destroyAllSubContainer(void) override;
60
64 virtual void removeChildObject(
65 aObject * _child
66 ) override;
67
70 virtual void setEnabled(
71 bool _enabled
72 ) override;
73
74 private:
75 tt::SubGroup * m_subGroup;
76
77 // Block default constructor
78 aTtbSubGroup() = delete;
79
80 // Block copy constructor
81 aTtbSubGroup(const aTtbSubGroup & _other) = delete;
82 aTtbSubGroup & operator = (aTtbSubGroup &) = delete;
83 };
84} // namespace ak
#define UICORE_API_EXPORT
Definition globalDataTypes.h:20
Class used to forward messages to receivers This class is used to forward a message to receivers....
Definition aMessenger.h:34
This class is used to store the main information of any object used Information contained is the UID ...
Definition aObject.h:34
This class provides a interface that represents a tab toolbar container.
Definition aTtbContainer.h:36
Definition aTtbSubgroup.h:36
Definition uiAPI.h:45
Definition TabToolBar.h:18