opynsim
Unofficial C++ Documentation
Loading...
Searching...
No Matches
liboscar
ui
tabs
tab_private.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <
liboscar/platform/widget_private.h
>
4
#include <
liboscar/ui/tabs/tab.h
>
5
#include <
liboscar/utilities/uid.h
>
6
7
#include <string_view>
8
9
namespace
osc
10
{
11
class
TabPrivate
:
public
WidgetPrivate
{
12
public
:
13
explicit
TabPrivate
(
Tab
& owner,
Widget
*
parent
, std::string_view
name
) :
14
WidgetPrivate
{owner,
parent
}
15
{
16
set_name
(
name
);
17
}
18
19
UID
id
()
const
{
return
id_; }
20
private
:
21
UID
id_;
22
};
23
}
osc::TabPrivate
Definition
tab_private.h:11
osc::TabPrivate::id
UID id() const
Definition
tab_private.h:19
osc::TabPrivate::TabPrivate
TabPrivate(Tab &owner, Widget *parent, std::string_view name)
Definition
tab_private.h:13
osc::Tab
Definition
tab.h:14
osc::UID
Definition
uid.h:14
osc::WidgetPrivate
Definition
widget_private.h:15
osc::WidgetPrivate::parent
Widget * parent()
Definition
widget_private.h:25
osc::WidgetPrivate::set_name
void set_name(std::string_view name)
Definition
widget_private.h:31
osc::WidgetPrivate::name
CStringView name() const
Definition
widget_private.h:30
osc::Widget
Definition
widget.h:26
osc
Definition
custom_decoration_generator.h:5
tab.h
uid.h
widget_private.h
Generated by
1.9.8