casa
5.7.0-16
|
Provides a quick view of a particular display property that has been set. More...
#include <DisplayLabel.qo.h>
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 |
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.
casa::DisplayLabel::DisplayLabel | ( | int | characterCount, |
QWidget * | parent = 0 |
||
) |
|
virtual |
QString casa::DisplayLabel::getText | ( | ) | const |
Returns the text contents.
bool casa::DisplayLabel::isEmpty | ( | ) | const |
Returns whether or not the contents contains text.
|
private |
void casa::DisplayLabel::setEmptyColor | ( | QColor | color | ) |
Sets the background color that will be used when no text is displayed.
|
private |
Definition at line 66 of file DisplayLabel.qo.h.