casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Private Slots | Private Member Functions | Private Attributes | Static Private Attributes
casa::LegendPreferences Class Reference

Allows the user to customize properties of the spectral profile legend. More...

#include <LegendPreferences.qo.h>

List of all members.

Public Member Functions

 LegendPreferences (CanvasHolder *canvas, QWidget *parent=0)
void show ()
 ~LegendPreferences ()

Private Slots

void legendVisibilityChanged ()
void legendLocationChanged (int index)
void accept ()
void reject ()

Private Member Functions

void initializeUserPreferences ()
void initializeCurveLabels ()
void curveLabelChange ()
void persist ()
void canvasLegendChange ()
void colorBarVisibilityChange ()

Private Attributes

bool showLegendDefault
bool showColorBarDefault
int legendPositionDefault
Ui::LegendPreferences ui
CanvasHoldercanvasHolder

Static Private Attributes

static const QString LEGEND_VISIBLE
static const QString LEGEND_LOCATION
static const QString LEGEND_COLOR_BAR

Detailed Description

Allows the user to customize properties of the spectral profile legend.

Definition at line 37 of file LegendPreferences.qo.h.


Constructor & Destructor Documentation

casa::LegendPreferences::LegendPreferences ( CanvasHolder canvas,
QWidget *  parent = 0 
)

Member Function Documentation

void casa::LegendPreferences::accept ( ) [private, slot]
void casa::LegendPreferences::legendLocationChanged ( int  index) [private, slot]
void casa::LegendPreferences::reject ( ) [private, slot]

Member Data Documentation

Definition at line 68 of file LegendPreferences.qo.h.

const QString casa::LegendPreferences::LEGEND_COLOR_BAR [static, private]

Definition at line 66 of file LegendPreferences.qo.h.

const QString casa::LegendPreferences::LEGEND_LOCATION [static, private]

Definition at line 65 of file LegendPreferences.qo.h.

const QString casa::LegendPreferences::LEGEND_VISIBLE [static, private]

Definition at line 64 of file LegendPreferences.qo.h.

Definition at line 62 of file LegendPreferences.qo.h.

Definition at line 61 of file LegendPreferences.qo.h.

Definition at line 60 of file LegendPreferences.qo.h.

Ui::LegendPreferences casa::LegendPreferences::ui [private]

Definition at line 67 of file LegendPreferences.qo.h.


The documentation for this class was generated from the following file: