Code refactor

More flexible tool API
Minor code format fixes
Clipboard freeze fixed(?)
Arrow correcly growing close to the start point
Improve maintainability
Add undo/redo stack
This commit is contained in:
lupoDharkael
2018-04-10 15:33:08 +02:00
parent f9fb7694e5
commit 5746a58582
137 changed files with 2339 additions and 1904 deletions

View File

@@ -20,7 +20,15 @@
#include <QFileInfo>
#include <QDir>
QStringList PathInfo::translations() {
const QString PathInfo::whiteIconPath() {
return ":/img/buttonIconsWhite/";
}
const QString PathInfo::blackIconPath() {
return ":/img/buttonIconsBlack/";
}
QStringList PathInfo::translationsPaths() {
QString binaryPath = QFileInfo(qApp->applicationFilePath())
.absoluteFilePath();
QString trPath = QDir::toNativeSeparators(binaryPath) + "translations";