|
Krita Source Code Documentation
|
#include <kis_dlg_layer_style.h>
Inheritance diagram for KisDlgLayerStyle:Signals | |
| void | configChanged () |
Signals inherited from KoDialog | |
| void | aboutToShowDetails () |
| void | applyClicked () |
| void | buttonClicked (KoDialog::ButtonCode button) |
| void | cancelClicked () |
| void | closeClicked () |
| void | defaultClicked () |
| void | finished () |
| void | helpClicked () |
| void | hidden () |
| void | layoutHintChanged () |
| void | noClicked () |
| void | okClicked () |
| void | resetClicked () |
| void | tryClicked () |
| void | user1Clicked () |
| void | user2Clicked () |
| void | user3Clicked () |
| void | yesClicked () |
Public Member Functions | |
| KisDlgLayerStyle (KisPSDLayerStyleSP layerStyle, KisCanvasResourceProvider *resourceProvider, QWidget *parent=0) | |
| KisPSDLayerStyleSP | style () const |
| ~KisDlgLayerStyle () override | |
Public Member Functions inherited from KoDialog | |
| QPushButton * | button (ButtonCode id) const |
| QIcon | buttonIcon (ButtonCode id) const |
| QString | buttonText (ButtonCode id) const |
| QString | buttonToolTip (ButtonCode id) const |
| QString | buttonWhatsThis (ButtonCode id) const |
| ButtonCode | defaultButton () const |
| QString | helpLinkText () const |
| void | incrementInitialSize (const QSize &size) |
| bool | isButtonEnabled (ButtonCode id) const |
| KoDialog (QWidget *parent=0, Qt::WindowFlags f=Qt::WindowFlags()) | |
| QWidget * | mainWidget () |
| QSize | minimumSizeHint () const override |
| void | setButtonFocus (ButtonCode id) |
| void | setButtonGuiItem (ButtonCode id, const KGuiItem &item) |
| void | setButtonIcon (ButtonCode id, const QIcon &icon) |
| void | setButtons (ButtonCodes buttonMask) |
| void | setButtonsOrientation (Qt::Orientation orientation) |
| void | setButtonText (ButtonCode id, const QString &text) |
| void | setButtonToolTip (ButtonCode id, const QString &text) |
| void | setButtonWhatsThis (ButtonCode id, const QString &text) |
| void | setDefaultButton (ButtonCode id) |
| void | setEscapeButton (ButtonCode id) |
| void | setInitialSize (const QSize &size) |
| void | setMainWidget (QWidget *widget) |
| void | showButton (ButtonCode id, bool state) |
| void | showButtonSeparator (bool state) |
| QSize | sizeHint () const override |
| ~KoDialog () override | |
Additional Inherited Members | |
Public Types inherited from KoDialog | |
| enum | ButtonCode { None = 0x00000000 , Help = 0x00000001 , Default = 0x00000002 , Ok = 0x00000004 , Apply = 0x00000008 , Try = 0x00000010 , Cancel = 0x00000020 , Close = 0x00000040 , No = 0x00000080 , Yes = 0x00000100 , Reset = 0x00000200 , Details = 0x00000400 , User1 = 0x00001000 , User2 = 0x00002000 , User3 = 0x00004000 , NoDefault = 0x00008000 } |
| enum | ButtonPopupMode { InstantPopup = 0 , DelayedPopup = 1 } |
| enum | CaptionFlag { NoCaptionFlags = 0 , AppNameCaption = 1 , ModifiedCaption = 2 , HIGCompliantCaption = AppNameCaption } |
Static Public Member Functions inherited from KoDialog | |
| static int | groupSpacingHint () |
| static QString | makeStandardCaption (const QString &userCaption, QWidget *window=0, CaptionFlags flags=HIGCompliantCaption) |
| static int | marginHint () |
| static void | resizeLayout (QLayout *lay, int margin, int spacing) |
| static void | resizeLayout (QWidget *widget, int margin, int spacing) |
| static int | spacingHint () |
Protected Slots inherited from KoDialog | |
| virtual void | slotButtonClicked (int button) |
Protected Member Functions inherited from KoDialog | |
| void | closeEvent (QCloseEvent *e) override |
| void | hideEvent (QHideEvent *) override |
| void | keyPressEvent (QKeyEvent *) override |
| void | showEvent (QShowEvent *e) override |
Definition at line 256 of file kis_dlg_layer_style.h.
|
explicit |
Definition at line 58 of file kis_dlg_layer_style.cpp.
References KoDialog::Cancel, changePage(), configChanged(), connect(), DropShadow::DropShadowMode, InnerGlow::InnerGlowMode, DropShadow::InnerShadowMode, m_bevelAndEmboss, m_blendingOptions, m_colorOverlay, m_configChangedCompressor, m_contour, m_dropShadow, m_gradientOverlay, m_innerGlow, m_innerShadow, m_outerGlow, m_patternOverlay, m_satin, m_stroke, m_stylesSelector, m_texture, notifyGuiConfigChanged(), notifyPredefinedStyleSelected(), KoDialog::Ok, InnerGlow::OuterGlowMode, palette, KisSignalCompressor::POSTPONE, KisConfig::readEntry(), KoDialog::setButtons(), KoDialog::setCaption(), KoDialog::setDefaultButton(), KoDialog::setMainWidget(), slotBevelAndEmbossChanged(), slotLoadStyle(), slotMasterFxSwitchChanged(), slotNewStyle(), slotNotifyOnAccept(), slotNotifyOnReject(), slotSaveStyle(), syncGlobalAngle(), and wdgLayerStyles.
|
override |
Definition at line 171 of file kis_dlg_layer_style.cpp.
|
slot |
Definition at line 411 of file kis_dlg_layer_style.cpp.
References wdgLayerStyles.
|
signal |
|
slot |
Definition at line 185 of file kis_dlg_layer_style.cpp.
References m_configChangedCompressor, m_isSwitchingPredefinedStyle, m_layerStyle, m_sanityLayerStyleDirty, m_stylesSelector, StylesSelector::notifyExternalStyleChanged(), and KisSignalCompressor::start().
|
slot |
Definition at line 195 of file kis_dlg_layer_style.cpp.
References m_configChangedCompressor, m_isSwitchingPredefinedStyle, setStyle(), KisSignalCompressor::start(), and style().
|
slot |
Definition at line 419 of file kis_dlg_layer_style.cpp.
References m_bevelAndEmboss, m_colorOverlay, m_dropShadow, m_gradientOverlay, m_innerGlow, m_innerShadow, m_layerStyle, m_outerGlow, m_patternOverlay, m_sanityLayerStyleDirty, m_satin, m_stroke, m_stylesSelector, StylesSelector::notifyExternalStyleChanged(), BevelAndEmboss::setBevelAndEmboss(), ColorOverlay::setColorOverlay(), InnerGlow::setConfig(), GradientOverlay::setGradientOverlay(), PatternOverlay::setPatternOverlay(), Satin::setSatin(), DropShadow::setShadow(), Stroke::setStroke(), slotMasterFxSwitchChanged(), style(), and wdgLayerStyles.
|
slot |
Definition at line 203 of file kis_dlg_layer_style.cpp.
References wdgLayerStyles.
|
slot |
Definition at line 328 of file kis_dlg_layer_style.cpp.
References KoResourcePaths::getAppDataLocation(), KisResourceLocator::instance(), KIS_ASSERT, m_stylesSelector, KoFileDialog::OpenFile, and StylesSelector::refillCollections().
|
slot |
Definition at line 175 of file kis_dlg_layer_style.cpp.
References notifyGuiConfigChanged(), value(), and wdgLayerStyles.
|
slot |
Definition at line 271 of file kis_dlg_layer_style.cpp.
References StylesSelector::addNewStyle(), KisResourceUserOperations::addResourceWithUserInput(), KisResourceLocator::addStorage(), KoResource::filename, KoResourcePaths::getAppDataLocation(), KisGlobalResourcesInterface::instance(), KisResourceLocator::instance(), ResourceType::LayerStyles, m_stylesSelector, KoResource::md5Sum(), KisPSDLayerStyle::name, KisAslLayerStyleSerializer::saveToFile(), setStyle(), KisAslLayerStyleSerializer::setStyles(), style(), and wdgLayerStyles.
|
slot |
Definition at line 230 of file kis_dlg_layer_style.cpp.
References configChanged(), KisSignalCompressor::isActive(), m_configChangedCompressor, and KisSignalCompressor::stop().
|
slot |
Definition at line 238 of file kis_dlg_layer_style.cpp.
References configChanged(), m_configChangedCompressor, m_initialLayerStyle, notifyPredefinedStyleSelected(), and KisSignalCompressor::stop().
|
slot |
Definition at line 392 of file kis_dlg_layer_style.cpp.
References KoFileDialog::SaveFile, and style().
| KisPSDLayerStyleSP KisDlgLayerStyle::style | ( | ) | const |
Definition at line 484 of file kis_dlg_layer_style.cpp.
References BevelAndEmboss::fetchBevelAndEmboss(), ColorOverlay::fetchColorOverlay(), InnerGlow::fetchConfig(), GradientOverlay::fetchGradientOverlay(), PatternOverlay::fetchPatternOverlay(), Satin::fetchSatin(), DropShadow::fetchShadow(), Stroke::fetchStroke(), m_bevelAndEmboss, m_colorOverlay, m_dropShadow, m_gradientOverlay, m_innerGlow, m_innerShadow, m_layerStyle, m_outerGlow, m_patternOverlay, m_sanityLayerStyleDirty, m_satin, m_stroke, m_stylesSelector, StylesSelector::notifyExternalStyleChanged(), and wdgLayerStyles.
|
slot |
Definition at line 519 of file kis_dlg_layer_style.cpp.
References setStyle(), and style().
|
private |
Definition at line 296 of file kis_dlg_layer_style.h.
|
private |
Definition at line 297 of file kis_dlg_layer_style.h.
|
private |
Definition at line 298 of file kis_dlg_layer_style.h.
|
private |
Definition at line 311 of file kis_dlg_layer_style.h.
|
private |
Definition at line 299 of file kis_dlg_layer_style.h.
|
private |
Definition at line 300 of file kis_dlg_layer_style.h.
|
private |
Definition at line 301 of file kis_dlg_layer_style.h.
|
private |
Definition at line 292 of file kis_dlg_layer_style.h.
|
private |
Definition at line 302 of file kis_dlg_layer_style.h.
|
private |
Definition at line 303 of file kis_dlg_layer_style.h.
|
private |
Definition at line 312 of file kis_dlg_layer_style.h.
|
private |
Definition at line 291 of file kis_dlg_layer_style.h.
|
private |
Definition at line 304 of file kis_dlg_layer_style.h.
|
private |
Definition at line 305 of file kis_dlg_layer_style.h.
|
mutableprivate |
Used for debugging purposes only to track if m_layerStyle is in sync with what is stored in the GUI
Definition at line 318 of file kis_dlg_layer_style.h.
|
private |
Definition at line 306 of file kis_dlg_layer_style.h.
|
private |
Definition at line 307 of file kis_dlg_layer_style.h.
|
private |
Definition at line 308 of file kis_dlg_layer_style.h.
|
private |
Definition at line 309 of file kis_dlg_layer_style.h.
|
private |
Definition at line 294 of file kis_dlg_layer_style.h.