diff --git a/mainwindow.ui b/mainwindow.ui
index 63f1a40..5eed696 100644
--- a/mainwindow.ui
+++ b/mainwindow.ui
@@ -7,7 +7,7 @@
0
0
340
- 239
+ 249
@@ -25,7 +25,14 @@
- -
+
-
+
+
+ Settings
+
+
+
+ -
Log
@@ -37,14 +44,7 @@
- -
-
-
- Settings
-
-
-
- -
+
-
Open request history
@@ -60,7 +60,7 @@
0
0
340
- 22
+ 24
diff --git a/settingsdialog.cpp b/settingsdialog.cpp
index 18949ed..8aeb47b 100644
--- a/settingsdialog.cpp
+++ b/settingsdialog.cpp
@@ -83,6 +83,7 @@ SettingsDialog::SettingsDialog(QWidget *parent) : QDialog(parent), ui(new Ui::Se
ui->captureCursor->setEnabled(false);
ui->captureCursor->setText(tr("Capture cursor (disabled: implementation missing)"));
#endif
+ ui->fpsMax->setValue(settings::settings().value("recording/framerate", 30).toInt());
}
void SettingsDialog::setScheme(QString scheme) {
@@ -171,3 +172,7 @@ void SettingsDialog::on_cropX_valueChanged(int arg1) {
void SettingsDialog::on_cropY_valueChanged(int arg1) {
settings::settings().setValue("cropy", arg1);
}
+
+void SettingsDialog::on_fpsMax_valueChanged(int arg1) {
+ settings::settings().setValue("recording/framerate", arg1);
+}
diff --git a/settingsdialog.hpp b/settingsdialog.hpp
index a75ea21..3b8b0d8 100644
--- a/settingsdialog.hpp
+++ b/settingsdialog.hpp
@@ -38,6 +38,8 @@ private slots:
void on_cropY_valueChanged(int arg1);
+ void on_fpsMax_valueChanged(int arg1);
+
private:
Ui::SettingsDialog *ui;
};
diff --git a/settingsdialog.ui b/settingsdialog.ui
index bde0889..a10374b 100644
--- a/settingsdialog.ui
+++ b/settingsdialog.ui
@@ -7,7 +7,7 @@
0
0
485
- 638
+ 655
@@ -88,6 +88,13 @@
+ -
+
+
+ -1
+
+
+
-
@@ -102,13 +109,6 @@
- -
-
-
- -1
-
-
-
-
@@ -137,7 +137,7 @@
- -
+
-
Qt::Horizontal
@@ -154,13 +154,13 @@
- -
+
-
Advanced
-
-
+
-
@@ -176,7 +176,7 @@
- -
+
-
y:
@@ -206,6 +206,23 @@
+ -
+
+
+ FPS
+
+
+ 255
+
+
+
+ -
+
+
+ Frames Per Second For Recording
+
+
+