|
Krita Source Code Documentation
|
#include <KarbonCalligraphyOptionWidget.h>
Inheritance diagram for KarbonCalligraphyOptionWidget:Classes | |
| struct | Profile |
Public Slots | |
| void | decreaseAngle () |
| void | decreaseWidth () |
| void | increaseAngle () |
| void | increaseWidth () |
Signals | |
| void | angleChanged (int) |
| void | capsChanged (double) |
| void | dragChanged (double) |
| void | fixationChanged (double) |
| void | massChanged (double) |
| void | thinningChanged (double) |
| void | useAngleChanged (bool) |
| void | usePathChanged (bool) |
| void | usePressureChanged (bool) |
| void | widthChanged (double) |
Public Member Functions | |
| void | emitAll () |
| KarbonCalligraphyOptionWidget () | |
| ~KarbonCalligraphyOptionWidget () override | |
Private Types | |
| typedef QMap< QString, Profile * > | ProfileMap |
Private Slots | |
| void | loadProfile (const QString &name) |
| void | on_m_angleBox_angleChanged (qreal angle) |
| void | removeProfile () |
| void | saveProfileAs () |
| void | setUsePathEnabled (bool enabled) |
| void | toggleUseAngle (bool checked) |
| void | updateCurrentProfile () |
Private Member Functions | |
| void | addDefaultProfiles () |
| void | createConnections () |
| void | loadCurrentProfile () |
| void | loadProfiles () |
| int | profilePosition (const QString &profileName) |
| void | removeProfile (const QString &name) |
| void | saveProfile (const QString &name) |
Private Attributes | |
| KisAngleSelector * | m_angleBox |
| QDoubleSpinBox * | m_capsBox |
| bool | m_changingProfile |
| KComboBox * | m_comboBox |
| QDoubleSpinBox * | m_dragBox |
| QDoubleSpinBox * | m_fixationBox |
| QDoubleSpinBox * | m_massBox |
| ProfileMap | m_profiles |
| QToolButton * | m_removeButton |
| QToolButton * | m_saveButton |
| QDoubleSpinBox * | m_thinningBox |
| QCheckBox * | m_useAngle |
| QCheckBox * | m_usePath |
| QCheckBox * | m_usePressure |
| QDoubleSpinBox * | m_widthBox |
Definition at line 19 of file KarbonCalligraphyOptionWidget.h.
|
private |
Definition at line 110 of file KarbonCalligraphyOptionWidget.h.
|
explicit |
Definition at line 49 of file KarbonCalligraphyOptionWidget.cpp.
References addDefaultProfiles(), createConnections(), KisAngleSelector::FlipOptionsMode_ContextMenu, koIcon, loadProfiles(), m_angleBox, m_capsBox, m_comboBox, m_dragBox, m_fixationBox, m_massBox, m_removeButton, m_saveButton, m_thinningBox, m_useAngle, m_usePath, m_usePressure, m_widthBox, KisAngleSelector::setDecimals(), KisAngleSelector::setFlipOptionsMode(), KisAngleSelector::setRange(), and KisAngleSelector::setResetAngle().
|
override |
Definition at line 155 of file KarbonCalligraphyOptionWidget.cpp.
References m_profiles.
|
private |
Definition at line 353 of file KarbonCalligraphyOptionWidget.cpp.
References RCFILENAME.
|
signal |
|
signal |
|
private |
Definition at line 279 of file KarbonCalligraphyOptionWidget.cpp.
References angleChanged(), capsChanged(), connect(), dragChanged(), fixationChanged(), loadProfile(), m_angleBox, m_capsBox, m_comboBox, m_dragBox, m_fixationBox, m_massBox, m_removeButton, m_saveButton, m_thinningBox, m_useAngle, m_usePath, m_usePressure, m_widthBox, massChanged(), on_m_angleBox_angleChanged(), removeProfile(), saveProfileAs(), thinningChanged(), toggleUseAngle(), updateCurrentProfile(), useAngleChanged(), usePathChanged(), usePressureChanged(), and widthChanged().
|
slot |
Definition at line 270 of file KarbonCalligraphyOptionWidget.cpp.
References KisAngleSelector::angle(), m_angleBox, and KisAngleSelector::setAngle().
|
slot |
Definition at line 260 of file KarbonCalligraphyOptionWidget.cpp.
References m_widthBox.
|
signal |
| void KarbonCalligraphyOptionWidget::emitAll | ( | ) |
Definition at line 160 of file KarbonCalligraphyOptionWidget.cpp.
References KisAngleSelector::angle(), angleChanged(), capsChanged(), dragChanged(), fixationChanged(), m_angleBox, m_capsBox, m_dragBox, m_fixationBox, m_massBox, m_thinningBox, m_useAngle, m_usePath, m_usePressure, m_widthBox, massChanged(), thinningChanged(), useAngleChanged(), usePathChanged(), usePressureChanged(), and widthChanged().
|
signal |
|
slot |
Definition at line 265 of file KarbonCalligraphyOptionWidget.cpp.
References KisAngleSelector::angle(), m_angleBox, and KisAngleSelector::setAngle().
|
slot |
Definition at line 255 of file KarbonCalligraphyOptionWidget.cpp.
References m_widthBox.
|
private |
Definition at line 437 of file KarbonCalligraphyOptionWidget.cpp.
References KarbonCalligraphyOptionWidget::Profile::angle, KarbonCalligraphyOptionWidget::Profile::caps, KarbonCalligraphyOptionWidget::Profile::drag, KarbonCalligraphyOptionWidget::Profile::fixation, m_angleBox, m_capsBox, m_changingProfile, m_comboBox, m_dragBox, m_fixationBox, m_massBox, m_profiles, m_thinningBox, m_useAngle, m_usePath, m_usePressure, m_widthBox, KarbonCalligraphyOptionWidget::Profile::mass, profilePosition(), RCFILENAME, KisAngleSelector::setAngle(), KarbonCalligraphyOptionWidget::Profile::thinning, KarbonCalligraphyOptionWidget::Profile::useAngle, KarbonCalligraphyOptionWidget::Profile::usePath, KarbonCalligraphyOptionWidget::Profile::usePressure, and KarbonCalligraphyOptionWidget::Profile::width.
|
privateslot |
Definition at line 174 of file KarbonCalligraphyOptionWidget.cpp.
References loadCurrentProfile(), m_changingProfile, RCFILENAME, and removeProfile().
|
private |
Definition at line 395 of file KarbonCalligraphyOptionWidget.cpp.
References KarbonCalligraphyOptionWidget::Profile::angle, KarbonCalligraphyOptionWidget::Profile::caps, KarbonCalligraphyOptionWidget::Profile::drag, KarbonCalligraphyOptionWidget::Profile::fixation, KarbonCalligraphyOptionWidget::Profile::index, loadCurrentProfile(), m_changingProfile, m_comboBox, m_profiles, KarbonCalligraphyOptionWidget::Profile::mass, KarbonCalligraphyOptionWidget::Profile::name, RCFILENAME, KarbonCalligraphyOptionWidget::Profile::thinning, KarbonCalligraphyOptionWidget::Profile::useAngle, KarbonCalligraphyOptionWidget::Profile::usePath, KarbonCalligraphyOptionWidget::Profile::usePressure, and KarbonCalligraphyOptionWidget::Profile::width.
|
signal |
|
privateslot |
Definition at line 608 of file KarbonCalligraphyOptionWidget.cpp.
References angleChanged().
|
private |
Definition at line 589 of file KarbonCalligraphyOptionWidget.cpp.
References m_profiles.
|
privateslot |
Definition at line 245 of file KarbonCalligraphyOptionWidget.cpp.
References m_comboBox, and removeProfile().
|
private |
Definition at line 528 of file KarbonCalligraphyOptionWidget.cpp.
References KarbonCalligraphyOptionWidget::Profile::angle, KarbonCalligraphyOptionWidget::Profile::caps, KarbonCalligraphyOptionWidget::Profile::drag, KarbonCalligraphyOptionWidget::Profile::fixation, KarbonCalligraphyOptionWidget::Profile::index, m_comboBox, m_profiles, KarbonCalligraphyOptionWidget::Profile::mass, KarbonCalligraphyOptionWidget::Profile::name, p, profilePosition(), RCFILENAME, KarbonCalligraphyOptionWidget::Profile::thinning, KarbonCalligraphyOptionWidget::Profile::useAngle, KarbonCalligraphyOptionWidget::Profile::usePath, KarbonCalligraphyOptionWidget::Profile::usePressure, and KarbonCalligraphyOptionWidget::Profile::width.
|
private |
Definition at line 467 of file KarbonCalligraphyOptionWidget.cpp.
References KisAngleSelector::angle(), KarbonCalligraphyOptionWidget::Profile::angle, KarbonCalligraphyOptionWidget::Profile::caps, KarbonCalligraphyOptionWidget::Profile::drag, KarbonCalligraphyOptionWidget::Profile::fixation, KarbonCalligraphyOptionWidget::Profile::index, m_angleBox, m_capsBox, m_changingProfile, m_comboBox, m_dragBox, m_fixationBox, m_massBox, m_profiles, m_thinningBox, m_useAngle, m_usePath, m_usePressure, m_widthBox, KarbonCalligraphyOptionWidget::Profile::mass, KarbonCalligraphyOptionWidget::Profile::name, profilePosition(), RCFILENAME, KarbonCalligraphyOptionWidget::Profile::thinning, KarbonCalligraphyOptionWidget::Profile::useAngle, KarbonCalligraphyOptionWidget::Profile::usePath, KarbonCalligraphyOptionWidget::Profile::usePressure, and KarbonCalligraphyOptionWidget::Profile::width.
|
privateslot |
Definition at line 201 of file KarbonCalligraphyOptionWidget.cpp.
References m_profiles, and saveProfile().
|
privateslot |
Definition at line 603 of file KarbonCalligraphyOptionWidget.cpp.
References m_usePath.
|
signal |
|
privateslot |
Definition at line 250 of file KarbonCalligraphyOptionWidget.cpp.
References m_angleBox.
|
privateslot |
Definition at line 194 of file KarbonCalligraphyOptionWidget.cpp.
References m_changingProfile, and saveProfile().
|
signal |
|
signal |
|
signal |
|
signal |
|
private |
Definition at line 119 of file KarbonCalligraphyOptionWidget.h.
|
private |
Definition at line 120 of file KarbonCalligraphyOptionWidget.h.
|
private |
Definition at line 129 of file KarbonCalligraphyOptionWidget.h.
|
private |
Definition at line 113 of file KarbonCalligraphyOptionWidget.h.
|
private |
Definition at line 123 of file KarbonCalligraphyOptionWidget.h.
|
private |
Definition at line 121 of file KarbonCalligraphyOptionWidget.h.
|
private |
Definition at line 122 of file KarbonCalligraphyOptionWidget.h.
|
private |
Definition at line 111 of file KarbonCalligraphyOptionWidget.h.
|
private |
Definition at line 126 of file KarbonCalligraphyOptionWidget.h.
|
private |
Definition at line 125 of file KarbonCalligraphyOptionWidget.h.
|
private |
Definition at line 118 of file KarbonCalligraphyOptionWidget.h.
|
private |
Definition at line 116 of file KarbonCalligraphyOptionWidget.h.
|
private |
Definition at line 114 of file KarbonCalligraphyOptionWidget.h.
|
private |
Definition at line 115 of file KarbonCalligraphyOptionWidget.h.
|
private |
Definition at line 117 of file KarbonCalligraphyOptionWidget.h.