| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
I guess I was quite drunk when I designed this overengineered,
multithreaded monstrosity. Replace it with 4 nifty dialogs.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Well, what started as a try to simplify QTreeView ended in a mass header
murder...
What happened:
* I searched for a way to let every QTreeView honor the
setAlternatingRowcolors() setting. Unfortunately it isn't enough to just
set the global palette and set it to true. So every QTreeView is now
derived from SmTreeView
* SmTreeView registers itself with SmGlobals, so the property is set
_after_ it's constructed. It's definitely not enough to call it in the
constructor. I guess that's a bug. But it's enough to append the
SmTreeView to a QList<QWidget*> in SmGlobals and call it _after_ the
painting is done.
* As an added Bonus we can add virt. funcs to every SmTreeView at will
While at it I realized that most of the included headers were void, so
remove them. No idea what impact it has on the bin size...
|
|
|
|
|
|
|
|
| |
* Change #include to qt5
* Fix missing QX11Info
* use explicit constructor for QVariant(QColor)
* use beginResetModel() and endResetModel() instead of reset(). The
latter was removed. Hopefully it still works :)
|
|
|
|
|
| |
While making it possible to mark items in DbAnalyzerDialog I removed the
button for deleting items. That is obviously wrong, fix it.
|
|
|
|
|
|
|
|
|
| |
It's now possible to mark items in DbAnalyzerDialog with a different
color, when there are no covers or actor information available on the
net. I enhanced SmTreeItem to contain a QVariant::foregroundColor, and
made SmTreeModel return it when QModelIndex::data with role
Qt::ForegroundRole is called. Maybe that could be useful for other
things like favorites and such...
|
|
|
|
|
|
| |
Added a search for movies with no covers to DbAnalyzer. Generalized the
no actors search to work with the result from the no covers query. This
commit obsoletes a lot of code in archivetreeview.
|
|
|
|
| |
Show number of items in current tab.
|
|
|
|
|
| |
Well, right now the queries are cheap, so don't bother with removing
items from the model and just repopulate it completely.
|
|
|
|
|
| |
Mostly copy and paste from stray actors check. Generalized fetching data
for stray items.
|
|
|
|
|
| |
Added a tab to DbAnalyzerDialog for actors that aren't associated with a
movie and make it possible to delete them.
|
|
Well, trying to join the consistencyChecker and the check for stray
actors/genres. First try :)
|