set min/max buttons to dialog window boarder
This commit is contained in:
parent
605edf3005
commit
839576d96f
4 changed files with 8 additions and 5 deletions
|
@ -26,7 +26,8 @@
|
|||
|
||||
|
||||
/* Implementation *************************************************************/
|
||||
CChatDlg::CChatDlg ( QWidget* parent, Qt::WindowFlags f )
|
||||
CChatDlg::CChatDlg ( QWidget* parent, Qt::WindowFlags f ) :
|
||||
QDialog ( parent, f )
|
||||
{
|
||||
setupUi ( this );
|
||||
|
||||
|
|
|
@ -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 )
|
||||
{
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue