summaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #807 from isanae/logging-reworkJeremy Rimpo2019-08-021-101/+194
|\ | | | | Logging rework
| * moved setLogLevel() to OrganizerCoreisanae2019-07-221-55/+2
| | | | | | | | moved context menu to LogList
| * replaced formatSystemMessageQ() with formatSystemMessage()isanae2019-07-221-7/+18
| | | | | | | | replaced windowsErrorString() with formatSystemMessage()
| * changed qDebug() to log::debug()isanae2019-07-221-23/+14
| | | | | | | | removed some commented out logging
| * changed qCritical() to log::error()isanae2019-07-221-17/+17
| | | | | | | | removed now unused vlog()
| * replaced qWarning()isanae2019-07-221-23/+27
| |
| * replaced qInfo() with log::info()isanae2019-07-221-1/+1
| |
| * split envisanae2019-07-221-0/+1
| |
| * reversed log level menu actions to fit settings comboboxisanae2019-07-221-3/+3
| | | | | | | | replaced qWarnings() and qCritical()
| * use log::Levels instead of intsisanae2019-07-221-3/+44
| | | | | | | | | | create log level combobox in code, set selected index based on value instead added log level to context menu in log list
| * moved setup to new LogList classisanae2019-07-221-33/+2
| |
| * renamed logbuffer files to loglistisanae2019-07-221-1/+1
| |
| * removed unused or redundant stuff in error_report.hisanae2019-07-221-9/+26
| | | | | | | | | | | | | | renamed log() to vlog() for now extracted console creation to Console class rewrote LogBuffer to work with logging from uibase, renamed to LogModel added fmt dependency
| * moved the log to a dock widgetisanae2019-07-221-4/+116
| | | | | | | | added a menu item in the view menu for it
* | Merge pull request #806 from ModOrganizer2/qt-5.13Jeremy Rimpo2019-08-021-3/+9
|\ \ | |/ |/| Qt 5.13
| * Merge branch 'Develop' into qt-5.13Silarn2019-07-081-152/+23
| |\
| * | Fix issue if widget isn't on a windowSilarn2019-07-041-1/+6
| | |
| * | More refactoringSilarn2019-07-031-3/+4
| | |
* | | removed useless validationFailed() callback in MainWindowisanae2019-07-101-6/+0
| | | | | | | | | | | | moved the log that was in it to organizer core
* | | Avoid refreshing Data tab each time directoryStructure is refreshed if the ↵Al2019-07-101-1/+7
| |/ |/| | | | | tab is not active.
* | added new Shortcut class, moved stuff that was in MainWindow into itisanae2019-07-061-152/+23
|/ | | | | added more error handling and logging, some was missing removed some redundancy of setting the menu icons for add/remove, they're all set when clicking the button anyway
* reordering tabs, then switching to a mod with a different tab set would ↵isanae2019-07-021-1/+1
| | | | | | discard the changes comments, moving some stuff around
* added modinfodialogfwd.h, mostly for the enum that's used in various placesisanae2019-07-021-17/+20
| | | | | renamed ETabs to ModInfoTabIDs and changed all ints to use the enum instead added ModInfoPtr to avoid having to include modinfo.h just to get ModInfo::Ptr
* added a ModInfoDialogTabContext to avoid passing too many things to tab ↵isanae2019-07-021-3/+1
| | | | | | | | constructors mod is passed to ctors to make sure they can never be empty only call deleteRequest() to selected mod comments
* changed how the mod url works:isanae2019-07-021-24/+20
| | | | | | | | | | - it is now independent from the nexus mod url - it can be set in addition to having a valid mod id - both urls can be displayed in the context menu re-arranged some of the widgets on the nexus tab added a track button added a custom url checkbox and open in browser button added a max-width to the browser
* changed "tab index" to "tab id", this was confusing the order in the widget ↵isanae2019-07-021-1/+1
| | | | | | and the id from the enum fixed reordering
* grey out tab names when they have no dataisanae2019-07-021-45/+59
| | | | | | remove tabs if they're can't handle the selected mod next/previous now load mods in place without reopening the dialog tab reordering is broken
* finished splitting filetree tabisanae2019-07-021-21/+24
| | | | forward delete shortcut to tabs
* split nexus tabisanae2019-07-021-131/+36
| | | | | | added OrganizerCore::loggedInAction() to execute a function only when logged in, replaces a bunch of copy/pasted stuff in mainwindow moved common variables in ModInfoDialogTab moved DescriptionPage to modinfodialognexus.h, renamed to NexusTabWebpage, deleted now empty descriptionpage.h
* Correcting minor spelling mistakes in the UI + add contributorMatte A2019-06-231-2/+2
|
* * Changed export to CSV to sort by priority.Al2019-06-201-8/+10
| | | | | * Made status a default choice. * Changed status column to +/- instead of Enabled/Disabled.
* Disabled toolbar executable shortcut action after click to avoid starting it ↵Al2019-06-191-0/+3
| | | | twice with a doubleclick.
* rebase to statusbarisanae2019-06-151-2/+2
|
* removed concept of custom executables, everything is modifiableisanae2019-06-151-2/+1
| | | | | | added apply button to dialog added reset button that re-adds plugin executables and renames existing ones if needed moved executables files to their filter in visual studio
* moved commiting changes to EditExecutablesDialog itself instead of doing it ↵isanae2019-06-151-34/+2
| | | | | | | from the main window use a separate enabled state for custom overwrites and forced libraries, this remembers the values even when unchecking the checkbox, as long as the dialog stays opened pass the whole OrganizerCore to EditExecutablesDialog, simplifies a bunch of things
* removed old, unused stuffisanae2019-06-151-3/+35
| | | | have mainwindow save all the new settings once the dialog closes
* fixed EditExecutablesDialog being opened without a parentisanae2019-06-151-4/+9
| | | | | | | | | removed Executable's constructor with values, replaced with default ctor + setters, all these strings were much too error-prone added Executable ctor overload to convert from ExecutableInfo plugin executables now override most of the custom changes renamed browseButton to browseBinaryButton to avoid confusion with the other browseDirButton fixed both browse dialogs not handling cancel EditExecutablesDialog's list used to change the text color for custom executables, replaced with italics
* ExecutablesList:isanae2019-06-151-6/+4
| | | | | | - merged addExecutable(), updateExecutable() and addExecutableInternal() into a new setExecutable() - setExecutable() adds the executable to the list if not found, or forwards to Executable::mergeFrom() - mergeFrom() handles merging from/to plugin executables
* replaced ExecutablesList::getExecutables() by a standard container interfaceisanae2019-06-151-36/+56
| | | | | | renamed ExecutablesList::init() to addFromPlugin() renamed ExecutablesList::find() to get() and added a find() that returns an iterator changed some calls from get() to find() so they can handle failure because they didn't seem to handle std::runtime_error at all
* made Executable members private, added member function to get and set themisanae2019-06-151-25/+25
|
* re-added the api label tooltipisanae2019-06-141-2/+19
| | | | comments
* changed the notifications action back to being disabled when there aren't ↵isanae2019-06-141-0/+2
| | | | any, having a coloured and clickable icon was confusing
* show executable path in status barisanae2019-06-141-0/+1
|
* moved api user account classes to their own filesisanae2019-06-141-3/+10
| | | | | | | | | api label in status bar: - now shows when not logged in - changed some of the colour thresholds to correspond to real throttling numbers make sure the api key is also cleared from the access manager when clearing from the settings removed unused bool m_ValidateAttempted in NXMAccessManager update the window title and status bar api label with correct values on startup, which fixes incorrect values when "restarting" MO after changing nexus settings
* added option to hide the status barisanae2019-06-131-6/+45
| | | | centralized menu visibility into a showMenuBar() function
* changed StatusBarNotifications to a generic StatusBarActionisanae2019-06-121-10/+6
| | | | added update notification to statusbar
* added a StatusBarNotifications class to handle icon, text and double clickisanae2019-06-121-1/+1
|
* max width for progress barisanae2019-06-121-1/+6
| | | | notification icon in status bar
* added a few helper classes for user accounts and statsisanae2019-06-121-38/+30
| | | | | moved the api label to the status bar refactored a bunch of copy/pasted code in NexusInterface to use shouldThrottle() and throttledWarning()
* added new statusbar class, moved refresh progress bar to itisanae2019-06-121-16/+4
|