Marble
TourCaptureDialog.cpp
42 connect(ui->openButton, &QAbstractButton::clicked, this, &TourCaptureDialog::loadDestinationFile);
58 QMessageBox::warning(this, tr("Codecs are unavailable"), tr("Supported codecs are not found. (ffmpeg/avconv needs to be installed and in PATH.)"));
61 QString filter = formats.first().name() + QLatin1StringView(" (*.") + formats.first().extension() + QLatin1Char(')');
63 filter += QLatin1StringView(";;") + formats.at(i).name() + QLatin1StringView(" (*.") + formats.at(i).extension() + QLatin1Char(')');
65 const QString defaultFileName = ui->destinationEdit->text().isEmpty() ? m_defaultFileName : ui->destinationEdit->text();
67 const QString destination = QFileDialog::getSaveFileName(this, tr("Save video file"), defaultFileName, filter);
138 ui->rate->setText(QStringLiteral("<font color=\"red\">%1</font>").arg(tr("Video writing failed.")));
156 ui->rate->setText(QStringLiteral("<font color=\"green\">%1</font>").arg(tr("Video export completed.")));
This file contains the headers for MarbleWidget.
QString path(const QString &relativePath)
Binds a QML item to a specific geodetic location in screen coordinates.
Definition AbstractDataPlugin.cpp:23
void clicked(bool checked)
void setValue(int)
void valueChanged(int value)
QString getSaveFileName(QWidget *parent, const QString &caption, const QString &dir, const QString &filter, QString *selectedFilter, Options options)
QLatin1Char at(qsizetype pos) const const
const_reference at(qsizetype i) const const
T & first()
bool isEmpty() const const
qsizetype size() const const
StandardButton warning(QWidget *parent, const QString &title, const QString &text, StandardButtons buttons, StandardButton defaultButton)
void setValue(int val)
void valueChanged(int i)
bool endsWith(QChar c, Qt::CaseSensitivity cs) const const
bool isEmpty() const const
QFuture< void > filter(QThreadPool *pool, Sequence &sequence, KeepFunctor &&filterFunction)
QFuture< ArgsType< Signal > > connect(Sender *sender, Signal signal)
singleShot
bool close()
void setupUi(QWidget *widget)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:15:46 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:15:46 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.