X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FATOMSOLVGUI%2FATOMSOLVGUI_TransparencyDlg.cxx;h=c2f9eb560c7760d7f2d4571efff89591f27a2d47;hb=09d22bfba971a0e3cf2c16d2169db21e37b5d495;hp=9f9a660b5626598c1a34a363a713115c0735a0b5;hpb=b9a062b53f4a10d623731ee18e5d040cc27f45df;p=samples%2Fatomsolv.git diff --git a/src/ATOMSOLVGUI/ATOMSOLVGUI_TransparencyDlg.cxx b/src/ATOMSOLVGUI/ATOMSOLVGUI_TransparencyDlg.cxx index 9f9a660..c2f9eb5 100644 --- a/src/ATOMSOLVGUI/ATOMSOLVGUI_TransparencyDlg.cxx +++ b/src/ATOMSOLVGUI/ATOMSOLVGUI_TransparencyDlg.cxx @@ -1,4 +1,4 @@ -// Copyright (C) 2007-2014 CEA/DEN, EDF R&D, OPEN CASCADE +// Copyright (C) 2007-2022 CEA/DEN, EDF R&D, OPEN CASCADE // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public @@ -39,7 +39,7 @@ ATOMSOLVGUI_TransparencyDlg::ATOMSOLVGUI_TransparencyDlg( QWidget* parent, const resize(152, 107); setWindowTitle(tr("TRANSPARENCY_DLG_TITLE")); - setSizeGripEnabled(TRUE); + setSizeGripEnabled(true); QGridLayout* lay = new QGridLayout(this); lay->setSpacing(6); lay->setMargin(11); @@ -53,13 +53,13 @@ ATOMSOLVGUI_TransparencyDlg::ATOMSOLVGUI_TransparencyDlg( QWidget* parent, const QPushButton* buttonOk = new QPushButton( GroupButtons ); buttonOk->setText( tr( "BUT_OK" ) ); - buttonOk->setAutoDefault( TRUE ); - buttonOk->setDefault( TRUE ); + buttonOk->setAutoDefault( true ); + buttonOk->setDefault( true ); QPushButton* buttonHelp = new QPushButton( GroupButtons ); buttonHelp->setText( tr( "BUT_HELP" ) ); - buttonHelp->setAutoDefault( TRUE ); - buttonHelp->setDefault( TRUE ); + buttonHelp->setAutoDefault( true ); + buttonHelp->setDefault( true ); GroupButtonsLayout->addWidget( buttonOk, 0, 0 ); GroupButtonsLayout->addItem( new QSpacerItem( 0, 0, QSizePolicy::Expanding, QSizePolicy::Minimum), 0, 1 );