#include <kis_seexpr_script_chooser.h>
Definition at line 17 of file kis_seexpr_script_chooser.h.
◆ KisSeExprScriptChooser()
| KisSeExprScriptChooser::KisSeExprScriptChooser |
( |
QWidget * | parent = 0 | ) |
|
Definition at line 28 of file kis_seexpr_script_chooser.cpp.
29 : QFrame(parent)
30{
32 m_lblName->setTextElideMode(Qt::ElideMiddle);
33 m_lblName->setSizePolicy(QSizePolicy::Ignored, QSizePolicy::Fixed);
34
40
43
46
47 QVBoxLayout *mainLayout = new QVBoxLayout(this);
48 mainLayout->setSizeConstraint(QLayout::SetMinAndMaxSize);
49 mainLayout->setContentsMargins(0, 0, 0, 0);
52}
void setPreviewOrientation(Qt::Orientation orientation)
determines whether the preview right or below the splitter
void setPreviewTiled(bool tiled)
determines whether the preview should tile the resource's image or not
void showTaggingBar(bool show)
void setSynced(bool sync)
void resourceSelected(KoResourceSP resource)
Emitted when a resource was selected.
KSqueezedTextLabel * m_lblName
KisResourceItemChooser * m_itemChooser
void update(KoResourceSP resource)
const QString SeExprScripts
References m_itemChooser, m_lblName, resourceSelected(), ResourceType::SeExprScripts, KisResourceItemChooser::setPreviewOrientation(), KisResourceItemChooser::setPreviewTiled(), KisResourceItemChooser::setSynced(), KisResourceItemChooser::showTaggingBar(), and update().
◆ ~KisSeExprScriptChooser()
| KisSeExprScriptChooser::~KisSeExprScriptChooser |
( |
| ) |
|
|
override |
◆ currentResource()
◆ resourceSelected
Emitted when a resource was selected.
◆ setCurrentItem()
| void KisSeExprScriptChooser::setCurrentItem |
( |
int | row | ) |
|
◆ setCurrentScript()
◆ setPreviewOrientation()
| void KisSeExprScriptChooser::setPreviewOrientation |
( |
Qt::Orientation | orientation | ) |
|
◆ update
◆ updateItemSize
| void KisSeExprScriptChooser::updateItemSize |
( |
| ) |
|
|
signal |
◆ m_itemChooser
◆ m_lblName
| KSqueezedTextLabel* KisSeExprScriptChooser::m_lblName |
|
private |
The documentation for this class was generated from the following files: