1 #include "SalomeApp_CheckFileDlg.h"
5 #include <qpushbutton.h>
10 SalomeApp_CheckFileDlg::SalomeApp_CheckFileDlg( QWidget* parent, bool open, const QString& theCheckBoxName, bool showQuickDir, bool modal) :
11 SUIT_FileDlg( parent, open, showQuickDir, modal )
13 myCheckBox = new QCheckBox( theCheckBoxName, this );
14 QLabel* label = new QLabel("", this);
15 QPushButton* pb = new QPushButton(this);
16 addWidgets( label, myCheckBox, pb );
23 SalomeApp_CheckFileDlg::~SalomeApp_CheckFileDlg()
29 void SalomeApp_CheckFileDlg::SetChecked( bool check )
31 myCheckBox->setChecked(check);
35 *\retval boolean - true, check box is checked, else false.
37 bool SalomeApp_CheckFileDlg::IsChecked() const
39 return myCheckBox->isChecked();