[Kst] branches/work/kst/portto4/kst/src/libkstapp
Mike Fenton
mike at staikos.net
Tue Sep 25 19:05:11 CEST 2007
SVN commit 716940 by fenton:
Disabling all currently unused menu items until they have been
implemented.
M +8 -0 datamanager.cpp
--- branches/work/kst/portto4/kst/src/libkstapp/datamanager.cpp #716939:716940
@@ -61,36 +61,44 @@
action = _primitives->addWidget(new DataButton(tr("Matrix")));
widget = _primitives->widgetForAction(action);
+ widget->setEnabled(false);
widget->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Preferred);
//FIXME "String"
action = _dataObjects->addWidget(new DataButton(tr("Curve")));
widget = _dataObjects->widgetForAction(action);
+ widget->setEnabled(false);
widget->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Preferred);
action = _dataObjects->addWidget(new DataButton(tr("Equation")));
widget = _dataObjects->widgetForAction(action);
+ widget->setEnabled(false);
widget->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Preferred);
action = _dataObjects->addWidget(new DataButton(tr("Histogram")));
widget = _dataObjects->widgetForAction(action);
+ widget->setEnabled(false);
widget->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Preferred);
action = _dataObjects->addWidget(new DataButton(tr("Power Spectrum")));
widget = _dataObjects->widgetForAction(action);
+ widget->setEnabled(false);
widget->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Preferred);
action = _dataObjects->addWidget(new DataButton(tr("Event Monitor")));
widget = _dataObjects->widgetForAction(action);
+ widget->setEnabled(false);
widget->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Preferred);
action = _dataObjects->addWidget(new DataButton(tr("Image")));
widget = _dataObjects->widgetForAction(action);
+ widget->setEnabled(false);
widget->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Preferred);
action = _dataObjects->addWidget(new DataButton(tr("CSD")));
widget = _dataObjects->widgetForAction(action);
+ widget->setEnabled(false);
widget->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Preferred);
}
More information about the Kst
mailing list