Go to the documentation of this file. 1 #ifndef GRAPH_ANALYSIS_GUI_ACTIONCOMMANDER_HPP
2 #define GRAPH_ANALYSIS_GUI_ACTIONCOMMANDER_HPP
32 QAction*
addAction(
const char *title,
const char *slot);
40 QAction*
addAction(
const char *title,
const char *slot, QObject*
object);
48 QAction*
addAction(
const char *title,
const char *slot,
const QIcon& icon);
57 QAction*
addAction(
const char *title,
const char *slot,
const QIcon& icon, QObject*
object);
70 QAction*
addAction(
const char *title,
const char *slot,
const QIcon& icon,
const QKeySequence& keySequence,
const QString& statusTip = QString(), QObject*
object = 0);
79 QAction*
addMappedAction(
const char *title,
const char *slot, QObject *arg);
88 QAction*
addMappedAction(
const char *title,
const char *slot, QObject *arg, QObject*
object);
97 QAction*
addMappedAction(
const char *title,
const char *slot, QObject *arg,
const QIcon& icon);
107 QAction*
addMappedAction(
const char *title,
const char *slot, QObject *arg,
const QIcon& icon, QObject*
object);
115 #endif // GRAPH_ANALYSIS_GUI_ACTIONCOMMANDER_HPP
ActionCommander(QObject *object)
constructor; stores the QObject instance reference for qt signal-slot connections
Definition: ActionCommander.cpp:12
QAction * addAction(const char *title, const char *slot)
creates and registers a basic action with the stored 'mpObject' qt object
Definition: ActionCommander.cpp:104
Main namespace of the graph analysis library.
Definition: BFS.cpp:3
QAction * addMappedAction(const char *title, const char *slot, QObject *arg)
creates and registers a complex action (with 1 parameter) with the stored 'mpObject' qt object
Definition: ActionCommander.cpp:132
Creates QAction-s and registers them with given slots of the supplied QObject.
Definition: ActionCommander.hpp:18
~ActionCommander()
destructor
Definition: ActionCommander.cpp:16