Add configurable shortcuts for drawing tools
This commit is contained in:
@@ -23,6 +23,7 @@
|
||||
#include "src/config/geneneralconf.h"
|
||||
#include "src/config/filenameeditor.h"
|
||||
#include "src/config/filepathconfiguration.h"
|
||||
#include "src/config/shortcutswidget.h"
|
||||
#include "src/config/strftimechooserwidget.h"
|
||||
#include "src/config/visualseditor.h"
|
||||
#include "src/utils/globalvalues.h"
|
||||
@@ -67,16 +68,21 @@ ConfigWindow::ConfigWindow(QWidget *parent) : QTabWidget(parent) {
|
||||
addTab(m_filenameEditor, QIcon(modifier + "name_edition.svg"),
|
||||
tr("Filename Editor"));
|
||||
|
||||
// filepath
|
||||
m_filePathConfiguration = new FilePathConfiguration();
|
||||
addTab(m_filePathConfiguration, QIcon(modifier + "name_edition.svg"),
|
||||
tr("Path Default"));
|
||||
|
||||
// general
|
||||
m_generalConfig = new GeneneralConf();
|
||||
addTab(m_generalConfig, QIcon(modifier + "config.svg"),
|
||||
tr("General"));
|
||||
|
||||
// shortcuts
|
||||
m_shortcuts = new ShortcutsWidget();
|
||||
addTab(m_shortcuts, QIcon(modifier + "shortcut.svg"),
|
||||
tr("Shortcuts"));
|
||||
|
||||
// filepath
|
||||
m_filePathConfiguration = new FilePathConfiguration();
|
||||
addTab(m_filePathConfiguration, QIcon(modifier + "filepath.svg"),
|
||||
tr("Path Default"));
|
||||
|
||||
// connect update sigslots
|
||||
connect(this, &ConfigWindow::updateChildren,
|
||||
m_filenameEditor, &FileNameEditor::updateComponents);
|
||||
|
||||
Reference in New Issue
Block a user