summaryrefslogtreecommitdiff
path: root/src/modinfodialog.cpp
Commit message (Collapse)AuthorAgeFilesLines
* refresh files in the constructor because the ui is used to determine the tab ↵isanae2019-05-311-1/+8
| | | | states
* conflict lists:isanae2019-05-311-40/+131
| | | | | | - 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
* conflict listsisanae2019-05-311-2/+34
| | | | | | - 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-311-1/+12
|
* replaced all the manual UserRole stuff with a few constants and helper functionsisanae2019-05-311-61/+72
| | | | | | | 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
* restore conflicts selected tab and checkboxesisanae2019-05-311-5/+23
|
* FilterWidget takes a predicate to match stringsisanae2019-05-311-4/+9
| | | | copied the logic from modlistsortproxy so the basic boolean syntax in filters works
* removed buddy from FilterWidget, the intention was to hook a ctrl+f shortcut ↵isanae2019-05-311-0/+7
| | | | | | | to it, but that won't work as a general solution, it would need to be on tabs for the modinfo dialog added a simple matches() that just searches for the string FilterWidget can cleanly unhook itself
* added new filterwidget, will eventually get the operators functionality from ↵isanae2019-05-311-0/+2
| | | | the mod/pluging lists
* elide first two columns of the advanced listisanae2019-05-311-0/+25
|
* comments, switched some of the ifs for clarityisanae2019-05-311-5/+33
|
* added show all/nearest mods radio buttonsisanae2019-05-311-10/+38
|
* allow for refreshing individual conflict tabsisanae2019-05-311-27/+105
| | | | advanced conflict list now has items
* added AlternativesVector typedef to FileEntryisanae2019-05-311-52/+78
| | | | split item creation from refreshConflictLists()
* changed iterator loops to ranged forisanae2019-05-311-14/+28
| | | | | added some autos here and there added some whitespace
* split refreshLists() in twoisanae2019-05-311-10/+18
|
* reverted change that showed the conflicted file first in the preview dialogisanae2019-05-281-3/+1
| | | | I'm not sure how I got to the conclusion that this was a better idea: preview was always an option for those files, and it has always shown the winning file, so I changed some long-standing behaviour for no reason. I reverted that change, although I'm leaving the functionality in previewFileWithAlternatives() to specify the selected origin because it works and could be useful in the future
* also reversed 'hide' parameter to 'visible' for changeFiletreeVisibility()isanae2019-05-281-14/+15
|
* reversed 'hide' parameter to 'visible' for changeConflictItemsVisibility()isanae2019-05-281-11/+13
| | | | | when I pass true to it, I expect it to be visible, not "yes, this should be hidden" I had actually started this earlier and ended up in a broken, in-between state, which should be fixed now
* added selectedOrigin to previewFileWithAlternatives()isanae2019-05-281-1/+3
| | | | | this is so that an origin other than the primary can be shown first and is used from previewDataFile() in ModInfoDialog since showing a preview for a conflicting file could initially show the file from the wrong mod removed unused, uninitialized and dangerous ModInfoDialog::m_OriginID
* multiple selection for noconflict and overwritten listsisanae2019-05-271-109/+81
| | | | | | | set uniformRowHeights for all three lists for faster rendering, all items are text only all three lists use the same code for the context menu: - createConflictMenuActions() returns a struct with the QActions that are valid for the selection - showConflictMenu() plugs in the handlers and shows the menu
* changed rest of ShellExecuteW() calls to use shell::Execute(), ↵isanae2019-05-261-2/+1
| | | | shell::OpenLink() or shell::OpenFile()
* put explore and open functions in namespace shellisanae2019-05-251-81/+52
| | | | | | previewDataFile() was duplicated in both MainWindow and ModInfoDialog, moved to OrganizerCore added preview menu item to filetree better logging when shell operations fail
* reordered action variables to match the order in the context menu, added a ↵isanae2019-05-251-7/+9
| | | | few missing initializations
* ExploreFile() will select the file in explorer when the path is a fileisanae2019-05-251-1/+1
| | | | replaced more ShellExecute() calls with ExploreFile()
* a copy of getBinaryExecuteInfo() and openDataFile() was in both mainwindow ↵isanae2019-05-251-77/+2
| | | | | | and modinfodialog, it's now moved to organizercore and renamed getFileExecutionContext() and executefile() getFileExecutionContext() is also changed to return an enum instead of a 0-1-2 int
* fix crash when changing file visibility from the filetree of an installed ↵isanae2019-05-211-2/+6
| | | | but inactive mode
* documented ExpanderWidget, removed checkable stuff because the state is kept ↵isanae2019-05-201-4/+1
| | | | internally
* added const version of Settings::directInterface() for restoring statesisanae2019-05-201-22/+64
| | | | | added top-level saveState() and restoreState() to ModInfoDialog that are called from MainWindow, because it now also has to handle expander states in the conflict tab added internal opened state to expander widget instead of using widget visibility so it can be saved even after the dialog is closed
* made expander use the full widthisanae2019-05-201-2/+35
| | | | context menu for noconflict tree
* expandable sections in the conflict tabisanae2019-05-201-3/+62
|
* added third tree with non-conflicting filesisanae2019-05-201-1/+10
|
* if the number of selected items is low, check them to accurately show the ↵isanae2019-05-191-4/+52
| | | | hide/unhide items
* re-enabled unhide menu item in the conflict tree since hidden items can ↵isanae2019-05-191-5/+5
| | | | actually appear
* fixed filetree context menu for multiple selectionisanae2019-05-191-14/+54
|
* added filename to file replace confirmation dialog textisanae2019-05-191-38/+98
| | | | | hooked up filetree to FileRenamer fixed filetree context menu positioning being offset vertically
* added new FileRenamer class to handle user confirmations when ↵isanae2019-05-191-60/+258
| | | | | | | hiding/unhiding files conflict tree hooked up filetree shows the new dialogs, but doesn't handle buttons correctly yet
* disabled unhide menu item in the conflict tree because hidden items are ↵isanae2019-05-181-3/+5
| | | | never shown
* changed the top conflict treeview to support multiple selectionisanae2019-05-181-52/+185
| | | | | this required making some changes to both trees because they were sharing m_ConflictsContextItem that was set on right clicks; both trees are now independent hide/unhide is always shown on multiple selection to avoid scanning all the selected items
* Added the missing URL to setURL function to support the call to getURL()Jake2019-04-141-0/+1
|
* Prevent runaway requests and fix info dialog description update displaySilarn2019-02-181-92/+24
|
* Various fixes and updatesSilarn2019-02-181-0/+1
| | | | | | * Add second api type for mod info to segment updates from basic desc * Add saved nexus file type and factor it into the update display * Fix some issues with how we were checking for 'latest update' files
* Update Process ImprovementsSilarn2019-02-181-1/+1
| | | | | | | | | | | | | | * 5 minute batch auto-update of up to 10 mods - Still able to force an update of all 'unchecked' mods - Prioritizes mods with oldest update 'age' * Implemented 1-hour wait between update checks per mod * Fixed issues with update progress display * Only enable update filter automatically if 'force update' * Improved display of version update status in mod list - Italic text when ready to perform update check - Tooltip indicates when next update is available * Fixed remaining issues with update fallback check * Only trigger one update API request for duplicate sources
* Reworking update checks to use the file update info with a fallbackSilarn2019-02-181-1577/+1577
|
* Make logs more consistent in format and contentLostDragonist2019-01-301-2/+2
|
* Make logs more consistent in format and contentLostDragonist2019-01-301-1/+1
|
* Merge remote-tracking branch 'origin/Develop' into archive_conflicts_2Silarn2019-01-181-1/+11
|\
| * Delete the settings array before writing a new oneLostDragonist2019-01-111-0/+1
| |
| * Added Web Page URL field in modinfodialog.Al2019-01-111-1/+6
| | | | | | | | It's used only if nexusID is invalid.
| * Save rich text of notes tab across restart.Al2019-01-101-1/+5
| |