#include <dlg_grow_selection.h>
Definition at line 16 of file dlg_grow_selection.h.
◆ WdgGrowSelection()
Definition at line 19 of file dlg_grow_selection.cc.
22{
23 Q_ASSERT(view);
25 Q_ASSERT(image);
27
28 setupUi(this);
29
31 spbGrowValue->setFocus();
32 spbGrowValue->setVisible(true);
33 spbGrowValueDouble->setVisible(false);
34
37
38
42
46}
connect(this, SIGNAL(optionsChanged()), this, SLOT(saveOptions()))
void addWidget(QWidget *widget)
KisImageWSP image() const
Return the image this view is displaying.
static QStringList listOfUnitNameForUi(ListOptions listOptions=ListAll)
Returns the list of unit types for the UI, controlled with the given listOptions.
void slotGrowValueChanged(int value)
void slotUnitChanged(int index)
References KisSizeGroup::addWidget(), connect(), KisViewManager::image(), KoUnit::listOfUnitNameForUi(), m_growValue, m_resolution, KoUnit::Pixel, slotGrowValueChanged(), slotUnitChanged(), and KisImage::yRes().
◆ getConfiguration()
◆ slotGrowValueChanged [1/2]
| void WdgGrowSelection::slotGrowValueChanged |
( |
double | value | ) |
|
|
privateslot |
◆ slotGrowValueChanged [2/2]
| void WdgGrowSelection::slotGrowValueChanged |
( |
int | value | ) |
|
|
privateslot |
◆ slotUnitChanged
| void WdgGrowSelection::slotUnitChanged |
( |
int | index | ) |
|
|
privateslot |
◆ updateGrowUIValue()
| void WdgGrowSelection::updateGrowUIValue |
( |
double | value | ) |
|
|
private |
◆ m_growValue
| int WdgGrowSelection::m_growValue |
|
private |
◆ m_resolution
| double WdgGrowSelection::m_resolution |
|
private |
The documentation for this class was generated from the following files: