swift
|
Dialog to get a correct altitude. More...
Public Types | |
enum | Mode { Unknown , StringOnly , VFR , FlightFlevelInFeet , MetricLevelInTensOfMeters , AltitudeInHundredsOfFeet , AltitudeInTensOfMeters , AltitudeInFeet , AltitudeInMeters , AltitudeInMetersConvertedToFeet } |
Which mode used to enter. | |
Public Member Functions | |
CAltitudeDialog (QWidget *parent=nullptr) | |
Constructor. More... | |
virtual | ~CAltitudeDialog () |
Destructor. | |
Mode | getMode () const |
Get mode. | |
void | setVatsim (bool vatsim) |
Set VATSIM flag. | |
bool | isStringOnly () const |
Manual string mode. | |
const swift::misc::aviation::CAltitude & | getAltitude () const |
Altitude string. | |
const QString & | getAltitudeString () const |
Altitude string. | |
Dialog to get a correct altitude.
Definition at line 23 of file altitudedialog.h.
|
explicit |
Constructor.
override default button, not working QPushButton *okBtn = ui->bb_AltitudeDialog->button(QDialogButtonBox::Ok); okBtn->setAutoDefault(false); okBtn->setDefault(false); QPushButton *caBtn = ui->bb_AltitudeDialog->button(QDialogButtonBox::Cancel); caBtn->setAutoDefault(false); caBtn->setDefault(false);
Definition at line 21 of file altitudedialog.cpp.