◆ SidebarSplitter() [1/2]
Digikam::SidebarSplitter::SidebarSplitter |
( |
QWidget *const |
parent = nullptr | ) |
|
|
explicit |
This is a QSplitter with better support for storing its state in config files, especially if Sidebars are contained in the splitter.
◆ SidebarSplitter() [2/2]
Digikam::SidebarSplitter::SidebarSplitter |
( |
Qt::Orientation |
orientation, |
|
|
QWidget *const |
parent = nullptr |
|
) |
| |
|
explicit |
◆ ~SidebarSplitter()
Digikam::SidebarSplitter::~SidebarSplitter |
( |
| ) |
|
|
override |
◆ addSplitterCollapserButton()
void Digikam::SidebarSplitter::addSplitterCollapserButton |
( |
QWidget *const |
widget | ) |
|
◆ restoreState() [1/2]
void Digikam::SidebarSplitter::restoreState |
( |
KConfigGroup & |
group | ) |
|
◆ restoreState() [2/2]
void Digikam::SidebarSplitter::restoreState |
( |
KConfigGroup & |
group, |
|
|
const QString & |
key |
|
) |
| |
Restores the splitter state from group, handling minimized sidebars correctly. This version uses a specified key in the config group.
◆ saveState() [1/2]
void Digikam::SidebarSplitter::saveState |
( |
KConfigGroup & |
group | ) |
|
◆ saveState() [2/2]
void Digikam::SidebarSplitter::saveState |
( |
KConfigGroup & |
group, |
|
|
const QString & |
key |
|
) |
| |
Saves the splitter state to group, handling minimized sidebars correctly. This version uses a specified key in the config group.
◆ setSize() [1/2]
void Digikam::SidebarSplitter::setSize |
( |
QWidget *const |
widget, |
|
|
int |
size |
|
) |
| |
◆ setSize() [2/2]
void Digikam::SidebarSplitter::setSize |
( |
Sidebar *const |
bar, |
|
|
int |
size |
|
) |
| |
◆ size() [1/2]
int Digikam::SidebarSplitter::size |
( |
QWidget *const |
widget | ) |
const |
◆ size() [2/2]
int Digikam::SidebarSplitter::size |
( |
Sidebar *const |
bar | ) |
const |
◆ Sidebar
◆ DEFAULT_CONFIG_KEY
const QString Digikam::SidebarSplitter::DEFAULT_CONFIG_KEY = QLatin1String("SplitterState") |
|
static |
The documentation for this class was generated from the following files: