summaryrefslogtreecommitdiff
path: root/src/modinfodialog.h
Commit message (Collapse)AuthorAgeFilesLines
* Apply clang-format.Mikaël Capelle2023-07-091-23/+17
|
* Convert everything to CRLF.Mikaël Capelle2023-07-091-260/+260
|
* Fix parent of ModInfoDialog.Mikaël Capelle2021-01-021-1/+1
|
* Move more stuff from MainWindow. Minor improvements for prev/next button in ↵Mikaël Capelle2021-01-021-6/+10
| | | | ModInfoDialog.
* moved geometry handling to mod info and overwrite dialogsisanae2019-08-041-14/+12
|
* some refactoringisanae2019-07-021-11/+44
| | | | | updateTabs() creates a list of tabs to update instead of checking for each file comments
* reordering tabs, then switching to a mod with a different tab set would ↵isanae2019-07-021-15/+119
| | | | | | discard the changes comments, moving some stuff around
* added modinfodialogfwd.h, mostly for the enum that's used in various placesisanae2019-07-021-43/+7
| | | | | 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-28/+8
| | | | | | | | constructors mod is passed to ctors to make sure they can never be empty only call deleteRequest() to selected mod comments
* focus tabs when they need a confirmation to closeisanae2019-07-021-1/+5
| | | | | dialog did not handle closeEvent() at all, it only checked the close button bunch of comments
* fixed problems with re-ordering tabs, realPos was never updated properly and ↵isanae2019-07-021-0/+2
| | | | it wasn't actually used everywhere
* added explore menu item to conflict lists and filetreeisanae2019-07-021-0/+1
| | | | | changed filetree context menu to always show all items added mnemonics to conflicts context menu
* replaced reportError() calls by qCritical() because they can come from a ↵isanae2019-07-021-0/+1
| | | | | | | thread, which hangs the ui categories and notes will update the tab color when changing fixed rare crash when reordering tabs while loading a mod
* only load nexus website on activationisanae2019-07-021-1/+2
| | | | fixed refresh not working, will now always clear the browser so the refresh is obvious
* added path and explore button to images tabisanae2019-07-021-0/+14
|
* performance optimizations: text/ini tabs and advanced conflict list use ↵isanae2019-07-021-0/+2
| | | | | | views and custom models call update() after feedFiles() to allow some tabs to have post-processing after feedFiles()
* don't update invisible tabsisanae2019-07-021-3/+4
| | | | | update tabs when origin changes change setting name because 2.2.0 can't handle the text list
* changed "tab index" to "tab id", this was confusing the order in the widget ↵isanae2019-07-021-8/+9
| | | | | | and the id from the enum fixed reordering
* grey out tab names when they have no dataisanae2019-07-021-26/+32
| | | | | | 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
* added missing iconsisanae2019-07-021-31/+13
| | | | | now passing tab index to allow enabling/disabling depending on mod type modinfodialog cleanup
* finished splitting filetree tabisanae2019-07-021-37/+5
| | | | forward delete shortcut to tabs
* splitting filetree tabisanae2019-07-021-27/+1
| | | | moved mod info dialog classes to a sub filter
* split nexus tabisanae2019-07-021-29/+0
| | | | | | 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
* split categories tabisanae2019-07-021-7/+0
|
* split ModInfoDialogTabisanae2019-07-021-32/+1
|
* pass parent widget to tabs for dialogsisanae2019-07-021-43/+19
| | | | finished moving over conflict tab to its own set of files
* in the process of moving stuff to modinfodialogconflicts.h/cppisanae2019-07-021-23/+22
|
* changed layout of esps tab, moved to modinfodialogesps.cpp/hisanae2019-07-021-2/+0
| | | | slightly offset next/previous images so they look better when shown next to each other vertically
* split images tab stuff in ImagesTabisanae2019-07-021-4/+1
| | | | text editor: fixed modified flag not being set to false when loading an empty file
* split ini tab stuff to IniFilesTabisanae2019-07-021-8/+0
| | | | refactored TextFilesTab into GenericFiles so it can be used by IniFilesTab
* removed unused ini tweaks widgetsisanae2019-07-021-6/+0
| | | | splitter in ini tab
* split text file tab into its own classisanae2019-07-021-5/+24
|
* split ExpanderWidget into its own set of filesisanae2019-07-021-41/+1
|
* line numbers, which required inheriting from QPlainTextEdit insteadisanae2019-07-021-1/+0
|
* TextEditor now has a dynamic toolbarisanae2019-07-021-5/+0
|
* added initial toolbar, splitterisanae2019-07-021-2/+8
| | | | moved most of the text editor stuff to a new TextEditor class
* moved filerenamer to its own .cpp/.h pairisanae2019-07-021-134/+1
|
* refactored conflict list items:isanae2019-06-041-21/+0
| | | | | | - 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
* conflict lists:isanae2019-05-311-10/+23
| | | | | | - 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-0/+2
| | | | | | - 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-0/+2
|
* replaced all the manual UserRole stuff with a few constants and helper functionsisanae2019-05-311-2/+8
| | | | | | | 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-2/+2
|
* added new filterwidget, will eventually get the operators functionality from ↵isanae2019-05-311-0/+3
| | | | the mod/pluging lists
* allow for refreshing individual conflict tabsisanae2019-05-311-3/+8
| | | | advanced conflict list now has items
* added AlternativesVector typedef to FileEntryisanae2019-05-311-0/+11
| | | | split item creation from refreshConflictLists()
* split refreshLists() in twoisanae2019-05-311-0/+3
|
* added selectedOrigin to previewFileWithAlternatives()isanae2019-05-281-1/+0
| | | | | 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-14/+23
| | | | | | | 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
* put explore and open functions in namespace shellisanae2019-05-251-5/+7
| | | | | | previewDataFile() was duplicated in both MainWindow and ModInfoDialog, moved to OrganizerCore added preview menu item to filetree better logging when shell operations fail