#include <TabStructureRatiosPreferences.h>
Public Slots | |
| void | setPreferences () |
Public Member Functions | |
| TabStructureRatiosPreferences (QWidget *parent=0, Qt::WFlags fl=0) | |
| TabStructureRatiosPreferences::TabStructureRatiosPreferences | ( | QWidget * | parent = 0, |
| Qt::WFlags | fl = 0 |
||
| ) |
References structureRatiosPrefs, QGpCoreTools::tr(), TRACE, and StructureRatiosPrefs::visibleLayers().
: QWidget(parent, fl)
{
TRACE;
setupUi(this);
options->visibleLayerGroup->setTitle(tr("Structure options"));
options->setVisibleLayers(structureRatiosPrefs.visibleLayers());
}
| void TabStructureRatiosPreferences::setPreferences | ( | ) | [slot] |
References StructureRatiosPrefs::load(), StructureRatiosPrefs::setVisibleLayers(), structureRatiosPrefs, and TRACE.
Referenced by StructureRatiosPlugin::setPreferences().
{
TRACE;
structureRatiosPrefs.setVisibleLayers(options->visibleLayers());
structureRatiosPrefs.load();
}