ConfigDialog Class Reference

Implements the configuration Dialog. More...

#include <configdialog.h>

List of all members.

Public Slots

void browseConfig ()
void loadConfig ()
void editConfig ()
void browseLocalConfig ()
void loadLocalConfig ()
void editLocalConfig ()
void browseJobDescriptions ()
void browseJobDescDialog ()
void accept ()
void apply ()

Signals

void reconfig (QStringList paths, QList< QTime > timers, QStringList opaths)

Public Member Functions

 ConfigDialog (QWidget *parent=0)
 ConfigDialog (QList< CondorAbstractView * > listViews, QList< QTime >)
 ~ConfigDialog ()

Private Slots

void browseJobHeader ()
void browseMachineHeader ()
void browseEditor ()
void errorControl (int, QProcess::ExitStatus)

Private Member Functions

void readPath (QString)
void readSettings ()
void writeSettings ()

Private Attributes

Ui::configDialog ui
 Contains the dialog object designed by QtDesigner.
QString m_dirBrowse
 Contains the directory where the user usually save the files.
bool m_reconfig
 Contains I don't remember what.
QStringList m_paths
 Contains the paths of configuration files.
QList< QTime > m_timers
 Contains the timers that specify when should be refresh the model.
CondorStatusViewm_statusView
 Contains the object machine view.
CondorStatusPagem_statusPage
 Contains the object machine tab configuration.
CondorQViewm_qView
 Contains the object job view.
CondorQPagem_qPage
 Contains the object job tab configuration.
QProcess * m_proc
 Contains the object to execute commands.


Detailed Description

Implements the configuration Dialog.

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


Constructor & Destructor Documentation

ConfigDialog::ConfigDialog ( QWidget *  parent = 0  ) 

Constructor

ConfigDialog::ConfigDialog ( QList< CondorAbstractView * >  listViews,
QList< QTime >  listTime 
)

Constructs a Configuration dialog with a general tab and another tab for every view attached in listViews

Parameters:
listViews of views
listTime of refresh times for models.

ConfigDialog::~ConfigDialog (  ) 

Destructor


Member Function Documentation

void ConfigDialog::accept (  )  [slot]

Accept the changes and close the dialog

void ConfigDialog::apply (  )  [slot]

Apply the changes without closing the dialog

void ConfigDialog::browseConfig (  )  [slot]

Open a dialog to browse the condor.config file

void ConfigDialog::browseEditor (  )  [private, slot]

Open a dialog to select the path of your preferred editor

void ConfigDialog::browseJobDescDialog (  )  [slot]

Open a dialog to select where do you want to save the job descriptions edited by JobDescriptionDialog

void ConfigDialog::browseJobDescriptions (  )  [slot]

Open a dialog to select where do you want to save the job descriptions

void ConfigDialog::browseJobHeader (  )  [private, slot]

Open a dialog to select where is the condorqview.config

void ConfigDialog::browseLocalConfig (  )  [slot]

Open a dialog to browse the condor_config.local file

void ConfigDialog::browseMachineHeader (  )  [private, slot]

Open a dialog to select where is the condorstatusview.config

void ConfigDialog::editConfig (  )  [slot]

If exist an editor configured, it is opened to edit the file specify

void ConfigDialog::editLocalConfig (  )  [slot]

If exist an editor configured, it is opened to edit the file specify

void ConfigDialog::errorControl ( int  exitCode,
QProcess::ExitStatus  exitStatus 
) [private, slot]

emits a dialog with the end of process

Parameters:
exitCode 
exitStatus 

void ConfigDialog::loadConfig (  )  [slot]

Read the config file and apply its configuration

void ConfigDialog::loadLocalConfig (  )  [slot]

Read the config file and apply its configuration

void ConfigDialog::readPath ( QString  line  )  [private]

read the paths

Parameters:
line with path

void ConfigDialog::readSettings (  )  [private]

read the information in QSettings

void ConfigDialog::reconfig ( QStringList  paths,
QList< QTime >  timers,
QStringList  opaths 
) [signal]

Emit a signal to reconfigure the application

Parameters:
paths 
timers 
opaths 

void ConfigDialog::writeSettings (  )  [private]

write a new information in QSettings


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