|
Krita Source Code Documentation
|
#include <WGSelectorWidgetBase.h>
Inheritance diagram for WGSelectorWidgetBase:Public Types | |
| enum | UiMode { DockerMode , PopupMode } |
Signals | |
| void | sigChannelValuesChanged (const QVector4D &values) |
| void | sigColorInteraction (bool active) |
Public Member Functions | |
| WGSelectorDisplayConfigSP | displayConfiguration () const |
| const KisDisplayColorConverter * | displayConverter () const |
| virtual QPoint | popupOffset () const |
| The position, relative to the top left corner, where the cursor of the cursor shall be when showing the popup. | |
| virtual void | setModel (KisVisualColorModelSP model) |
| void | setUiMode (UiMode mode) |
| UiMode | uiMode () const |
| virtual void | updateSettings () |
| WGSelectorWidgetBase (WGSelectorDisplayConfigSP displayConfig, QWidget *parent=nullptr, UiMode uiMode=UiMode::DockerMode) | |
Private Attributes | |
| QPointer< const KisDisplayColorConverter > | m_converter |
| WGSelectorDisplayConfigSP | m_displayConfig |
| UiMode | m_uiMode {DockerMode} |
Definition at line 36 of file WGSelectorWidgetBase.h.
| Enumerator | |
|---|---|
| DockerMode | |
| PopupMode | |
Definition at line 40 of file WGSelectorWidgetBase.h.
|
explicit |
Definition at line 41 of file WGSelectorWidgetBase.cpp.
| WGSelectorDisplayConfigSP WGSelectorWidgetBase::displayConfiguration | ( | ) | const |
Definition at line 59 of file WGSelectorWidgetBase.cpp.
References m_displayConfig.
| const KisDisplayColorConverter * WGSelectorWidgetBase::displayConverter | ( | ) | const |
Definition at line 64 of file WGSelectorWidgetBase.cpp.
References KisDisplayColorConverter::dumbConverterInstance(), and m_displayConfig.
|
virtual |
The position, relative to the top left corner, where the cursor of the cursor shall be when showing the popup.
The default implementation returns the widget center.
Reimplemented in WGColorPatches.
Definition at line 69 of file WGSelectorWidgetBase.cpp.
|
virtual |
Reimplemented in WGShadeSelector, and WGMyPaintShadeSelector.
Definition at line 74 of file WGSelectorWidgetBase.cpp.
| void WGSelectorWidgetBase::setUiMode | ( | WGSelectorWidgetBase::UiMode | mode | ) |
Definition at line 54 of file WGSelectorWidgetBase.cpp.
References m_uiMode.
|
signal |
|
signal |
| WGSelectorWidgetBase::UiMode WGSelectorWidgetBase::uiMode | ( | ) | const |
Definition at line 49 of file WGSelectorWidgetBase.cpp.
References m_uiMode.
|
virtual |
Reimplemented in WGColorPatches, and WGShadeSelector.
Definition at line 79 of file WGSelectorWidgetBase.cpp.
|
private |
Definition at line 65 of file WGSelectorWidgetBase.h.
|
private |
Definition at line 66 of file WGSelectorWidgetBase.h.
|
private |
Definition at line 67 of file WGSelectorWidgetBase.h.