set min/max buttons to dialog window boarder

This commit is contained in:
Volker Fischer 2008-08-13 16:45:35 +00:00
parent 605edf3005
commit 839576d96f
4 changed files with 8 additions and 5 deletions

View file

@ -26,7 +26,8 @@
/* Implementation *************************************************************/ /* Implementation *************************************************************/
CChatDlg::CChatDlg ( QWidget* parent, Qt::WindowFlags f ) CChatDlg::CChatDlg ( QWidget* parent, Qt::WindowFlags f ) :
QDialog ( parent, f )
{ {
setupUi ( this ); setupUi ( this );

View file

@ -26,8 +26,9 @@
/* Implementation *************************************************************/ /* Implementation *************************************************************/
CLlconClientDlg::CLlconClientDlg ( CClient* pNCliP, QWidget* parent ) CLlconClientDlg::CLlconClientDlg ( CClient* pNCliP, QWidget* parent,
: pClient ( pNCliP ), QDialog ( parent ), Qt::WindowFlags f )
: pClient ( pNCliP ), QDialog ( parent, f ),
ClientSettingsDlg ( pNCliP, parent, Qt::WindowMinMaxButtonsHint ), ClientSettingsDlg ( pNCliP, parent, Qt::WindowMinMaxButtonsHint ),
ChatDlg ( parent, Qt::WindowMinMaxButtonsHint ) ChatDlg ( parent, Qt::WindowMinMaxButtonsHint )
{ {

View file

@ -69,7 +69,8 @@ class CLlconClientDlg : public QDialog, private Ui_CLlconClientDlgBase
Q_OBJECT Q_OBJECT
public: public:
CLlconClientDlg ( CClient* pNCliP, QWidget* parent = 0 ); CLlconClientDlg ( CClient* pNCliP, QWidget* parent = 0,
Qt::WindowFlags f = 0 );
virtual ~CLlconClientDlg(); virtual ~CLlconClientDlg();
protected: protected:

View file

@ -153,7 +153,7 @@ int main ( int argc, char** argv )
Settings.Load ( strIniFileName.c_str() ); Settings.Load ( strIniFileName.c_str() );
// GUI object // GUI object
CLlconClientDlg ClientDlg ( &Client, 0 ); CLlconClientDlg ClientDlg ( &Client, 0, Qt::WindowMinMaxButtonsHint );
// set main window // set main window
pMainWindow = &ClientDlg; pMainWindow = &ClientDlg;