various: implemented multiple project support

This required various changes to various parts of the infrastructure (mostly
using paths to finding the "root project" of any given object throughout).
Now theoretically infinite projects can be opened and accounted for at any
given time.
This commit is contained in:
itsmattkc
2020-04-18 01:50:47 +10:00
parent 77c0db55a5
commit f73c41d3fa
48 changed files with 824 additions and 224 deletions
+2 -2
View File
@@ -42,14 +42,14 @@ QList<StyleDescriptor> StyleManager::ListInternal()
return style_list;
}
#ifdef Q_OS_WINDOWS
void StyleManager::UseNativeWindowsStyling(QWidget *widget)
{
#ifdef Q_OS_WINDOWS
QStyle* s = QStyleFactory::create(QStringLiteral("windowsvista"));
widget->setStyle(s);
widget->setPalette(s->standardPalette());
#endif
}
#endif
QPalette StyleManager::ParsePalette(const QString& ini_path)
{