An update will be applied December 9th, between 12PM and 1:00PM EST (UTC -5:00). The site may be slow during that time.

Commit e781e135 authored by allens's avatar allens
Browse files

added the ability to hide/show a custom gui widget

git-svn-id: http://visit.ilight.com/svn/visit/trunk/src@27901 18c085ea-50e0-402c-830e-de6fd14e8384
parent 4096d343
......@@ -692,8 +692,15 @@ QvisSimulationWindow::UpdateUIComponent(QWidget *window, const QString &name,
ui->blockSignals(true);
if (ui->inherits("QWidget"))
{
((QWidget *)ui)->setEnabled(e);
if( value == QString("HIDE_WIDGET") )
((QWidget *)ui)->hide();
else
((QWidget *)ui)->show();
}
if (ui->inherits("QLabel"))
{
debug5 << "found label " << name.toStdString() << " text = "
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment