Updraft  1.0
Open source glider flight visualisation tool.
Updraft::IgcViewer::PickedLabel Class Reference

Label for the vertical picked line. More...

#include <infotexts.h>

Inheritance diagram for Updraft::IgcViewer::PickedLabel:
Collaboration diagram for Updraft::IgcViewer::PickedLabel:

List of all members.

Public Member Functions

void draw (QPainter *painter)
 PickedLabel (QList< int > *p, QList< QString > *t)
Qt::Orientations expandingDirections () const
 Overridden from QLayoutItem.
QSize maximumSize () const
QSize minimumSize () const
QSize sizeHint () const

Private Attributes

QList< int > * pickedPositions
QList< QString > * texts

Static Private Attributes

static const int MIN_WIDTH = 100
static const int MIN_HEIGHT = 70
static const int TEXT_WIDTH = 67
static const int SPACE = 2
static const QPen LABEL_PEN = QPen(Qt::white)

Detailed Description

Label for the vertical picked line.


Constructor & Destructor Documentation

Updraft::IgcViewer::PickedLabel::PickedLabel ( QList< int > *  p,
QList< QString > *  t 
) [inline]

Member Function Documentation

void Updraft::IgcViewer::PickedLabel::draw ( QPainter *  painter) [virtual]
Qt::Orientations Updraft::IgcViewer::PickedLabel::expandingDirections ( ) const [virtual]

Overridden from QLayoutItem.

Reimplemented from Updraft::IgcViewer::Label.

Reimplemented from Updraft::IgcViewer::Label.

Reimplemented from Updraft::IgcViewer::Label.

QSize Updraft::IgcViewer::PickedLabel::sizeHint ( ) const [virtual]

Reimplemented from Updraft::IgcViewer::Label.


Member Data Documentation

const QPen Updraft::IgcViewer::PickedLabel::LABEL_PEN = QPen(Qt::white) [static, private]
const int Updraft::IgcViewer::PickedLabel::MIN_HEIGHT = 70 [static, private]
const int Updraft::IgcViewer::PickedLabel::MIN_WIDTH = 100 [static, private]
const int Updraft::IgcViewer::PickedLabel::SPACE = 2 [static, private]
const int Updraft::IgcViewer::PickedLabel::TEXT_WIDTH = 67 [static, private]
QList<QString>* Updraft::IgcViewer::PickedLabel::texts [private]

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