All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines
Public Types | Public Member Functions
SciFigs::LegendProperties Class Reference

Brief description of class still missing. More...

#include <LegendProperties.h>

Inheritance diagram for SciFigs::LegendProperties:
QGpGuiTools::PropertyWidget

List of all members.

Public Types

enum  Properties { Legend }

Public Member Functions

const SciFigs::Legendlegend ()
 LegendProperties (QWidget *parent=0)
void setLegend (const SciFigs::Legend &legend)
void setPropertySections (LegendTable::PropertySections s=LegendTable::All)
void setReadOnlyText (bool ro)

Detailed Description

Brief description of class still missing.

Full description of class still missing


Member Enumeration Documentation

Enumerator:
Legend 
{Legend};

Constructor & Destructor Documentation

References QGpGuiTools::PropertyWidget::addProperty(), and TRACE.

    : PropertyWidget(parent)
{
  TRACE;
  setupUi(this);
  legendTable->setLegend(&_legend);
  oneColor->setChecked(true);
  addProperty(Legend, legendTable);
}

Member Function Documentation

Referenced by ProcessStatus::changeLegend(), and setLegend().

{return _legend;}

References SciFigs::Legend::count(), legend(), and TRACE.

Referenced by ProcessStatus::changeLegend(), and SciFigs::CurveBrowser::legend().

{
  TRACE;
  penNumber->setMinimum(1);
  penNumber->setMaximum(1024);
  penNumber->setValue(legend.count());

  _legend=legend;
  legendTable->setLegend(&_legend);
}
void SciFigs::LegendProperties::setPropertySections ( LegendTable::PropertySections  s = LegendTable::All)

References TRACE.

Referenced by SciFigs::LegendWidget::addProperties(), ProcessStatus::changeLegend(), and SciFigs::CurveBrowser::legend().

{
  TRACE;
  legendTable->setPropertySections(s);
}

References TRACE.

Referenced by ProcessStatus::changeLegend(), and SciFigs::CurveBrowser::legend().

{
  TRACE;
  penNumber->setEnabled(false);
  legendTable->setReadOnlyText(ro);
}

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines