From: stv Date: Fri, 11 Nov 2005 08:02:27 +0000 (+0000) Subject: no message X-Git-Tag: V3_1_0a3~31 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=494791e6fa8290bc7c0c34a3c590b93490b8e0a4;p=modules%2Fgui.git no message --- diff --git a/src/STD/STD_CloseDlg.cxx b/src/STD/STD_CloseDlg.cxx index a894f54b3..4db2d0bd9 100644 --- a/src/STD/STD_CloseDlg.cxx +++ b/src/STD/STD_CloseDlg.cxx @@ -1,35 +1,33 @@ #include "STD_CloseDlg.h" -#include -#include -#include #include +#include +#include #include +#include #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 ); diff --git a/src/STD/STD_LoadStudiesDlg.cxx b/src/STD/STD_LoadStudiesDlg.cxx index f34716a59..0c876139c 100644 --- a/src/STD/STD_LoadStudiesDlg.cxx +++ b/src/STD/STD_LoadStudiesDlg.cxx @@ -5,26 +5,20 @@ #include #include -#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") ); diff --git a/src/STD/STD_LoadStudiesDlg.h b/src/STD/STD_LoadStudiesDlg.h index 52786808f..794dccf6a 100644 --- a/src/STD/STD_LoadStudiesDlg.h +++ b/src/STD/STD_LoadStudiesDlg.h @@ -1,16 +1,18 @@ #ifndef STD_LOADSTUDIESDLG_H #define STD_LOADSTUDIESDLG_H -#include -#include #include + +#include +#include + +class QLabel; +class QListBox; +class QPushButton; class QVBoxLayout; class QHBoxLayout; class QGridLayout; -class QLabel; -class QListBox; class QListBoxItem; -class QPushButton; /*!\class STD_LoadStudiesDlg * \brief Describes a dialog box that gives a list of opened studies.