summaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* clarified some commentsisanae2019-06-091-3/+3
|
* fixed notification icon not respecting the stylesheet on startupisanae2019-06-091-6/+51
|
* fixes toolbar and menu icons not respecting the stylesheetisanae2019-06-091-13/+66
|
* Merge pull request #753 from isanae/explore-data-fileAl2019-06-051-10/+35
|\ | | | | Added "Open Origin in Explorer" to the data tab
| * added "Open Origin in Explorer" to the data tabisanae2019-06-041-10/+35
| | | | | | | | | | renamed openOriginExplorer_clicked() to openPluginOriginExplorer_clicked() to make it clearer exec() for context menu in lists should be relative to the viewport to account for the header size
* | show the main menu when releasing alt instead of pressing, less annoying to ↵isanae2019-06-041-2/+2
| | | | | | | | take screenshots with alt+printscreen without having the menu pop up
* | reverted changes to the toolbar:isanae2019-06-041-26/+48
|/ | | | | | | - swapped back "add profile" and "install mod" icons - removed links toolbar, icons are added to the main one - locked the toolbar because there's only one now - right align everything after the last separator and executable shortcuts
* Merge pull request #750 from isanae/more-menu-toolbarAl2019-06-041-12/+66
|\ | | | | Menu bar can be hidden, also shows executable shortcuts
| * fixed exit menu item not workingisanae2019-06-031-3/+5
| |
| * more commentsisanae2019-06-031-0/+4
| |
| * renamed some of the menus to remove underscoresisanae2019-06-031-11/+19
| | | | | | | | | | added Run menu with shortcuts, only visible when there are shortcuts to show fixed menubar visibility not being remembered
| * added menubar toggle in the context menuisanae2019-06-031-0/+40
| | | | | | | | | | | | | | removed two unused actions: actionToolbar_Size and actionToolbar_style added ways to make the menu reappear if you hide everything: - show the toolbar popup when right-clicking around the border of the main window - intercept the Alt key and make the main menu visible
* | reset m_closing to false when the user cancels closingisanae2019-06-031-0/+1
|/
* Merge pull request #747 from isanae/splash-monitorAl2019-06-031-0/+2
|\ | | | | Display the splash screen on the same monitor as the main window
| * remember the monitor numberisanae2019-06-031-0/+2
| | | | | | | | use it to display the splash screen on the same monitor as the main window instead of where the mouse cursor is
* | added medium toolbar icon sizeisanae2019-06-021-5/+12
| |
* | the toolbar menu is now in the ui file instead of being created by handisanae2019-06-021-30/+52
| | | | | | | | it's also shared between the main menu and the context menu
* | toolbar size and button style are now configurable and rememberedisanae2019-06-021-0/+71
| |
* | moved links to a new dedicated toolbarisanae2019-06-021-25/+31
| |
* | moved notification menu item to tools, was the only thing in viewisanae2019-06-021-15/+17
| | | | | | | | | | fixed endorse action to also work with the menu fixed changing endorsement integration setting not changing visibility of actions
* | removed actionToToolButton(), which was replacing QAction's in the toolbar ↵isanae2019-06-021-69/+48
| | | | | | | | | | | | with QToolButton's, making it very difficult to have an equivalent in the main menu. QAction's can have a menu, so use that instead. the only place this doesn't work is with the nexus button, which can be replaced by a menu if there are IPluginModPage plugins adding items to it; registerModPage() works fine with the toolbar, but doesn't handle the main menu yet