summaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
Commit message (Collapse)AuthorAgeFilesLines
* removed runExecutableFile()isanae2019-11-061-33/+10
| | | | turns out on_startButton_clicked() had redundant code
* explicit refresh parameter for setWaitForCompletion(), some parts of the ui ↵isanae2019-11-061-1/+5
| | | | | | | | will crash if things refresh unexpectedly removed runFile() fixed crash when unlocking if some widgets were destroyed in the meantime lock widget will now pick the active window and disable all top levels
* added lockwidget to replace all the other dialogsisanae2019-11-061-40/+4
| | | | | | rewrote ProcessRunner to have a bunch of setters and then a run() fixed bad exit code when waiting on a process that's already completed removed lock()/unlock() from main window, ProcessRunner is in charge of that now
* split to processrunnerisanae2019-11-061-4/+9
| | | | | added IUserInterface::qtWidget() put back IUserInterface in OrganizerCore now that there's a way to get the widget
* spawning an executable now only waits for that particular processisanae2019-11-061-10/+4
| | | | added waitForAllUSVFSProcesses() to OrganizerCore, used when closing MO
* moved findJavaInstallation() and getFileExecutionContext() to spawnisanae2019-11-061-32/+32
| | | | fixed env::get() returning garbage after value
* renamed runExecutable() to runExecutablefile()isanae2019-11-061-21/+3
| | | | added runExecutable() for Executable class, also used by runShortcut()
* initial Spawner and SpawnedProcessisanae2019-11-061-2/+2
| | | | | | | added steam app id to spawn parameters removed threadHandle, unused moved most of the stuff from OrganizerCore::spawnBinaryProcess() to Spawner replaced m_UserInterface by m_MainWindow
* Improve automatic naming of new executablesLostDragonist2019-10-221-1/+1
| | | | | | | | | | | | | When using the "Add from file..." option, the extension will be removed. E.g., "zEdit 1.2.3.exe" will be shortened to "zEdit 1.2.3". When using the "Add empty" option and subsequently browsing for a binary, the complete base name will be used instead of just the base name. E.g., "zEdit 1.2.3.exe" will be shorted to "zEdit 1.2.3" instead of "zEdit 1". When using the "Add as Executable" option of the data tab, the complete base name will be used instead of just the base name. E.g., "zEdit 1.2.3.exe" will be shorted to "zEdit 1.2.3" instead of "zEdit 1".
* fixed loot not being hookedisanae2019-10-121-0/+1
| | | | bumped to alpha 4.1
* Merge pull request #863 from isanae/executables-fixesisanae2019-10-101-46/+108
|\ | | | | Executables fixes
| * added hide flag to executablesisanae2019-10-081-42/+103
| |
| * initial selection in the edit executables dialog from main windowisanae2019-10-081-4/+5
| |
* | added ExitModOrganizer(), used instead of qApp->exit()isanae2019-10-071-38/+75
|/ | | | | | | reset geometry uses TaskDialog moved restart code for the settings dialog to MainWindow fixed settings sometimes not being saved when restarting don't log "crash dumps present" every time the settings dialog is closed
* Merge pull request #855 from isanae/context-menu-log-toggleisanae2019-10-071-12/+18
|\ | | | | Log toggle in context menu
| * stop reusing the view menu, just create a new context menu with the right ↵isanae2019-10-051-12/+18
| | | | | | | | stuff in it
* | showEvent() is called for stuff like minimizing and restoring the window, ↵isanae2019-10-051-4/+3
|/ | | | don't re-read settings for that
* Merge pull request #851 from isanae/api-visible-at-startupisanae2019-10-051-1/+1
|\ | | | | Check the api setting on startup to hide it if needed
| * check the api setting on startup to hide it if neededisanae2019-10-051-1/+1
| |
* | Merge pull request #849 from Al12rs/more-filtersAl2019-10-041-0/+2
|\ \ | | | | | | Added "No valid game data" and "No Nexus ID" filters as per #295
| * | Added "No valid game data" and "No Nexus ID" filters as per #295Al2019-10-041-0/+2
| |/
* / added error messages to FileRenamer and a few moreisanae2019-10-041-18/+18
|/ | | | fixes for shell functions changing names
* Merge pull request #842 from isanae/dialog-settingsisanae2019-10-041-0/+16
|\ | | | | Dialog settings
| * changed the layout of the general settings tabisanae2019-09-231-0/+16
| | | | | | | | | | added option to disable checking for updates removed online check, just try it and see
* | Made categories section (filters) resizable via a splitter. Correctly ↵Al2019-10-021-0/+2
|/ | | | handled hiding and unhiding as well as saving the state between sessions.
* Merge pull request #839 from isanae/even-more-loggingisanae2019-09-221-16/+7
|\ | | | | Even more logging
| * made SpawnParameters public, changed to Qt typesisanae2019-09-121-5/+7
| | | | | | | | removed 'suspended', not used
| * split spawnBinaryProcess() into spawn, no changesisanae2019-09-121-1/+1
| |
| * fixes for ExpanderWidgetisanae2019-09-111-11/+0
| | | | | | | | removed dead code in MainWindow
* | Add portable lock featureLostDragonist2019-09-111-0/+4
|/ | | | | | | If the file "portable.txt" is present in the application directory, MO will force itself to be launched as a portable instance. The change game button and menu item are hidden to prevent the user from changing out of the portable instance.
* split settings into a bunch of classesisanae2019-09-021-60/+61
| | | | removed "get" from the getters that had it
* removed duplicate useProxy()isanae2019-09-021-7/+5
| | | | use dedicated functions to set, get or remove settings, allows for logging
* changed total speed and count to a list of the last 5 downloadsisanae2019-08-261-10/+21
| | | | | existing servers now merged when retrieving the download links download manager doesn't store the servers any more, queries the settings every time
* moved preferred servers into ServerListisanae2019-08-261-1/+1
|
* ServerList instead of a QList of ServerInfoisanae2019-08-261-9/+13
| | | | | changed preferred to an int moved all server settings to Settings
* made ServerInfo a classisanae2019-08-261-5/+5
| | | | moved server functions together in Settings
* made member variables in SettingsTab private, added accessorsisanae2019-08-171-1/+1
| | | | SettingsDialog now uses GeometrySaver
* passes callbacks to QuestionBoxMemory so it doesn't access the ini directlyisanae2019-08-171-3/+3
| | | | | fixed selected executable being empty after closing the edit dialog put backup_install inside Settings
* put tutorials in the settingsisanae2019-08-171-11/+41
| | | | finished moving endorsement to settings
* put endorsement state and first start in settingsisanae2019-08-171-17/+37
|
* merged DockFixer into GeometrySettingsisanae2019-08-161-127/+29
| | | | added combobox index to settings
* StatusBar now inherits from QStatusBar to handle hide/show eventsisanae2019-08-161-55/+23
| | | | | merged settings into saveVisibility() and restoreVisibility() call MainWindow::storeSettings() earlier so widget visibility is still valid
* moved all geometry save, restore and reset to GeometrySettingsisanae2019-08-161-53/+22
| | | | changed reset button in settings to restart immediately
* merged toolbars into restoreToolbars() and saveToolbars()isanae2019-08-161-20/+8
| | | | | | added centerOnMainWindowMonitor(), now also used by validation dialog added overloads for splitter, used by main splitter fixed saveState() for QMainWindow calling the wrong function
* added GeometrySaverisanae2019-08-161-33/+16
| | | | | removed widget-specific functions in GeometrySettings, now using generic functions in Settings removed some unused member variables in MainWindow
* geo already saved by ListDialogisanae2019-08-041-6/+1
|
* removed registerWidgetState(), was used just for header list headers, now ↵isanae2019-08-041-47/+26
| | | | saved and restored directly
* moved mod list stuff to setupModList(), no changesisanae2019-08-041-42/+78
|
* moved geometry handling to ProblemsDialog and CategoriesDialogisanae2019-08-041-18/+8
|
* moved geometry handling to ListDialogisanae2019-08-041-8/+0
|