6 #include "ui_simbriefdownloaddialog.h"
8 using namespace swift::misc::aviation;
12 CSimBriefDownloadDialog::CSimBriefDownloadDialog(
QWidget *parent)
23 return { ui->le_SimBriefURL->text().trimmed(), ui->le_SimBriefUsername->text().trimmed() };
28 ui->le_SimBriefURL->setText(data.
getUrl());
29 ui->le_SimBriefUsername->setText(data.
getUsername());
void setSimBriefData(const swift::misc::aviation::CSimBriefData &data)
Set UI values from data.
~CSimBriefDownloadDialog()
Dtor.
swift::misc::aviation::CSimBriefData getSimBriefData() const
SimBrief data.
T get() const
Get a copy of the current value.
CStatusMessage set(const typename Trait::type &value, qint64 timestamp=0)
Write a new value. Must be called from the thread in which the owner lives.
Value object for a flight plan.
const QString & getUrl() const
Get URL.
const QString & getUsername() const
Get username.
High level reusable GUI components.
WindowContextHelpButtonHint