mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-15 12:50:37 +05:00
Fix for bug IPAL19502 (Qt4 porting. Edit Group. Ok (Apply) doesn't become active after change of color).
This commit is contained in:
parent
135ff2be87
commit
d4a2b286c0
@ -379,6 +379,8 @@ void SMESHGUI_GroupDlg::initDialog(bool create)
|
|||||||
connect(myGroupBtn, SIGNAL(clicked()), this, SLOT(setCurrentSelection()));
|
connect(myGroupBtn, SIGNAL(clicked()), this, SLOT(setCurrentSelection()));
|
||||||
connect(myGeomGroupBtn, SIGNAL(toggled(bool)), this, SLOT(onGeomSelectionButton(bool)));
|
connect(myGeomGroupBtn, SIGNAL(toggled(bool)), this, SLOT(onGeomSelectionButton(bool)));
|
||||||
|
|
||||||
|
connect(myColorBtn, SIGNAL(changed( QColor )), this, SLOT(onColorChanged( QColor )));
|
||||||
|
|
||||||
connect(myOKBtn, SIGNAL(clicked()), this, SLOT(onOK()));
|
connect(myOKBtn, SIGNAL(clicked()), this, SLOT(onOK()));
|
||||||
connect(myApplyBtn, SIGNAL(clicked()), this, SLOT(onApply()));
|
connect(myApplyBtn, SIGNAL(clicked()), this, SLOT(onApply()));
|
||||||
connect(myCloseBtn, SIGNAL(clicked()), this, SLOT(onClose()));
|
connect(myCloseBtn, SIGNAL(clicked()), this, SLOT(onClose()));
|
||||||
@ -633,6 +635,15 @@ void SMESHGUI_GroupDlg::onGrpTypeChanged (int id)
|
|||||||
myGrpTypeId = id;
|
myGrpTypeId = id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//=================================================================================
|
||||||
|
// function : onColorChanged()
|
||||||
|
// purpose : Color button management
|
||||||
|
//=================================================================================
|
||||||
|
void SMESHGUI_GroupDlg::onColorChanged(QColor theColor)
|
||||||
|
{
|
||||||
|
updateButtons();
|
||||||
|
}
|
||||||
|
|
||||||
//=================================================================================
|
//=================================================================================
|
||||||
// function : setSelectionMode()
|
// function : setSelectionMode()
|
||||||
// purpose : Radio button management
|
// purpose : Radio button management
|
||||||
|
@ -81,6 +81,7 @@ public slots:
|
|||||||
private slots:
|
private slots:
|
||||||
void onTypeChanged( int );
|
void onTypeChanged( int );
|
||||||
void onGrpTypeChanged( int );
|
void onGrpTypeChanged( int );
|
||||||
|
void onColorChanged( QColor );
|
||||||
|
|
||||||
void onOK();
|
void onOK();
|
||||||
void onClose();
|
void onClose();
|
||||||
|
Loading…
Reference in New Issue
Block a user