Commit 0fd1e0df authored by Jan Möbius's avatar Jan Möbius

Reduced UI support

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@16995 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 212be922
......@@ -863,6 +863,13 @@ void DataControlPlugin::saveOnExit(INIFile& _ini){
_ini.add_entry("BoundingBox","targetSelected",tool_->targetSelected->isChecked ());
}
void DataControlPlugin::showReducedUi(bool reduced) {
tool_->boundingBoxWidget->setVisible(!reduced);
tool_->boundingBoxBtn->setVisible(!reduced);
tool_->line_2->setVisible(!reduced);
tool_->visibleDataWidget->setVisible(!reduced);
tool_->visibleDataBtn->setVisible(!reduced);
}
Q_EXPORT_PLUGIN2( datacontrolplugin , DataControlPlugin );
......@@ -395,6 +395,8 @@ class DataControlPlugin : public QObject, BaseInterface, ToolboxInterface, KeyIn
/// Get all elements of the given group
IdList getGroupElements(int _groupId);
void showReducedUi(bool reduced);
/** @} */
public slots:
......
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