All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines
Brief description of class still missing. More...
#include <GraphContentLayerProperties.h>
Public Member Functions | |
| void | addGraph (GraphContent *g) |
| GraphContentLayerProperties (QWidget *parent=0) | |
| void | removeGraph (GraphContent *g) |
| void | reset () |
| ~GraphContentLayerProperties () | |
Brief description of class still missing.
Full description of class still missing
| SciFigs::GraphContentLayerProperties::GraphContentLayerProperties | ( | QWidget * | parent = 0 | ) |
Description of constructor still missing
References TRACE.
: PropertyWidget(parent) { TRACE; setupUi(this); layers->setModel(new LayerPropertiesItem(this)); layers->setItemDelegate(new LayerPropertiesDelegate(this)); layers->setSelectionBehavior(QAbstractItemView::SelectRows); layers->setSelectionMode(QAbstractItemView::ExtendedSelection); layers->setEditTriggers(QAbstractItemView::AllEditTriggers); }
References TRACE.
Referenced by SciFigs::GraphContent::addProperties().
{
TRACE;
if(_graphSet.contains(g)) return;
_graphSet.insert(g);
setGraphList();
on_currentGraphCombo_currentIndexChanged(0);
}
References TRACE.
Referenced by SciFigs::GraphContent::removeProperties().
{
TRACE;
if(!_graphSet.contains(g)) return;
_graphSet.remove(g);
setGraphList();
on_currentGraphCombo_currentIndexChanged(0);
}
| void SciFigs::GraphContentLayerProperties::reset | ( | ) | [virtual] |
Reimplemented from QGpGuiTools::PropertyWidget.
References TRACE.
Referenced by SciFigs::GraphContent::addProperties().
{
TRACE;
static_cast<LayerPropertiesItem *>(layers->model())->setGraph(currentGraph());
}