| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| | |
|
| |
|
|
| |
slightly offset next/previous images so they look better when shown next to each other vertically
|
| |
|
|
| |
text editor: fixed modified flag not being set to false when loading an empty file
|
| |
|
|
| |
refactored TextFilesTab into GenericFiles so it can be used by IniFilesTab
|
| |
|
|
| |
splitter in ini tab
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
moved most of the text editor stuff to a new TextEditor class
|
| | |
|
| |
|
|
| |
refreshing after a change
|
| | |
|
| | |
|
| |
|
|
|
|
| |
- 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
|
| |
|
|
| |
states
|
| |
|
|
|
|
| |
- 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
|
| |
|
|
|
|
| |
- 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
|
| | |
|
| |
|
|
|
|
|
| |
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
|
| | |
|
| |
|
|
| |
copied the logic from modlistsortproxy so the basic boolean syntax in filters works
|
| |
|
|
|
|
|
| |
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
|
| |
|
|
| |
the mod/pluging lists
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
advanced conflict list now has items
|
| |
|
|
| |
split item creation from refreshConflictLists()
|
| |
|
|
|
| |
added some autos here and there
added some whitespace
|
| | |
|
| |
|
|
| |
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
|
| | |
|
| |
|
|
|
| |
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
|
| |
|
|
|
| |
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
|
| |
|
|
|
|
|
| |
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
|
| |
|
|
| |
shell::OpenLink() or shell::OpenFile()
|
| |
|
|
|
|
| |
previewDataFile() was duplicated in both MainWindow and ModInfoDialog, moved to OrganizerCore
added preview menu item to filetree
better logging when shell operations fail
|
| |
|
|
| |
few missing initializations
|
| |
|
|
| |
replaced more ShellExecute() calls with ExploreFile()
|
| |
|
|
|
|
| |
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
|
| |
|
|
| |
but inactive mode
|
| |
|
|
| |
internally
|
| |
|
|
|
| |
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
|
| |
|
|
| |
context menu for noconflict tree
|
| | |
|
| | |
|
| |
|
|
| |
hide/unhide items
|
| |
|
|
| |
actually appear
|
| | |
|