summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* switched to stylesheet for api colors, palette doesn't seem to survive ↵isanae2019-06-131-12/+19
| | | | hiding/unhiding very well
* changed StatusBarNotifications to a generic StatusBarActionisanae2019-06-123-30/+57
| | | | added update notification to statusbar
* added a StatusBarNotifications class to handle icon, text and double clickisanae2019-06-123-14/+58
|
* fixed progress bar not updatingisanae2019-06-121-1/+2
|
* max width for progress barisanae2019-06-123-6/+21
| | | | notification icon in status bar
* added notifications label, unusedisanae2019-06-122-6/+9
|
* added a few helper classes for user accounts and statsisanae2019-06-129-234/+428
| | | | | 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-125-18/+57
|
* clarified some commentsisanae2019-06-091-3/+3
|
* fixed notification icon not respecting the stylesheet on startupisanae2019-06-092-6/+55
|
* fixes toolbar and menu icons not respecting the stylesheetisanae2019-06-092-13/+67
|
* Merge pull request #754 from isanae/conflict-lists-sortAl2019-06-052-195/+204
|\ | | | | Natural sort for conflict lists
| * natural sort for conflict itemsisanae2019-06-041-0/+26
| |
| * refactored conflict list items:isanae2019-06-042-195/+178
| | | | | | | | | | | | - use new ConflictItem class derived from QTreeWidgetItem - that class has all the various conflict*() member functions that were previously in the dialog - moved some of the can*() member functions out to namespace level so they can be used by ConflictItem, no real need to have them as members anyway
* | Merge pull request #753 from isanae/explore-data-fileAl2019-06-052-11/+37
|\ \ | | | | | | Added "Open Origin in Explorer" to the data tab
| * | added "Open Origin in Explorer" to the data tabisanae2019-06-042-11/+37
| |/ | | | | | | | | 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
* | Merge pull request #752 from isanae/toolbar-revertAl2019-06-053-65/+66
|\ \ | |/ |/| Reverted changes to the toolbar
| * show the main menu when releasing alt instead of pressing, less annoying to ↵isanae2019-06-042-3/+3
| | | | | | | | take screenshots with alt+printscreen without having the menu pop up
| * reverted changes to the toolbar:isanae2019-06-043-62/+63
| | | | | | | | | | | | | | - 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 #749 from isanae/manual-nexus-api-keyLostDragonist2019-06-048-142/+482
|\ \ | |/ |/| New dialog to manually enter Nexus API key
| * fixed title on the manual key dialogisanae2019-06-042-1/+3
| | | | | | | | disabled disconnect and manual key buttons while fetching the api key
| * renamed "revoke nexus authorization" to "disconnect from nexus" because ↵isanae2019-06-046-153/+337
| | | | | | | | | | | | | | "revoking" is ambiguous reworked manual key dialog to look more like MO1 moved all the UI stuff from callbacks in Settings back to SettingsDialog in a central updateNexusButtons(), which also enables/disables buttons as needed
| * added new dialog to enter api key manuallyisanae2019-06-036-2/+156
| | | | | | | | | | added button in nexus settings to open the dialog added a force flag to apiCheck() to do a check with the new key even if the login was successful before
* | Merge pull request #750 from isanae/more-menu-toolbarAl2019-06-043-34/+102
|\ \ | | | | | | Menu bar can be hidden, also shows executable shortcuts
| * | fixed exit menu item not workingisanae2019-06-032-4/+6
| | |
| * | more commentsisanae2019-06-031-0/+4
| | |
| * | renamed some of the menus to remove underscoresisanae2019-06-033-20/+38
| | | | | | | | | | | | | | | 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-033-12/+56
| | | | | | | | | | | | | | | | | | | | | 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-032-0/+13
|\ \ | | | | | | Display the splash screen on the same monitor as the main window
| * | remember the monitor numberisanae2019-06-032-0/+13
| |/ | | | | | | use it to display the splash screen on the same monitor as the main window instead of where the mouse cursor is
* | missed some mnemonics in the main menuisanae2019-06-021-3/+3
| |
* | reduced the padding of toolbar icons in the vs15 themesisanae2019-06-026-12/+6
| |
* | update styles to handle the new menu barisanae2019-06-0217-94/+2135
| | | | | | | | | | | | also formatted the Transparent styles, all the css was on one line added a separator before the settings menu item fixed medium icon item not being checkable
* | added medium toolbar icon sizeisanae2019-06-023-9/+20
| |
* | the toolbar menu is now in the ui file instead of being created by handisanae2019-06-023-32/+153
| | | | | | | | it's also shared between the main menu and the context menu
* | toolbar size and button style are now configurable and rememberedisanae2019-06-022-0/+74
| |
* | moved links to a new dedicated toolbarisanae2019-06-023-46/+57
| |
* | moved notification menu item to tools, was the only thing in viewisanae2019-06-023-32/+22
| | | | | | | | | | 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-023-96/+59
| | | | | | | | | | | | 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
* | - always show statusbar, used by the menu and toolbar to display status tipsisanae2019-06-025-48/+226
|/ | | | | | | | - reduced margins around central widgets to align it with status bar text, removed bottom margins completely because the statusbar is enough - notifications: now always enabled, dialog shows a special item when empty, just change the tooltip and leave the text alone - added all toolbar actions to menu - non functional in menu for now: tools, help and endorse because they're menus - changed some of the action strings to be the same on both toolbar and menu, added missing status tips
* refresh files in the constructor because the ui is used to determine the tab ↵isanae2019-05-311-1/+8
| | | | states
* conflict lists:isanae2019-05-314-50/+160
| | | | | | - the file index is now stored in the row data - the alternate origins are now added to the context menu in a "go to" submenu - context menu items are now visually disabled instead of omitted from the menu
* advanced conflict list tooltipsisanae2019-05-311-0/+9
|
* conflict listsisanae2019-05-313-2/+39
| | | | | | - sorting on advanced list - save state of all four lists - call refreshLists() just before showing because the state has to be loaded first, which happens after the ctor
* don't show open menu item if the files are from an archiveisanae2019-05-312-1/+14
|
* replaced all the manual UserRole stuff with a few constants and helper functionsisanae2019-05-314-63/+91
| | | | | | | setConflictItem() is now used by all conflict lists to setup the data (filename, archive, etc.) and visuals (italic for archives) merged openDataFile() and previewDataFile() into their caller as they weren't used anywhere else previewDataFile() used to do a fromNativeSeparators() before previewing, moved that to previewFileWithAlternatives() instead brought overwrittenTree double click in line with overwriteTree, there's no difference between apply() and close() because there's only a close button
* put back changes from another PR lost because of a bad rebaseisanae2019-05-311-7/+16
|
* restore conflicts selected tab and checkboxesisanae2019-05-313-8/+26
|
* FilterWidget takes a predicate to match stringsisanae2019-05-313-7/+42
| | | | copied the logic from modlistsortproxy so the basic boolean syntax in filters works