| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Well, that happens when you just copy and paste, not understanding what
you're doing. Kinda embarrassing...
|
|
|
|
|
| |
Enable the delete option in ArchiveTree, but only allow delete when it
has no children.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
Split it up into a small QTreeView and a QTextEdit for the comment.
QTreeView and horizontal scrollbars don't seem to play nice together. Qt
never displays the bar even if ElideText is set to none. So add a
QToolTip for the Subject/Name, since it's most likely not displayed
completely.
|
|
|
|
|
| |
Long standing bug, I guess. Select and show the doubleClicked picture
instead of just loading all the others and showing the first one.
|
|
|
|
| |
Generalize the slot. Make it possible to add movies, too.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Well, this was actually a bit of a drag. You have read the docs very
carefully to get it right. For one, don't construct the drag object in
mousePressEvent if you also want a double click, otherwise you end up
with very weird behavior.
Same goes for the receiving end. Differentiate between dragEnterEvent
and dragMoveEvent, otherwise you'll only be able to drop items if you
hit the right row on entering.
There are some artefacts during the drag, but I guess that's a Qt bug.
Didn't bother to look into it.
|
|
|
|
|
| |
These constants are used all over the place and aren't really specific
to ArchiveModel, so use the preprocessor.
|
|
|
|
|
|
|
|
|
| |
* implement Mark Files
* always show all pictures from context
* change navigation:
N -> next
P -> previous
M -> mark/unmark file
|
|
|
|
| |
Add covers to an already archived movie.
|
|
|
|
|
| |
* Don't show the mapping item in preview, because it has none.
* Use qApp->showOverrideCursor() instead of QWidget::cursor()
|
|
|
|
|
|
| |
* Show time when snapshot was taken.
* Align the snapshots properly.
* Show BusyCursor when generating preview.
|
|
|
|
|
| |
* Show :/picgone.png if movie is not available
* Show cover if preview is called on a picture
|
|
|
|
| |
Show 4 frames of the selected movie in PictureViewer2.
|
|
|
|
|
|
|
|
| |
Show file properties in Filemanager and Archive, if the file is
available.
Also get rid of the palette stuff in SmGlobals. Just call setPalette()
early enough and set it in SmTreeView.
|
|
|
|
| |
Introduce SmGlobals::iconFor to retrieve the configured item.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
Use new icon configuration consistently in:
* Filemanager
* NewMovieWizard
* Experimental view
|
|
|
|
| |
Handle actions dependent on type node.
|
|
|
|
|
| |
QStandardItemModel is much better than a poorly derived
QStringListModel...
|
|
|
|
| |
We're getting there, slowly, but steadily :)
|
|
|
|
|
|
|
|
|
|
| |
Well, this is a huge commit. Should be severals, but who knew...
First and foremost feature: Make NewMovieWizard work with the
experimental model. This change obsoleted a lot of code. Also, the old
archive won't work with with the new Wizward...
There are most probably many other features I forgot about.
|
|
|
|
|
| |
* make files double-clickable
* implement edit actions for files
|
|
|
|
|
|
|
|
|
| |
* Save header states
* Implement delegates for columns
* unify size and duration to 1 column
* colorize View
... and lots of other things I forgot :)
|
|
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.
|