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 *************************************************************/
CChatDlg::CChatDlg ( QWidget* parent, Qt::WindowFlags f )
CChatDlg::CChatDlg ( QWidget* parent, Qt::WindowFlags f ) :
QDialog ( parent, f )
{
setupUi ( this );

View file

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

View file

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

View file

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