Kross
view.cpp
Go to the documentation of this file.
219 //InterpreterInfo* info = Manager::self().interpreterInfo( Manager::self().interpreternameForFile( d->action->file() ) );
386 KPushButton* ActionCollectionView::createButton(QWidget* parentWidget, const QString& actionname)
virtual void slotRun()
Called if the "run" action was triggered and the selected script should be executed.
Definition: view.cpp:450
QWidget * mainWidget()
void finalize()
Finalize the Script instance and frees any cached or still running executions.
Definition: action.cpp:496
const char header[]
static Action * action(const QModelIndex &index)
Definition: model.cpp:191
QString i18nc(const char *ctxt, const char *text)
void enabledChanged(const QString &actionname)
This signal is emitted if the enabled/disabled state of an action changed.
void setFaceType(FaceType faceType)
bool isEnabled() const
Return true if this Action is enabled else false is returned.
Definition: action.cpp:306
Definition: action.cpp:36
The ActionCollectionEditor class implements a general editor for Action and ActionCollection instance...
Definition: view.h:65
static void sorry(QWidget *parent, const QString &text, const QString &caption=QString(), Options options=Notify)
bool isEnabled() const
Return the enable this ActionCollection has.
Definition: actioncollection.cpp:95
QComboBox * interpreterEdit() const
Definition: view.cpp:136
QLineEdit * nameEdit() const
Following getters are providing access to the edit-widgets once the initGui() was called by the const...
Definition: view.cpp:132
KActionCollection * actionCollection() const
Definition: view.cpp:369
virtual void slotDataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight)
This slot got called if the data changed.
Definition: view.cpp:445
KPushButton * button(const QString &actionname) const
Definition: view.cpp:374
void setIcon(const KIcon &icon)
QItemSelection itemSelection() const
This method provides us access to the QItemSelection.
Definition: view.cpp:379
void addPage(KPageWidgetItem *item)
void setModified(bool modified)
Set the internal modified state of the collection to modified .
Definition: view.cpp:364
static ActionCollection * collection(const QModelIndex &index)
Definition: model.cpp:200
virtual void slotEnabledChanged(const QString &actionname)
This slot got called if the enable/disable state of an action changed.
Definition: view.cpp:403
ActionCollection * collection() const
Definition: view.cpp:127
void delayedDestruct()
Plain
The Action class is an abstract container to deal with scripts like a single standalone script file.
Definition: action.h:111
QString i18n(const char *text)
virtual void setModel(QAbstractItemModel *model)
Set the model this view should use to model .
Definition: view.cpp:345
virtual void slotStop()
Called if the "stop" action was triggered and the selected script stops execution if running.
Definition: view.cpp:471
void setText(const QString &text)
The InterpreterInfo class provides abstract information about a Interpreter before the interpreter-ba...
Definition: core/interpreter.h:60
const char * name(StandardAction id)
virtual void setCaption(const QString &caption)
virtual void slotRemove()
Called if the "remove" action was triggered and the selected item should be removed.
Definition: view.cpp:555
Cancel
virtual QSize minimumSizeHint() const
const QStringList mimeTypes() const
List of mimetypes this interpreter supports.
Definition: core/interpreter.cpp:86
virtual void slotAdd()
Called if the "add" action was triggered and a new item should be added.
Definition: view.cpp:521
void setButtons(ButtonCodes buttonMask)
Type
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 commit()
This method got called if the changes done in the editor should be saved aka committed to the Action ...
Definition: view.cpp:245
The ActionCollection class manages collections of Action instances.
Definition: actioncollection.h:45
virtual void slotSelectionChanged()
This slot got called if the selected item changed.
Definition: view.cpp:411
InterpreterInfo * interpreterInfo(const QString &interpretername) const
Definition: manager.cpp:250
KPushButton * createButton(QWidget *parentWidget, const QString &actionname)
Create and return a new KPushButton instance for the given actionname.
Definition: view.cpp:386
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Thu Jan 30 2020 00:00:00 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Thu Jan 30 2020 00:00:00 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.