casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Slots | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
casa::LegendPreferences Class Reference

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

#include <LegendPreferences.qo.h>

Inheritance diagram for casa::LegendPreferences:

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 ()
 

Static Private Member Functions

static const QString & LEGEND_VISIBLE ()
 
static const QString & LEGEND_LOCATION ()
 
static const QString & LEGEND_COLOR_BAR ()
 

Private Attributes

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

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 
)
casa::LegendPreferences::~LegendPreferences ( )

Member Function Documentation

void casa::LegendPreferences::accept ( )
privateslot
void casa::LegendPreferences::canvasLegendChange ( )
private
void casa::LegendPreferences::colorBarVisibilityChange ( )
private
void casa::LegendPreferences::curveLabelChange ( )
private
void casa::LegendPreferences::initializeCurveLabels ( )
private
void casa::LegendPreferences::initializeUserPreferences ( )
private
static const QString& casa::LegendPreferences::LEGEND_COLOR_BAR ( )
inlinestaticprivate

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

static const QString& casa::LegendPreferences::LEGEND_LOCATION ( )
inlinestaticprivate

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

static const QString& casa::LegendPreferences::LEGEND_VISIBLE ( )
inlinestaticprivate

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

void casa::LegendPreferences::legendLocationChanged ( int  index)
privateslot
void casa::LegendPreferences::legendVisibilityChanged ( )
privateslot
void casa::LegendPreferences::persist ( )
private
void casa::LegendPreferences::reject ( )
privateslot
void casa::LegendPreferences::show ( )

Member Data Documentation

CanvasHolder* casa::LegendPreferences::canvasHolder
private

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

int casa::LegendPreferences::legendPositionDefault
private

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

bool casa::LegendPreferences::showColorBarDefault
private

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

bool casa::LegendPreferences::showLegendDefault
private

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

Ui::LegendPreferences casa::LegendPreferences::ui
private

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


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