|
Krita Source Code Documentation
|
#include <SvgSymbolCollectionDocker.h>
Inheritance diagram for SvgSymbolCollectionDocker:Public Slots | |
| void | slotScrollerStateChanged (QScroller::State state) |
Public Member Functions | |
| void | setCanvas (KoCanvasBase *canvas) override |
| reimplemented | |
| SvgSymbolCollectionDocker (QWidget *parent=0) | |
| void | unsetCanvas () override |
| ~SvgSymbolCollectionDocker () | |
Public Member Functions inherited from KoCanvasObserverBase | |
| KoCanvasObserverBase () | |
| KoCanvasBase * | observedCanvas () const |
| virtual QString | observerName () |
| void | setObservedCanvas (KoCanvasBase *canvas) |
| void | unsetObservedCanvas () |
| virtual | ~KoCanvasObserverBase () |
Private Slots | |
| void | collectionActivated (int index) |
| void | slotChangeDisplay () |
| void | slotResourceModelAboutToBeReset () |
| void | slotResourceModelReset () |
| void | slotSetIconSize () |
Private Member Functions | |
| void | clearModels () |
Private Attributes | |
| QMap< int, SvgCollectionModel * > | m_collectionsModelsCache |
| KConfigGroup | m_configGroup |
| QRadioButton * | m_detailsRadioButton {0} |
| QSlider * | m_iconSizeSlider {0} |
| int | m_rememberedSvgCollectionId {-1} |
| KisResourceModel * | m_resourceModel {0} |
| QRadioButton * | m_thumbnailsRadioButton {0} |
| QScopedPointer< Ui_WdgSvgCollection > | m_wdgSvgCollection |
Additional Inherited Members |
Definition at line 62 of file SvgSymbolCollectionDocker.h.
|
explicit |
Definition at line 167 of file SvgSymbolCollectionDocker.cpp.
References collectionActivated(), connect(), KisKineticScroller::createPreconfiguredScroller(), KisIconUtils::loadIcon(), m_configGroup, m_detailsRadioButton, m_iconSizeSlider, m_resourceModel, m_thumbnailsRadioButton, m_wdgSvgCollection, KisAbstractResourceModel::Name, slotChangeDisplay(), slotResourceModelAboutToBeReset(), slotResourceModelReset(), slotScrollerStateChanged(), slotSetIconSize(), and ResourceType::Symbols.
| SvgSymbolCollectionDocker::~SvgSymbolCollectionDocker | ( | ) |
Definition at line 265 of file SvgSymbolCollectionDocker.cpp.
References clearModels().
|
private |
Definition at line 373 of file SvgSymbolCollectionDocker.cpp.
References m_collectionsModelsCache.
|
privateslot |
Definition at line 348 of file SvgSymbolCollectionDocker.cpp.
References m_collectionsModelsCache, m_configGroup, m_resourceModel, m_wdgSvgCollection, KisResourceModel::resourceForIndex(), slotChangeDisplay(), and slotSetIconSize().
|
overridevirtual |
reimplemented
Implements KoCanvasObserverBase.
Definition at line 338 of file SvgSymbolCollectionDocker.cpp.
|
privateslot |
Definition at line 282 of file SvgSymbolCollectionDocker.cpp.
References m_configGroup, m_thumbnailsRadioButton, m_wdgSvgCollection, and SvgCollectionModel::setShowDescription().
|
privateslot |
Definition at line 305 of file SvgSymbolCollectionDocker.cpp.
References KisAbstractResourceModel::Id, m_rememberedSvgCollectionId, m_resourceModel, and m_wdgSvgCollection.
|
privateslot |
Definition at line 313 of file SvgSymbolCollectionDocker.cpp.
References clearModels(), collectionActivated(), KisAbstractResourceModel::Id, m_rememberedSvgCollectionId, m_resourceModel, and m_wdgSvgCollection.
|
inlineslot |
Definition at line 75 of file SvgSymbolCollectionDocker.h.
References KisKineticScroller::updateCursor().
|
privateslot |
Definition at line 270 of file SvgSymbolCollectionDocker.cpp.
References m_configGroup, m_iconSizeSlider, m_wdgSvgCollection, and SvgCollectionModel::setIconSize().
|
overridevirtual |
Re-implement to notify the observer that its canvas is no longer among the living. The daisies, it is pushing up. This means you don't have to disconnect, it's dead.
The old canvas should be deleted already, so if you stored a pointer to it, don't touch!
Note that currently there is a bug where in certain specific circumstances unsetCanvas can be called when it shouldn't, see for example KWStatisticsDocker for a workaround for this problem.
Implements KoCanvasObserverBase.
Definition at line 343 of file SvgSymbolCollectionDocker.cpp.
|
private |
Definition at line 92 of file SvgSymbolCollectionDocker.h.
|
private |
Definition at line 101 of file SvgSymbolCollectionDocker.h.
|
private |
Definition at line 95 of file SvgSymbolCollectionDocker.h.
|
private |
Definition at line 93 of file SvgSymbolCollectionDocker.h.
|
private |
Definition at line 99 of file SvgSymbolCollectionDocker.h.
|
private |
Definition at line 98 of file SvgSymbolCollectionDocker.h.
|
private |
Definition at line 94 of file SvgSymbolCollectionDocker.h.
|
private |
Definition at line 91 of file SvgSymbolCollectionDocker.h.