Kross
view.cpp
Go to the documentation of this file.
386KPushButton* ActionCollectionView::createButton(QWidget* parentWidget, const QString& actionname)
QAction * action(const QString &name) const
KAction * addAction(const QString &name, const QObject *receiver=0, const char *member=0)
void setEditable(bool editable)
virtual QSize minimumSizeHint() const
QWidget * mainWidget()
void setButtons(ButtonCodes buttonMask)
Cancel
void delayedDestruct()
virtual void setCaption(const QString &caption)
virtual void setText(const QString &)
static void sorry(QWidget *parent, const QString &text, const QString &caption=QString(), Options options=Notify)
Plain
void setFaceType(FaceType faceType)
void addPage(KPageWidgetItem *item)
void setIcon(const KIcon &icon)
void setText(const QString &text)
The ActionCollectionEditor class implements a general editor for Action and ActionCollection instance...
Definition view.h:66
QComboBox * interpreterEdit() const
Definition view.cpp:136
virtual void commit()
This method got called if the changes done in the editor should be saved aka committed to the Action ...
Definition view.cpp:245
QLineEdit * nameEdit() const
Following getters are providing access to the edit-widgets once the initGui() was called by the const...
Definition view.cpp:132
ActionCollection * collection() const
Definition view.cpp:127
static ActionCollection * collection(const QModelIndex &index)
Definition model.cpp:200
static Action * action(const QModelIndex &index)
Definition model.cpp:191
virtual void slotEnabledChanged(const QString &actionname)
This slot got called if the enable/disable state of an action changed.
Definition view.cpp:403
virtual void setModel(QAbstractItemModel *model)
Set the model this view should use to model .
Definition view.cpp:345
KPushButton * button(const QString &actionname) const
Definition view.cpp:374
KActionCollection * actionCollection() const
Definition view.cpp:369
KPushButton * createButton(QWidget *parentWidget, const QString &actionname)
Create and return a new KPushButton instance for the given actionname.
Definition view.cpp:386
virtual void slotAdd()
Called if the "add" action was triggered and a new item should be added.
Definition view.cpp:521
virtual void slotSelectionChanged()
This slot got called if the selected item changed.
Definition view.cpp:411
virtual void slotRun()
Called if the "run" action was triggered and the selected script should be executed.
Definition view.cpp:450
void enabledChanged(const QString &actionname)
This signal is emitted if the enabled/disabled state of an action changed.
void setModified(bool modified)
Set the internal modified state of the collection to modified .
Definition view.cpp:364
virtual void slotDataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight)
This slot got called if the data changed.
Definition view.cpp:445
QItemSelection itemSelection() const
This method provides us access to the QItemSelection.
Definition view.cpp:379
virtual void slotStop()
Called if the "stop" action was triggered and the selected script stops execution if running.
Definition view.cpp:471
virtual void slotEdit()
Called if the "edit" action was triggered and the select item should be edited via the scripts manage...
Definition view.cpp:487
virtual void slotRemove()
Called if the "remove" action was triggered and the selected item should be removed.
Definition view.cpp:555
The ActionCollection class manages collections of Action instances.
Definition actioncollection.h:46
bool isEnabled() const
Return the enable this ActionCollection has.
Definition actioncollection.cpp:95
void setDescription(const QString &description)
Set the optional description for this ActionCollection.
Definition actioncollection.cpp:89
void setIconName(const QString &iconname)
Set the name of the icon to iconname .
Definition actioncollection.cpp:92
The Action class is an abstract container to deal with scripts like a single standalone script file.
Definition action.h:99
void setDescription(const QString &description)
Set the optional description for this Action.
Definition action.cpp:286
QString name() const
void setInterpreter(const QString &interpretername)
Set the name of the interpreter (javascript, python or ruby).
Definition action.cpp:338
bool isEnabled() const
Return true if this Action is enabled else false is returned.
Definition action.cpp:306
bool setFile(const QString &scriptfile)
Set the script file that should be executed.
Definition action.cpp:356
void setIconName(const QString &iconname)
Set the name of the icon to iconname .
Definition action.cpp:298
void finalize()
Finalize the Script instance and frees any cached or still running executions.
Definition action.cpp:496
The InterpreterInfo class provides abstract information about a Interpreter before the interpreter-ba...
Definition core/interpreter.h:44
const QStringList mimeTypes() const
List of mimetypes this interpreter supports.
Definition core/interpreter.cpp:86
InterpreterInfo * interpreterInfo(const QString &interpretername) const
Definition manager.cpp:250
const char header[]
QString i18n(const char *text)
QString i18nc(const char *ctxt, const char *text)
Definition action.cpp:36
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Thu Jul 18 2024 00:00:00 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Thu Jul 18 2024 00:00:00 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.