|
Krita Source Code Documentation
|
#include <dlg_shrink_selection.h>
Inheritance diagram for WdgShrinkSelection:Public Member Functions | |
| void | getConfiguration (KisOperationConfigurationSP config) override |
| WdgShrinkSelection (QWidget *parent, KisViewManager *view, KisOperationConfigurationSP config) | |
Public Member Functions inherited from KisOperationUIWidget | |
| QString | caption () const |
| KisOperationUIWidget (const QString &caption, QWidget *parent=0) | |
| Private () | |
| ~KisOperationUIWidget () override | |
Private Slots | |
| void | slotShrinkFromImageBorderChanged (bool value) |
| void | slotShrinkValueChanged (double value) |
| void | slotShrinkValueChanged (int value) |
| void | slotUnitChanged (int index) |
Private Member Functions | |
| void | updateShrinkUIValue (double value) |
Private Attributes | |
| double | m_resolution |
| bool | m_shrinkFromImageBorder |
| int | m_shrinkValue |
Additional Inherited Members | |
Public Attributes inherited from KisOperationUIWidget | |
| QString | caption |
Definition at line 16 of file dlg_shrink_selection.h.
| WdgShrinkSelection::WdgShrinkSelection | ( | QWidget * | parent, |
| KisViewManager * | view, | ||
| KisOperationConfigurationSP | config ) |
Definition at line 18 of file dlg_shrink_selection.cc.
References KisSizeGroup::addWidget(), connect(), KisViewManager::image(), KoUnit::listOfUnitNameForUi(), m_resolution, m_shrinkFromImageBorder, m_shrinkValue, KoUnit::Pixel, slotShrinkFromImageBorderChanged(), slotShrinkValueChanged(), slotUnitChanged(), and KisImage::yRes().
|
overridevirtual |
Fetch the setting from the config widget
| config | configuration to which the setting will be written |
Implements KisOperationUIWidget.
Definition at line 95 of file dlg_shrink_selection.cc.
References m_shrinkFromImageBorder, and m_shrinkValue.
|
privateslot |
Definition at line 90 of file dlg_shrink_selection.cc.
References m_shrinkFromImageBorder, and value().
|
privateslot |
Definition at line 55 of file dlg_shrink_selection.cc.
References KoUnit::fromListForUi(), KoUnit::fromUserValue(), m_resolution, m_shrinkValue, KoUnit::Pixel, and value().
|
privateslot |
Definition at line 50 of file dlg_shrink_selection.cc.
References slotShrinkValueChanged(), and value().
|
privateslot |
Definition at line 62 of file dlg_shrink_selection.cc.
References KoUnit::fromListForUi(), m_shrinkValue, KoUnit::Pixel, and updateShrinkUIValue().
|
private |
Definition at line 76 of file dlg_shrink_selection.cc.
References KoUnit::fromListForUi(), m_resolution, KoUnit::Pixel, KoUnit::Point, KoUnit::toUserValue(), and value().
|
private |
Definition at line 34 of file dlg_shrink_selection.h.
|
private |
Definition at line 36 of file dlg_shrink_selection.h.
|
private |
Definition at line 35 of file dlg_shrink_selection.h.