|
Krita Source Code Documentation
|
#include <rexpanderbox.h>
Inheritance diagram for KDcrawIface::RExpanderBox:Signals | |
| void | signalItemExpanded (int index, bool b) |
| void | signalItemToggled (int index, bool b) |
Public Member Functions | |
| void | addItem (QWidget *const w, const QIcon &icon, const QString &txt, const QString &objName, bool expandBydefault) |
| void | addItem (QWidget *const w, const QString &txt, const QString &objName, bool expandBydefault) |
| void | addStretch () |
| bool | checkBoxIsVisible (int index) const |
| int | count () const |
| void | createItem (int index, QWidget *const w, const QIcon &icon, const QString &txt, const QString &objName, bool expandBydefault) |
| int | indexOf (RLabelExpander *const widget) const |
| void | insertItem (int index, QWidget *const w, const QIcon &icon, const QString &txt, const QString &objName, bool expandBydefault) |
| void | insertItem (int index, QWidget *const w, const QString &txt, const QString &objName, bool expandBydefault) |
| void | insertStretch (int index) |
| bool | isChecked (int index) const |
| bool | isItemEnabled (int index) const |
| bool | isItemExpanded (int index) const |
| QIcon | itemIcon (int index) const |
| QString | itemText (int index) const |
| QString | itemToolTip (int index) const |
| Private (RExpanderBox *const box) | |
| virtual void | readSettings (KConfigGroup &group) |
| void | removeItem (int index) |
| RExpanderBox (QWidget *const parent=0) | |
| void | setCheckBoxVisible (int index, bool b) |
| void | setChecked (int index, bool b) |
| void | setItemEnabled (int index, bool enabled) |
| void | setItemExpanded (int index, bool b) |
| void | setItemIcon (int index, const QIcon &icon) |
| void | setItemText (int index, const QString &txt) |
| void | setItemToolTip (int index, const QString &tip) |
| RLabelExpander * | widget (int index) const |
| virtual void | writeSettings (KConfigGroup &group) |
| ~RExpanderBox () override | |
Public Attributes | |
| RExpanderBox * | parent |
| QVBoxLayout * | vbox |
| QList< RLabelExpander * > | wList |
Private Slots | |
| void | slotItemExpanded (bool b) |
| void | slotItemToggled (bool b) |
Private Attributes | |
| Private *const | d |
Private Attributes inherited from Private | |
| KisCanvas2 * | canvas |
| int | displayedFrame |
| int | intendedFrame |
Additional Inherited Members | |
Private Member Functions inherited from Private | |
| Private (KisCanvas2 *c) | |
Definition at line 510 of file rexpanderbox.cpp.
| KDcrawIface::RExpanderBox::RExpanderBox | ( | QWidget *const | parent = 0 | ) |
Definition at line 558 of file rexpanderbox.cpp.
|
override |
Definition at line 574 of file rexpanderbox.cpp.
References d.
| void KDcrawIface::RExpanderBox::addItem | ( | QWidget *const | w, |
| const QIcon & | icon, | ||
| const QString & | txt, | ||
| const QString & | objName, | ||
| bool | expandBydefault ) |
Add RLabelExpander item at end of box layout with these settings : 'w' : the widget hosted by RLabelExpander. 'pix' : pixmap used as icon to item title. 'txt' : text used as item title. 'objName' : item object name used to read/save expanded settings to rc file. 'expandBydefault' : item state by default (expanded or not).
Definition at line 604 of file rexpanderbox.cpp.
References d.
| void KDcrawIface::RExpanderBox::addItem | ( | QWidget *const | w, |
| const QString & | txt, | ||
| const QString & | objName, | ||
| bool | expandBydefault ) |
Definition at line 610 of file rexpanderbox.cpp.
References addItem().
| void KDcrawIface::RExpanderBox::addStretch | ( | ) |
Definition at line 616 of file rexpanderbox.cpp.
References d.
| bool KDcrawIface::RExpanderBox::checkBoxIsVisible | ( | int | index | ) | const |
| int KDcrawIface::RExpanderBox::count | ( | ) | const |
Definition at line 691 of file rexpanderbox.cpp.
References d.
|
inline |
Definition at line 520 of file rexpanderbox.cpp.
References KDcrawIface::RLabelExpander::setExpandByDefault(), KDcrawIface::RLabelExpander::setIcon(), KDcrawIface::RLabelExpander::setLineVisible(), KDcrawIface::RLabelExpander::setText(), and KDcrawIface::RLabelExpander::setWidget().
| int KDcrawIface::RExpanderBox::indexOf | ( | RLabelExpander *const | widget | ) | const |
Definition at line 726 of file rexpanderbox.cpp.
| void KDcrawIface::RExpanderBox::insertItem | ( | int | index, |
| QWidget *const | w, | ||
| const QIcon & | icon, | ||
| const QString & | txt, | ||
| const QString & | objName, | ||
| bool | expandBydefault ) |
Insert RLabelExpander item at box layout index with these settings : 'w' : the widget hosted by RLabelExpander. 'pix' : pixmap used as icon to item title. 'txt' : text used as item title. 'objName' : item object name used to read/save expanded settings to rc file. 'expandBydefault' : item state by default (expanded or not).
Definition at line 621 of file rexpanderbox.cpp.
References d.
| void KDcrawIface::RExpanderBox::insertItem | ( | int | index, |
| QWidget *const | w, | ||
| const QString & | txt, | ||
| const QString & | objName, | ||
| bool | expandBydefault ) |
Definition at line 649 of file rexpanderbox.cpp.
References insertItem().
| void KDcrawIface::RExpanderBox::insertStretch | ( | int | index | ) |
Definition at line 655 of file rexpanderbox.cpp.
References d.
| bool KDcrawIface::RExpanderBox::isChecked | ( | int | index | ) | const |
| bool KDcrawIface::RExpanderBox::isItemEnabled | ( | int | index | ) | const |
| bool KDcrawIface::RExpanderBox::isItemExpanded | ( | int | index | ) | const |
Definition at line 749 of file rexpanderbox.cpp.
References d, and KDcrawIface::RLabelExpander::isExpanded().
| QIcon KDcrawIface::RExpanderBox::itemIcon | ( | int | index | ) | const |
| QString KDcrawIface::RExpanderBox::itemText | ( | int | index | ) | const |
| QString KDcrawIface::RExpanderBox::itemToolTip | ( | int | index | ) | const |
|
inline |
Definition at line 514 of file rexpanderbox.cpp.
|
virtual |
Reimplemented in KDcrawIface::DcrawSettingsWidget.
Definition at line 760 of file rexpanderbox.cpp.
References count(), d, KDcrawIface::RLabelExpander::isExpandByDefault(), and KDcrawIface::RLabelExpander::setExpanded().
| void KDcrawIface::RExpanderBox::removeItem | ( | int | index | ) |
| void KDcrawIface::RExpanderBox::setCheckBoxVisible | ( | int | index, |
| bool | b ) |
Definition at line 580 of file rexpanderbox.cpp.
References d.
| void KDcrawIface::RExpanderBox::setChecked | ( | int | index, |
| bool | b ) |
Definition at line 592 of file rexpanderbox.cpp.
References d.
| void KDcrawIface::RExpanderBox::setItemEnabled | ( | int | index, |
| bool | enabled ) |
Definition at line 708 of file rexpanderbox.cpp.
References d.
| void KDcrawIface::RExpanderBox::setItemExpanded | ( | int | index, |
| bool | b ) |
Definition at line 738 of file rexpanderbox.cpp.
References d, and KDcrawIface::RLabelExpander::setExpanded().
| void KDcrawIface::RExpanderBox::setItemIcon | ( | int | index, |
| const QIcon & | icon ) |
Definition at line 679 of file rexpanderbox.cpp.
References d.
| void KDcrawIface::RExpanderBox::setItemText | ( | int | index, |
| const QString & | txt ) |
Definition at line 667 of file rexpanderbox.cpp.
References d.
| void KDcrawIface::RExpanderBox::setItemToolTip | ( | int | index, |
| const QString & | tip ) |
Definition at line 696 of file rexpanderbox.cpp.
References d.
|
signal |
|
signal |
|
privateslot |
Definition at line 627 of file rexpanderbox.cpp.
References indexOf(), and signalItemExpanded().
|
privateslot |
Definition at line 638 of file rexpanderbox.cpp.
References indexOf(), and signalItemToggled().
| RLabelExpander * KDcrawIface::RExpanderBox::widget | ( | int | index | ) | const |
Definition at line 720 of file rexpanderbox.cpp.
References d.
|
virtual |
Reimplemented in KDcrawIface::DcrawSettingsWidget.
Definition at line 774 of file rexpanderbox.cpp.
References count(), d, and KDcrawIface::RLabelExpander::isExpanded().
|
private |
Definition at line 270 of file rexpanderbox.h.
| RExpanderBox* KDcrawIface::RExpanderBox::parent |
Definition at line 555 of file rexpanderbox.cpp.
| QVBoxLayout* KDcrawIface::RExpanderBox::vbox |
Definition at line 553 of file rexpanderbox.cpp.
| QList<RLabelExpander*> KDcrawIface::RExpanderBox::wList |
Definition at line 551 of file rexpanderbox.cpp.