Skip to content

Commit

Permalink
added .state files
Browse files Browse the repository at this point in the history
  • Loading branch information
Pedro-Beirao committed Dec 22, 2021
1 parent eaba2c3 commit c37904c
Show file tree
Hide file tree
Showing 11 changed files with 423 additions and 555 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,6 @@ dsda-launcher/dsda-launcher.pro.user
dsda-launcher/dsda-doom
build-dsda-launcher-Desktop_Qt_6_1_1_clang_64bit-Debug
.vscode
dsda-launcher/build
dsda-launcher/build
dsda-launcher/.DS_Store
dsda-launcher/.DS_Store
Binary file modified dsda-launcher/.DS_Store
Binary file not shown.
5 changes: 1 addition & 4 deletions dsda-launcher/dsda-launcher.pro
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,14 @@ DEFINES += "APP_NAME=dsda-launcher"
SOURCES += \
main.cpp \
mainwindow.cpp \
quickargs.cpp \
settings.cpp

HEADERS += \
mainwindow.h \
settings.h \
quickargs.h
settings.h

FORMS += \
mainwindow.ui \
quickargs.ui \
settings.ui

win32 {
Expand Down
3 changes: 2 additions & 1 deletion dsda-launcher/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,12 @@ int main(int argc, char *argv[])




if(os=="Linux" || os=="Windows")
{
// QApplication::setStyle("Fusion");
qApp->setStyle(QStyleFactory::create("Fusion"));

QPalette darkPalette;
darkPalette.setColor(QPalette::Window, QColor(53,53,53));
darkPalette.setColor(QPalette::WindowText, Qt::white);
Expand Down
250 changes: 202 additions & 48 deletions dsda-launcher/mainwindow.cpp

Large diffs are not rendered by default.

7 changes: 4 additions & 3 deletions dsda-launcher/mainwindow.h
Original file line number Diff line number Diff line change
Expand Up @@ -56,14 +56,15 @@ public slots:
void on_editParameters_clicked();
void clearLeaderboard();
void addToArguments(QString string);
void on_actionLoad_triggered();
void on_actionSave_triggered();
void LoadState(QString fileName);
void SaveState(QString fileName);

private slots:


void on_toolButton_5_clicked();
void on_ReloadLead_clicked();
void on_wadLName_textChanged(const QString &arg1);
void on_toolButton_4_clicked();
};
extern QSettings settings;

Expand Down
Loading

0 comments on commit c37904c

Please sign in to comment.