10#include <QWidgetAction>
20#include <kritaresourcewidgets_export.h>
80 void setIcon(
const QIcon &icon);
81 void setCloseParentOnTrigger(
bool closeParent);
82 bool closeParentOnTrigger();
84 void setPlaceholderText(
const QString& clickMessage);
85 void setText(
const QString& text);
86 void setVisible(
bool showAction);
96 void slotActionTriggered();
142 void onTriggered()
override;
The CompareWithOtherTagFunctor class defines a comparer for tags.
KisTagSP m_referenceTag
Tag to compare all other tags to.
KisTagSP referenceTag()
referenceTag is a getter for the reference tag
bool operator()(KisTagSP otherTag)
operator () contains comparison logic
void setReferenceTag(KisTagSP referenceTag)
setReferenceTag sets a reference tag in the comparer
CompareWithOtherTagFunctor(KisTagSP referenceTag)
CompareWithOtherTagFunctor defines a default constructor.
The LineEditAction class defines an action with a user text input.
bool m_closeParentOnTrigger
virtual void onTriggered()
onTriggered defines additional behaviour for the action
QPushButton * m_AddButton
The NewTagResourceAction class defines an action that sends a signal with QString and a saved resourc...
void onTriggered() override
void setResource(KoResourceSP resource)
~NewTagResourceAction() override
NewTagResourceAction(KoResourceSP resource, QObject *parent)
void triggered(const QString &newTagName, KoResourceSP resource)
The SimpleExistingTagAction class defines an action that holds a resource and a tag.
KisTagSP m_tag
m_tag tag associated with the action
SimpleExistingTagAction(KoResourceSP resource, KisTagSP tag, QObject *parent=0)
KoResourceSP m_resource
m_resource resource associated with the action
void triggered(KisTagSP tag, KoResourceSP resource)
~SimpleExistingTagAction() override