|
Krita Source Code Documentation
|
#include <KisDockerHud.h>
Inheritance diagram for KisDockerHud:Classes | |
| struct | Private |
Public Slots | |
| void | borrowDocker () |
| void | borrowOrReturnDocker () |
| void | returnDocker (bool beingTaken=false) |
| void | setIsShown (bool isShown) |
| void | slotUpdateIcons () |
Public Member Functions | |
| KisDockerHud (QString borrowerName, QString configId) | |
| ~KisDockerHud () override | |
Protected Member Functions | |
| void | hideEvent (QHideEvent *event) override |
| void | showEvent (QShowEvent *event) override |
Private Slots | |
| void | hideBorrowerLabel () |
| QString | readCurrentDocker () |
| void | readDockerList () |
| void | showBorrowerLabel (QString borrowerName) |
| void | showDockerConfig () |
| void | tryConnectToDockers () |
| void | writeCurrentDocker () |
| void | writeDockerList (QList< QVariant >) |
Private Attributes | |
| const QScopedPointer< Private > | m_d |
Static Private Attributes | |
| static QHash< QString, QList< QString > > | borrowedWidgetOwners = QHash<QString, QList<QString>>() |
Definition at line 13 of file KisDockerHud.h.
| KisDockerHud::KisDockerHud | ( | QString | borrowerName, |
| QString | configId ) |
Definition at line 43 of file KisDockerHud.cpp.
References m_d, showDockerConfig(), slotUpdateIcons(), and tryConnectToDockers().
|
override |
Definition at line 82 of file KisDockerHud.cpp.
References m_d.
|
slot |
Definition at line 99 of file KisDockerHud.cpp.
References borrowedWidgetOwners, KisPart::currentMainwindow(), KisPart::instance(), KIS_SAFE_ASSERT_RECOVER_NOOP, m_d, returnDocker(), showBorrowerLabel(), and KisUtilityTitleBar::widgetArea().
|
slot |
Definition at line 87 of file KisDockerHud.cpp.
References borrowDocker(), m_d, and returnDocker().
|
privateslot |
|
overrideprotected |
Definition at line 296 of file KisDockerHud.cpp.
References borrowOrReturnDocker().
|
privateslot |
Definition at line 272 of file KisDockerHud.cpp.
References m_d, and KisConfig::readEntry().
|
privateslot |
Definition at line 252 of file KisDockerHud.cpp.
References KisPart::currentMainwindow(), KisPart::instance(), m_d, and KisConfig::readList().
|
slot |
Block resizing of the old parent. It might happen that the "preferred" and "minimum" size of dockerInside are different. If the user manually adjusts the docker to its "minimum" size before borrowing, then returing it back will reset the docker to its "preferred" size, growing the entire dockers panel. That is not what we want, hence we just temporarily block resizing of the parent docker by setting its size policy to "Fixed".
Definition at line 150 of file KisDockerHud.cpp.
References borrowDocker(), borrowedWidgetOwners, KisPart::currentMainwindow(), hideBorrowerLabel(), KisPart::instance(), KIS_SAFE_ASSERT_RECOVER_NOOP, m_d, and KisUtilityTitleBar::setWidgetArea().
|
slot |
Definition at line 303 of file KisDockerHud.cpp.
References m_d.
|
privateslot |
|
privateslot |
Definition at line 210 of file KisDockerHud.cpp.
References KisPart::currentMainwindow(), KisMainWindow::dockWidgets(), KisDlgListPicker::getChosenData(), KisPart::instance(), m_d, readCurrentDocker(), readDockerList(), and writeDockerList().
|
overrideprotected |
Definition at line 283 of file KisDockerHud.cpp.
References borrowOrReturnDocker(), m_d, and tryConnectToDockers().
|
slot |
Definition at line 278 of file KisDockerHud.cpp.
References KisIconUtils::loadIcon(), and m_d.
|
privateslot |
Definition at line 308 of file KisDockerHud.cpp.
References borrowOrReturnDocker(), KisPart::instance(), m_d, readCurrentDocker(), readDockerList(), and writeCurrentDocker().
|
privateslot |
Definition at line 268 of file KisDockerHud.cpp.
References m_d, and KisConfig::writeEntry().
Definition at line 248 of file KisDockerHud.cpp.
References m_d, and KisConfig::writeList().
|
staticprivate |
Definition at line 45 of file KisDockerHud.h.
|
private |
Definition at line 43 of file KisDockerHud.h.