CondorQView Class Reference

Implements a view over condor jobs. More...

#include <condorqview.h>

Inheritance diagram for CondorQView:

CondorAbstractView List of all members.

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.

Detailed Description

Implements a view over condor jobs.

Author:
Author
Nuria Fernández
Version:
Revision
1.0
Date:
2007/01/11 14:16:20


Constructor & Destructor Documentation

CondorQView::CondorQView (  ) 

Constructor

CondorQView::CondorQView ( QStandardItemModel *  model,
QStringList  paths,
QStringList  others 
)

Constructs a view associated to a model

Parameters:
model 
paths the paths where is the config file
others 

CondorQView::~CondorQView (  ) 

Destructor


Member Function Documentation

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()

Parameters:
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

Parameters:
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]

Select an item of the view

Bug:
is clear

void CondorQView::submitDialog (  )  [private, slot]

Show submit Dialog

void CondorQView::writeSettings (  )  [private, virtual]

write a new information in QSettings

Reimplemented from CondorAbstractView.


The documentation for this class was generated from the following files:
Generated on Sun Jan 14 23:38:42 2007 for QCondor by  doxygen 1.4.7