diff --git a/src/settingsdialog.cpp b/src/settingsdialog.cpp
index 46bb8a9..41a9a42 100644
--- a/src/settingsdialog.cpp
+++ b/src/settingsdialog.cpp
@@ -45,6 +45,8 @@ SettingsDialog::SettingsDialog(QWidget *parent) : QDialog(parent), ui(new Ui::Se
// Set filename scheme
setScheme(settings::settings().value("fileFormat", "Screenshot %(yyyy-MM-dd HH-mm-ss)date.%ext").toString());
+ ui->folderFormat->setText(settings::settings().value("folderFormat", "%(yyyy-MM)date").toString());
+
// Set delay
if ((settings::settings().contains("delay")))
ui->delay->setValue(settings::settings().value("delay").toDouble());
@@ -122,6 +124,10 @@ void SettingsDialog::on_nameScheme_textChanged(const QString &arg1) {
settings::settings().setValue("fileFormat", arg1);
}
+void SettingsDialog::on_folderFormat_textChanged(const QString &arg1) {
+ settings::settings().setValue("folderFormat", arg1);
+}
+
void SettingsDialog::on_delay_valueChanged(double arg1) {
settings::settings().setValue("delay", arg1);
}
diff --git a/src/settingsdialog.hpp b/src/settingsdialog.hpp
index e90cd62..b4d83cf 100644
--- a/src/settingsdialog.hpp
+++ b/src/settingsdialog.hpp
@@ -30,6 +30,7 @@ private slots:
void on_imageFormatBox_currentIndexChanged(int index);
void on_pushButton_clicked();
void on_nameScheme_textChanged(const QString &arg1);
+ void on_folderFormat_textChanged(const QString &arg1);
void newUploader(Uploader *u);
void uploaderChanged(QString newName);
void on_saveLocation_currentIndexChanged(int index);
diff --git a/src/settingsdialog.ui b/src/settingsdialog.ui
index 4a09932..4c514bb 100644
--- a/src/settingsdialog.ui
+++ b/src/settingsdialog.ui
@@ -17,10 +17,10 @@
-
- -
+
-
- -
+
-
In seconds
@@ -33,14 +33,14 @@
- -
+
-
Quick mode (mouse release screenshots)
- -
+
-
Fullscreen capture command (save to %FILE_PATH or print to stdout)
@@ -54,31 +54,31 @@
- -
+
-
Still image format
- -
+
-
- -
+
-
Delay before taking a screenshot
- -
+
-
Recording format
- -
+
-
Capture cursor
@@ -95,7 +95,7 @@
- -
+
-
-1
@@ -109,14 +109,14 @@
- -
+
-
Pressing <X> hides to tray
- -
+
-
-
@@ -135,7 +135,7 @@
- -
+
-
Open settings directory
@@ -149,7 +149,7 @@
- -
+
-
Qt::Horizontal
@@ -159,14 +159,14 @@
- -
+
-
File save location
- -
+
-
Advanced
@@ -218,7 +218,7 @@
- -
+
-
FPS
@@ -228,26 +228,40 @@
- -
+
-
Frames Per Second For Recording
- -
+
-
- -
+
-
Focused capture command (save to %FILE_PATH or print to stdout)
- -
+
-
+ -
+
+
+ %(yyyy-MM)date
+
+
+
+ -
+
+
+ Screenshot Subfolder
+
+
+