#include "STD_CloseDlg.h"
-#include <qpushbutton.h>
-#include <qhbuttongroup.h>
-#include <qlayout.h>
#include <qlabel.h>
+#include <qlayout.h>
+#include <qpushbutton.h>
#include <qmessagebox.h>
+#include <qhbuttongroup.h>
#ifndef WNT
using namespace std;
#endif
-//================================================================================
/*!
* \brief creates a Close dialog box
* \param parent a parent widget
* \param modal bool argument, if true the dialog box is a modal dialog box
* \param f style flags
- *
*/
-//================================================================================
-STD_CloseDlg::STD_CloseDlg ( QWidget * parent, bool modal, WFlags f )
- : QDialog ( parent, "", TRUE, WStyle_Customize | WStyle_NormalBorder | WStyle_Title | WStyle_SysMenu )
+STD_CloseDlg::STD_CloseDlg( QWidget* parent, bool modal, WFlags f )
+: QDialog( parent, "", true, WStyle_Customize | WStyle_NormalBorder | WStyle_Title | WStyle_SysMenu )
{
- setSizeGripEnabled ( TRUE ) ;
+ setSizeGripEnabled( true );
setCaption( tr( "CLOSE_DLG_CAPTION" ) );
QVBoxLayout* m_vbL = new QVBoxLayout( this );
- m_vbL->setMargin( 11 ); m_vbL->setSpacing( 6 );
+ m_vbL->setMargin( 11 );
+ m_vbL->setSpacing( 6 );
- QLabel* m_lIcon = new QLabel (this, "m_lDescr");
+ QLabel* m_lIcon = new QLabel( this, "m_lDescr" );
QPixmap pm = QMessageBox::standardIcon( QMessageBox::Warning );
m_lIcon->setPixmap( pm );
m_lIcon->setScaledContents( false );
#include <qlistbox.h>
#include <qpushbutton.h>
-#ifndef WNT
-using namespace std;
-#endif
-
#define SPACING_SIZE 6
#define MARGIN_SIZE 11
#define MIN_LISTBOX_WIDTH 150
#define MIN_LISTBOX_HEIGHT 100
-//================================================================================
-/*! Public -
- * \brief creates a Load study dialog box
- * \param parent a parent widget
- * \param modal bool argument, if true the dialog box is a modal dialog box
- * \param f style flags
- *
- */
-//================================================================================
+/*!
+* \brief creates a Load study dialog box
+* \param parent a parent widget
+* \param modal bool argument, if true the dialog box is a modal dialog box
+* \param f style flags
+*/
+
STD_LoadStudiesDlg::STD_LoadStudiesDlg( QWidget* parent, bool modal, WFlags fl )
- : QDialog(parent, "STD_LoadStudiesDlg", modal, WStyle_Customize | WStyle_NormalBorder | WStyle_Title | WStyle_SysMenu)
+: QDialog( parent, "STD_LoadStudiesDlg", modal, WStyle_Customize | WStyle_NormalBorder | WStyle_Title | WStyle_SysMenu )
{
resize( 321, 181 );
setCaption( tr("DLG_LOAD_STUDY_CAPTION") );