Version: 8.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
SalomeApp_CheckFileDlg Class Reference

#include <SalomeApp_CheckFileDlg.h>

Inheritance diagram for SalomeApp_CheckFileDlg:
Inheritance graph

Public Member Functions

 SalomeApp_CheckFileDlg (QWidget *, bool open, const QString &theCheckBoxName, bool showQuickDir=true, bool modal=true)
 
 SalomeApp_CheckFileDlg (QWidget *, bool open, const QStringList &theCheckBoxNames, bool showQuickDir=true, bool modal=true, const QList< QWidget * > &=QList< QWidget * >(), const bool wdgAfter=false)
 
virtual ~SalomeApp_CheckFileDlg ()
 
void SetChecked (bool check, int checkBoxId=0)
 
bool IsChecked (int checkBoxId=0) const
 
- Public Member Functions inherited from SUIT_FileDlg
 SUIT_FileDlg (QWidget *, bool, bool=true, bool=true)
 Constructor. More...
 
virtual ~SUIT_FileDlg ()
 Destructor. More...
 
bool isOpenDlg () const
 Check if the dialog box is used for opening or saving the file. More...
 
bool checkPermissions () const
 Get 'check file permissions' flag. More...
 
void setCheckPermissions (const bool)
 Set 'check file permissions' flag. More...
 
SUIT_FileValidatorvalidator () const
 Get file validator. More...
 
void setValidator (SUIT_FileValidator *)
 Set file validator. More...
 
bool addWidgets (QWidget *, QWidget *, QWidget *)
 Adds the specified widgets to the bottom of the file dialog. More...
 
QStringList selectedFiles () const
 Get list of selected files. More...
 
QString selectedFile () const
 Get selected file. More...
 
void selectFile (const QString &)
 Selects current file. More...
 

Protected Attributes

QList< QCheckBox * > myCheckBoxes
 

Additional Inherited Members

- Static Public Member Functions inherited from SUIT_FileDlg
static QString getLastVisitedDirectory ()
 Get last visited directory. More...
 
static QString getFileName (QWidget *, const QString &, const QStringList &, const QString &=QString(), const bool=true, const bool=true, SUIT_FileValidator *=0)
 Show dialog box for the file opening/saving. More...
 
static QString getFileName (QWidget *, const QString &, const QString &, const QString &=QString(), const bool=true, const bool=true, SUIT_FileValidator *=0)
 Show dialog box for the file opening/saving.This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. This method can be used to select the file for opening or saving. The behavior is defined by the open parameter. Note, that selection validation depends on the dialog mode used. More...
 
static QStringList getOpenFileNames (QWidget *, const QString &, const QStringList &, const QString &=QString(), const bool=true, SUIT_FileValidator *=0)
 Show dialog box for the multiple files selection. More...
 
static QStringList getOpenFileNames (QWidget *, const QString &, const QString &, const QString &=QString(), const bool=true, SUIT_FileValidator *=0)
 Show dialog box for the multiple file opening.This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. If initial parameter is not null string it is used as starting directory or file at which dialog box is opened. More...
 
static QString getExistingDirectory (QWidget *, const QString &, const QString &=QString(), const bool=true, SUIT_FileValidator *=0)
 Show dialog box for the existing directory selection. More...
 
static QString getLastVisitedPath ()
 Get last visited path. More...
 
- Protected Slots inherited from SUIT_FileDlg
void accept ()
 Called when the user presses "Open"or "Save" button. More...
 
void quickDir (const QString &)
 Called when user selects directory from the "Quick Dir" combo box. More...
 
void addQuickDir ()
 Called when user presses "Quick Dir Add" button. More...
 
- Protected Member Functions inherited from SUIT_FileDlg
virtual bool event (QEvent *)
 Customize events processing. More...
 
QLineEditlineEdit () const
 Get line edit which is used to enter file name. More...
 
virtual bool acceptData ()
 Validate user selection. More...
 
QString addExtension (const QString &) const
 Add an extension to the specified file name. More...
 
bool processPath (const QString &)
 Processes selection : tries to set specified sirectory or filename as current file dialog selection. More...
 
void addFilter (const QString &)
 Add file filter and activates it. More...
 
- Static Protected Member Functions inherited from SUIT_FileDlg
static bool hasWildCards (const QString &)
 Check if the string contains wildcard symbols. More...
 

Constructor & Destructor Documentation

SalomeApp_CheckFileDlg::SalomeApp_CheckFileDlg ( QWidget parent,
bool  open,
const QString &  theCheckBoxName,
bool  showQuickDir = true,
bool  modal = true 
)

Constructor

References myCheckBoxes.

SalomeApp_CheckFileDlg::SalomeApp_CheckFileDlg ( QWidget parent,
bool  open,
const QStringList &  theCheckBoxNames,
bool  showQuickDir = true,
bool  modal = true,
const QList< QWidget * > &  wdgList = QListQWidget* >(),
const bool  wdgAfter = false 
)

Constructor

References myCheckBoxes.

SalomeApp_CheckFileDlg::~SalomeApp_CheckFileDlg ( )
virtual

Destructor

Member Function Documentation

bool SalomeApp_CheckFileDlg::IsChecked ( int  checkBoxId = 0) const

Is checked?

Return values
boolean- true, check box is checked, else false.

References myCheckBoxes.

void SalomeApp_CheckFileDlg::SetChecked ( bool  check,
int  checkBoxId = 0 
)

Sets checked.

References myCheckBoxes.

Member Data Documentation

QList< QCheckBox* > SalomeApp_CheckFileDlg::myCheckBoxes
protected

The documentation for this class was generated from the following files: