Add helper widget for filename configuration

This commit is contained in:
dharkael
2017-07-20 13:48:00 +02:00
parent 58f0b12112
commit b14d3cb5f0
7 changed files with 105 additions and 111 deletions

View File

@@ -105,6 +105,15 @@ void ConfigHandler::setNotInitiated() {
m_settings->setValue("initiated", false);
}
void ConfigHandler::setDefaults() {
setShowHelp(true);
setDesktopNotification(true);
setDrawColor(QColor(Qt::red));
setUIMainColor(QColor(116, 0, 150));
setUIContrastColor(QColor(86, 0, 120));
setAllTheButtons();
}
void ConfigHandler::setAllTheButtons() {
QList<int> buttons;
auto listTypes = CaptureButton::getIterableButtonTypes();