|
Krita Source Code Documentation
|
#include <KisResourceItemViewer.h>
Inheritance diagram for KisResourceItemViewer:Signals | |
| void | onViewDetails () |
| void | onViewThumbnail () |
Public Member Functions | |
| KisResourceItemViewer (Viewer type, QWidget *parent=nullptr) | |
| void | updateViewSettings () |
| ~KisResourceItemViewer () | |
Public Member Functions inherited from KisPopupButton | |
| void | adjustPosition () |
| adjustPosition adjusts the position of the popup widget based on the position of this button and the size of the widget | |
| bool | isPopupWidgetVisible () |
| KisPopupButton (QWidget *parent) | |
| void | setArrowVisible (bool v) |
| void | setPopupWidget (QWidget *widget) |
| void | setPopupWidgetWidth (int w) |
| ~KisPopupButton () override | |
Private Slots | |
| void | slotViewDetails () |
| void | slotViewThumbnail () |
Private Attributes | |
| ListViewMode | m_mode |
| Viewer | m_type |
Additional Inherited Members | |
Public Slots inherited from KisPopupButton | |
| void | hidePopupWidget () |
| void | setPopupWidgetDetached (bool detach) |
| void | setPopupWidgetVisible (bool visible) |
| void | showPopupWidget () |
Protected Member Functions inherited from KisPopupButton | |
| void | paintEvent (QPaintEvent *event) override |
| void | paintPopupArrow () |
Definition at line 15 of file KisResourceItemViewer.h.
|
explicit |
Definition at line 17 of file KisResourceItemViewer.cpp.
References connect(), Detail, IconGrid, KisIconUtils::loadIcon(), m_mode, m_type, KisConfig::readEntry(), ResourceManager, KisPopupButton::setArrowVisible(), KisPopupButton::setPopupWidget(), slotViewDetails(), slotViewThumbnail(), and TableAvailable.
| KisResourceItemViewer::~KisResourceItemViewer | ( | ) |
Definition at line 66 of file KisResourceItemViewer.cpp.
|
signal |
|
signal |
|
privateslot |
Definition at line 83 of file KisResourceItemViewer.cpp.
References m_type, onViewDetails(), ResourceManager, TableAvailable, and KisConfig::writeEntry().
|
privateslot |
Definition at line 70 of file KisResourceItemViewer.cpp.
References m_type, onViewThumbnail(), ResourceManager, TableAvailable, and KisConfig::writeEntry().
| void KisResourceItemViewer::updateViewSettings | ( | ) |
|
private |
Definition at line 35 of file KisResourceItemViewer.h.
|
private |
Definition at line 36 of file KisResourceItemViewer.h.