| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Installed qmake2cmake via AUR and converted SheMov. Worked
perfectly!
|
|
|
|
|
|
|
|
|
| |
This is a huge commit. Changes:
* Obviously, make it compile
* Make it run (only scarcely tested)
* get rid of most of clang's warnings
Let's see what surprises are in store...
|
|
|
|
|
| |
Remove unnecessary libs for linking. Update to ImageMagick++7 and fix
includepath for MSYS2 builds.
|
|
|
|
|
|
|
| |
It depended on X11, because the hover center wasn't where it was
supposed to be, so I worked around it with Xfixes.h, which unfortunately
isn't even available in MSYS2. So another fix for compiling this under
Windows.
|
|
|
|
| |
Lots of code shuffle and headers cleanup, but no functional changes.
|
|
|
|
| |
Once again, only code shuffle and reindention.
|
|
|
|
| |
No functional changes, just code shuffle and reindention.
|
|
|
|
|
| |
One class per file :) No functional changes, just code shuffle and
reindention.
|
|
|
|
|
|
|
| |
Well, well, well. Due to several unforseen circumstances I ventured into
the sources again and implemented a Video player with Qt. Looks very
promising so far. There are some bugs to weed out, but I'm getting
there...
|
|
|
|
|
| |
Create separate files for MappingData and MappingTreeResultModel.
Hopefully no functional changes.
|
|
|
|
|
| |
Split up all the classes in mappingtreewidget into separate files to
make editing easier.
|
|
|
|
| |
Single it out to a separate file to make editing easier.
|
|
|
|
|
| |
Rename it to make clear(er) that it is a TreeView, not a picture viewer.
Also, remove it from pictureswidget.{h,cpp} into a separate file.
|
|
|
|
| |
Make it possible to edit files (again).
|
|
|
|
|
| |
Unfortunately, it is so convoluted code that there's most likely a lot
of cruft left, so call it work in progress...
|
|
|
|
|
|
|
| |
Only adds items to the view, doesn't do any changes to the database yet.
Had to implement a custom InputDialog, because the standard InputDialog
doesn't have a setter for the completer.
|
|
|
|
|
| |
Try to replace all those editing dialogs with one exhausting dialog. For
now, it's just the layout. It does nothing yet.
|
|
|
|
|
| |
Turns out it's more general purpose than I thought. Gonna reuse it for
MovieWidget.
|
|
|
|
|
| |
It's the replacement for the archive viewer thingy. Just keep it simple
and stupid. For now it shows series data.
|
|
|
|
|
|
| |
Get rid of FilesystemWidget and helper classes. The SmDirWatcher was
useful, once, I guess, nice to implement it by foot, but with the
current workflow it isn't needed any more.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Select files by CTRL+k, deselect everything with CTRL+k (for kill).
Select all with the global shortcut CTRL+a.
Learned some interesting things: First, QAction shortcuts won't work if
you don't add them to any actions(), even if it has a parent. So
subclass QTreeView for the context menu and add an InvisibleAction enum.
Don't show the QAction if it has that flag in data(). This has a nice
side effect: the context menu isn't shown any more when you right-click
outside the FSView.
Second: The debugger was quite confused with equal SLOT names in
different classes when using the new connect syntax. It dropped me off
in totally wrong classes, confusing me at first, too :(
|
|
|
|
|
| |
Use lightweight viewer from ShemovCleaner for this. Unfortunately
PictureViewer2 is overengineered for this.
|
|
|
|
|
| |
Sort size and duration by their actual numbers instead of alphabetically
by the display string.
|
|
|
|
| |
Just the layout, does absolutely nothing yet.
|
| |
|
|
|
|
| |
Not needed any more...
|
|
|
|
|
|
|
|
| |
Idea: Select random movies based on a selection of genres and actors in
a new tab, so you don't have the agony of choice.
This is just the basic layout. The selectors are filled and the buttons
are connected, but it doesn't select anything yet.
|
|
|
|
|
| |
Seems to be more random.
Also, this commit introduces c++11, yay!
|
|
|
|
|
|
| |
Preparation for archiving Movies to an USB disk:
Implement CopyWorker: a QThread for copying files in the background. It
compiles, nothing more, so expect bugs!
|
|
|
|
|
|
|
|
| |
Well, seems that's Qt's ImageReader got pickier regarding jpeg-files. If
the resulting QPixmap is null and void, try to convert them to png.
This introduces a new dependency to ImageMagic++. I don't like it, but
it works, kinda... I saw random crashes while testing...
|
| |
|
|
|
|
|
| |
Delete last remnants of this class (includes and files). It's not needed
any more.
|
|
|
|
|
| |
This was a difficult one. Got lost in the Semantics of QThread once
again, but just 2 days later it works :)
|
|
|
|
|
|
| |
First try to reimplement "Move to archive" in another way.
Implement an archive browser showing only Series with local parts in
another tab. This part works for now :)
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Get rid of SmDataCollector and do its job in small, QRunnable tasks and
let QThreadPool manage the treads.
Works well with a local Filesystem. Yet to see how it works over
networked Filesystems.
Ah, before I forget: NEVER, EVER USE QPixmap in THREADS -> Random
crashes! (Yes, I know, it's documented...)
|
|
|
|
| |
Yeah, finally it's gone! Lot's of useless, unneeded code vanished :)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Use JSON output from ffprobe instead of string parsing to get some kind
of type safety.
For doing that, some changes were needed in FileView: Use delegates for
displaying Duration and Bitrate instead of mangling output in
Qt::Displayrole.
To reuse code, move all delegates from the new Archive to a separate
file.
And, of course, the initial objective: Show the accumulated size and
duration of selected files in the status bar from the experimental
archive.
|
|
|
|
|
|
|
|
|
| |
Implement a new file model for the archive. It's quite basic at this
stage, but finally something happens when clicking the archive tree.
Also, implement the interaction (signal -> slot) between the views and
models in an explicit controller to prevent the mess from the old
archive.
|
|
|
|
| |
Display the new ArchiveModel in an experimental tab
|
|
|
|
|
|
|
|
| |
The new ArchiveModel allows sorting and display by the series name,
actors and genres. Hopefully it's generic enough to easily add other
sort orders like file location or file type.
For now, it's just there. Not included anywhere. No view, no nothing.
|
|
|
|
|
|
|
|
|
|
| |
Code reusage: all 3 tabs had the same funtions: readHeaderConfig,
writeHeaderConfig and toggleHeader, so turn it into a class derived from
QTreeView.
Unfortunately mATree didn't do things as later added Views, so it took
some time to find the culprit in SheMov::readSettings :( Hopefully I
didn't break too much...
|
|
|
|
|
| |
create snapshot pics in a separate thread. Also use the first frame
available if the clip isn't long enough for the configured frame.
|
|
|
|
|
|
|
|
| |
Gotta take a break here. Hopefully this will end up in a custom
QFilesystemModel, but I'm hitting so many bugs on the way. Some things
haven't worked for ages, I guess.
Anyway, the watcher doesn't do anythying right now, still fixing bugs...
|
|
|
|
|
|
|
|
| |
* 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 :)
|
|
|
|
|
|
|
|
|
| |
* make it possible to delete whole series again. No code fix, just the
database layout: add on delete cascade to metadata
* get rid of propertiesdialog.{cpp,h}. It was useless and called from
the "Edit.." context menu. Code bloat, I guess...
* Do something useful when calling "Edit...". Rename Series or ask for a
new SeriesPart
|
|
|
|
|
|
|
|
|
|
| |
Another fix for the new MappingTreeModel database layout: Make the
mappings display correctly when showing an archived picture.
For performance reasons I had to make PicFilesModel global and put it
into a separate file.
Also clean up MappingTreeModel: remove comments and unused functions.
|
|
|
|
| |
Remove last remnants of PictureViewer (without the 2).
|
|
|
|
|
| |
How the heck did listitem.h survive for so long? Remove it. And an
unused Q_PROPERTY from hoverwindow.h. I guess there's much more...
|
|
|
|
|
|
| |
Doesn't do much other than showing a default picture, but it behaves
like a QDialog and positions itself correctly. It's quite a pain in the
ass with a tiling window manager...
|