#include <recorder_profile_settings.h>
|
| Ui::RecorderProfileSettings * | ui |
| |
Definition at line 19 of file recorder_profile_settings.h.
◆ RecorderProfileSettings()
| RecorderProfileSettings::RecorderProfileSettings |
( |
QWidget * | parent = nullptr | ) |
|
|
explicit |
Definition at line 25 of file recorder_profile_settings.cpp.
26 : QDialog(parent)
27 ,
ui(
new Ui::RecorderProfileSettings)
28{
30
31 KGuiItem::assign(
ui->buttonBox->button(QDialogButtonBox::Ok), KStandardGuiItem::ok());
32 KGuiItem::assign(
ui->buttonBox->button(QDialogButtonBox::Cancel), KStandardGuiItem::cancel());
33
35 ui->stackedWidget->setCurrentIndex(ArgumentsPageIndex::PageEdit);
36
39}
connect(this, SIGNAL(optionsChanged()), this, SLOT(saveOptions()))
void onLinkActivated(const QString &link)
Ui::RecorderProfileSettings * ui
void onPreviewToggled(bool checked)
QIcon loadIcon(const QString &name)
References connect(), KisIconUtils::loadIcon(), onLinkActivated(), onPreviewToggled(), and ui.
◆ ~RecorderProfileSettings()
| RecorderProfileSettings::~RecorderProfileSettings |
( |
| ) |
|
◆ editProfile()
◆ fillProfile()
◆ onInputChanged
| void RecorderProfileSettings::onInputChanged |
( |
| ) |
|
|
privateslot |
Definition at line 68 of file recorder_profile_settings.cpp.
69{
70 const QString &
name =
ui->editProfileName->text();
71 const QString &
extension =
ui->editFileExtension->text();
72 const QString &arguments =
ui->editFfmpegArguments->toPlainText();
73
74 bool isValid = (!
name.isEmpty()) && (!
extension.isEmpty()) && (!arguments.isEmpty());
75 ui->buttonBox->button(QDialogButtonBox::Ok)->setEnabled(isValid);
76}
const char * name(StandardAction id)
References ui.
◆ onLinkActivated
| void RecorderProfileSettings::onLinkActivated |
( |
const QString & | link | ) |
|
|
privateslot |
◆ onPreviewToggled
| void RecorderProfileSettings::onPreviewToggled |
( |
bool | checked | ) |
|
|
privateslot |
Definition at line 84 of file recorder_profile_settings.cpp.
85{
86 if (checked)
88
89 ui->stackedWidget->setCurrentIndex(checked ? ArgumentsPageIndex::PagePreview : ArgumentsPageIndex::PageEdit);
90}
void requestPreview(QString arguments)
References requestPreview(), and ui.
◆ requestPreview
| void RecorderProfileSettings::requestPreview |
( |
QString | arguments | ) |
|
|
signal |
◆ setPreview()
| void RecorderProfileSettings::setPreview |
( |
const QString & | preview | ) |
|
◆ ui
| Ui::RecorderProfileSettings* RecorderProfileSettings::ui |
|
private |
The documentation for this class was generated from the following files: