Updraft
1.0
Open source glider flight visualisation tool.
|
Label for the vertical picked line. More...
#include <infotexts.h>
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) |
Label for the vertical picked line.
Updraft::IgcViewer::PickedLabel::PickedLabel | ( | QList< int > * | p, |
QList< QString > * | t | ||
) | [inline] |
void Updraft::IgcViewer::PickedLabel::draw | ( | QPainter * | painter | ) | [virtual] |
Implements Updraft::IgcViewer::Label.
Qt::Orientations Updraft::IgcViewer::PickedLabel::expandingDirections | ( | ) | const [virtual] |
Overridden from QLayoutItem.
Reimplemented from Updraft::IgcViewer::Label.
QSize Updraft::IgcViewer::PickedLabel::maximumSize | ( | ) | const [virtual] |
Reimplemented from Updraft::IgcViewer::Label.
QSize Updraft::IgcViewer::PickedLabel::minimumSize | ( | ) | const [virtual] |
Reimplemented from Updraft::IgcViewer::Label.
QSize Updraft::IgcViewer::PickedLabel::sizeHint | ( | ) | const [virtual] |
Reimplemented from Updraft::IgcViewer::Label.
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] |
QList<int>* Updraft::IgcViewer::PickedLabel::pickedPositions [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] |