#include <condorqview.h>
Inheritance diagram for CondorQView:
Public Member Functions | |
setClassname1 ("qview", CondorAbstractView) | |
set the class name "statusview" | |
CondorQView () | |
CondorQView (QStandardItemModel *, QStringList, QStringList) | |
~CondorQView () | |
Static Public Member Functions | |
static bool | isInstanceOf (CondorAbstractView *) |
Protected Member Functions | |
void | contextMenuEvent (QContextMenuEvent *e) |
Private Slots | |
void | createActions () |
void | holdDialog () |
void | qeditDialog () |
void | prioDialog () |
void | rmDialog () |
void | submitDialog () |
void | releaseDialog () |
void | changeModel () |
void | selectItem (const QModelIndex &) |
Private Member Functions | |
void | readSettings () |
void | writeSettings () |
Private Attributes | |
QAction * | m_holdAct |
Contains hold action. | |
QAction * | m_qeditAct |
Contains qedit action. | |
QAction * | m_prioAct |
Contains prio action. | |
QAction * | m_rmAct |
Contains rm action. | |
QAction * | m_submitAct |
Contains submit action. | |
QAction * | m_releaseAct |
Contains release action. | |
QStringList | m_others |
Contains the paths of the configuration file. |
CondorQView::CondorQView | ( | ) |
Constructor
CondorQView::CondorQView | ( | QStandardItemModel * | model, | |
QStringList | paths, | |||
QStringList | others | |||
) |
Constructs a view associated to a model
model | ||
paths | the paths where is the config file | |
others |
CondorQView::~CondorQView | ( | ) |
Destructor
void CondorQView::changeModel | ( | ) | [private, slot] |
emits a singal to update the model
void CondorQView::contextMenuEvent | ( | QContextMenuEvent * | e | ) | [protected, virtual] |
Implements the context menu with the same actions specify in createActions()
e | event |
Reimplemented from CondorAbstractView.
void CondorQView::createActions | ( | ) | [private, virtual, slot] |
initialize all the actions that the user can use in the view Nowadays that actions are:
Reimplemented from CondorAbstractView.
void CondorQView::holdDialog | ( | ) | [private, slot] |
Show hold Dialog
bool CondorQView::isInstanceOf | ( | CondorAbstractView * | c | ) | [static] |
return true if the object is of this classes
c | view object |
void CondorQView::prioDialog | ( | ) | [private, slot] |
Show prio Dialog
void CondorQView::qeditDialog | ( | ) | [private, slot] |
Show QEdit Dialog
void CondorQView::readSettings | ( | ) | [private, virtual] |
read the information in QSettings
Reimplemented from CondorAbstractView.
void CondorQView::releaseDialog | ( | ) | [private, slot] |
Show release Dialog
void CondorQView::rmDialog | ( | ) | [private, slot] |
Show remove Dialog
void CondorQView::selectItem | ( | const QModelIndex & | index | ) | [private, slot] |
void CondorQView::submitDialog | ( | ) | [private, slot] |
Show submit Dialog
void CondorQView::writeSettings | ( | ) | [private, virtual] |
write a new information in QSettings
Reimplemented from CondorAbstractView.