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

Provides a quick view of a particular display property that has been set. More...

#include <DisplayLabel.qo.h>

Inheritance diagram for casa::DisplayLabel:

Public Member Functions

 DisplayLabel (int characterCount, QWidget *parent=0)
 
void setEmptyColor (QColor color)
 Sets the background color that will be used when no text is displayed. More...
 
bool isEmpty () const
 Returns whether or not the contents contains text. More...
 
QString getText () const
 Returns the text contents. More...
 
virtual ~DisplayLabel ()
 

Private Member Functions

void setBackgroundColor ()
 

Private Attributes

QColor bgColor
 

Detailed Description

Provides a quick view of a particular display property that has been set.

For example, the data display type could be raster, contour, or vector. The DisplayLabel corresponding to the display type will show 'R', 'C', or 'V'.

Definition at line 40 of file DisplayLabel.qo.h.

Constructor & Destructor Documentation

casa::DisplayLabel::DisplayLabel ( int  characterCount,
QWidget *  parent = 0 
)
virtual casa::DisplayLabel::~DisplayLabel ( )
virtual

Member Function Documentation

QString casa::DisplayLabel::getText ( ) const

Returns the text contents.

bool casa::DisplayLabel::isEmpty ( ) const

Returns whether or not the contents contains text.

void casa::DisplayLabel::setBackgroundColor ( )
private
void casa::DisplayLabel::setEmptyColor ( QColor  color)

Sets the background color that will be used when no text is displayed.

Member Data Documentation

QColor casa::DisplayLabel::bgColor
private

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


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