All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines
Signals | Public Member Functions
MonoStation::SummaryMapOptions Class Reference

Brief description of class still missing. More...

#include <SummaryMapOptions.h>

List of all members.

Signals

void touched ()

Public Member Functions

const Legendcategories () const
StationLine::Label labels () const
int peakIndex () const
StationLine::PeakSelection peakSelection () const
StationResults::PeakValue peakValue () const
int peakValueDecimals () const
void setCategories (const Legend &c)
void setLabels (StationLine::Label l)
void setPeakIndex (int index)
void setPeakSelection (StationLine::PeakSelection v)
void setPeakValue (StationResults::PeakValue v)
void setPeakValueDecimals (int d)
void setShowBubbles (bool b)
bool showBubbles () const
 SummaryMapOptions (QWidget *parent=0)
 ~SummaryMapOptions ()

Detailed Description

Brief description of class still missing.

Full description of class still missing


Constructor & Destructor Documentation

Description of constructor still missing

References TRACE.

    : QWidget(parent)
{
  TRACE;
  setupUi(this);
  _legendProperties=0;
  connect(peakNumber, SIGNAL(clicked()), this, SLOT(commit()));
  connect(peakIndexEdit, SIGNAL(valueChanged(int)), this, SLOT(commit()));
  connect(lowestPeak, SIGNAL(clicked()), this, SLOT(commit()));
  connect(highestPeak, SIGNAL(clicked()), this, SLOT(commit()));
  connect(maxAmplitudePeak, SIGNAL(clicked()), this, SLOT(commit()));
  connect(peakFrequency, SIGNAL(clicked()), this, SLOT(commit()));
  connect(peakAmplitude, SIGNAL(clicked()), this, SLOT(commit()));
  connect(labelStationName, SIGNAL(clicked()), this, SLOT(commit()));
  connect(labelPeakValue, SIGNAL(clicked()), this, SLOT(commit()));
  connect(peakValueDecimalsEdit, SIGNAL(valueChanged(int)), this, SLOT(commit()));
  connect(noLabel, SIGNAL(clicked()), this, SLOT(commit()));
  connect(showBubblesEdit, SIGNAL(clicked()), this, SLOT(commit()));
}

Description of destructor still missing

References TRACE.

{
  TRACE;
}

Member Function Documentation

{return _categories;}

References MonoStation::StationLine::NoLabel, MonoStation::StationLine::PeakValue, and MonoStation::StationLine::StationName.

{
  if(labelPeakValue->isChecked()) {
    return StationLine::PeakValue;
  } else if(noLabel->isChecked()) {
    return StationLine::NoLabel;
  } else {
    return StationLine::StationName;
  }
}
{
  return peakIndexEdit->value()-1;
}

References MonoStation::StationLine::PeakHighest, MonoStation::StationLine::PeakLowest, MonoStation::StationLine::PeakMaximum, and MonoStation::StationLine::PeakNumber.

{
  if(lowestPeak->isChecked()) {
    return StationLine::PeakLowest;
  } else if(highestPeak->isChecked()) {
    return StationLine::PeakHighest;
  } else if(maxAmplitudePeak->isChecked()) {
    return StationLine::PeakMaximum;
  } else {
    return StationLine::PeakNumber;
  }
}
{
  return peakValueDecimalsEdit->value();
}
{_categories=c;}

References MonoStation::StationLine::NoLabel, MonoStation::StationLine::PeakValue, MonoStation::StationLine::StationName, and TRACE.

{
  TRACE;
  switch(l) {
  case StationLine::StationName:
    labelStationName->setChecked(true);
    break;
  case StationLine::PeakValue:
    labelPeakValue->setChecked(true);
    break;
  case StationLine::NoLabel:
    noLabel->setChecked(true);
    break;
  }
}
{
  peakIndexEdit->setValue(index+1);
}

References MonoStation::StationLine::PeakHighest, MonoStation::StationLine::PeakLowest, MonoStation::StationLine::PeakMaximum, and MonoStation::StationLine::PeakNumber.

{
  switch(v) {
  case StationLine::PeakNumber:
    peakNumber->setChecked(true);
    break;
  case StationLine::PeakLowest:
    lowestPeak->setChecked(true);
    break;
  case StationLine::PeakHighest:
    highestPeak->setChecked(true);
    break;
  case StationLine::PeakMaximum:
    maxAmplitudePeak->setChecked(true);
    break;
  }
}

References MonoStation::StationResults::PeakAmplitude, and MonoStation::StationResults::PeakFrequency.

{
  switch(v) {
  case StationResults::PeakFrequency:
    peakFrequency->setChecked(true);
    break;
  case StationResults::PeakAmplitude:
    peakAmplitude->setChecked(true);
    break;
  }
}
{
  peakValueDecimalsEdit->setValue(d);
}
{
  showBubblesEdit->setChecked(b);
}
{
  return showBubblesEdit->isChecked();
}

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