8 #include "ui_modelconverterxsetupcomponent.h"
17 CModelConverterXSetupComponent::CModelConverterXSetupComponent(
QWidget *parent)
23 ui->le_McxBinary->setText(m_setting.
get());
28 void CModelConverterXSetupComponent::selectBinary()
34 ui->le_McxBinary->setText(fileName);
38 void CModelConverterXSetupComponent::saveSettings()
40 const QString t = ui->le_McxBinary->text();
42 CLogMessage::preformatted(msg);
Setup to start ModelConverterX.
virtual ~CModelConverterXSetupComponent()
Dtor.
CStatusMessage setAndSave(const T &value, qint64 timestamp=0)
Write and save in the same step. Must be called from the thread in which the owner lives.
T get() const
Get a copy of the current value.
Streamable status message, e.g.
High level reusable GUI components.
Free functions in swift::misc.
QString getOpenFileName(QWidget *parent, const QString &caption, const QString &dir, const QString &filter, QString *selectedFilter, QFileDialog::Options options)
QMetaObject::Connection connect(const QObject *sender, PointerToMemberFunction signal, Functor functor)
QString tr(const char *sourceText, const char *disambiguation, int n)
bool isEmpty() const const