| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Once again redesign the statisticsdialog. Switch back from WebKit and
HTML/CSS graph bars to a QWidget. Never forget about
QPainter::translate() again :)
|
|
|
|
| |
Also show metadata in snapshot when hovering over a movie file.
|
|
|
|
|
| |
Created a modes for metadata, revamped NewMovieWizard to use the model
and created a MetadataWidget to edit and display metadata.
|
|
|
|
|
|
|
|
|
| |
Added a WizardPage to add metadata like releaseyear, releasegroup,
newsgroup subject and such. Metadata can't be displayed at the moment
and needs to be revameped seriously. I guess it's time for another model
keeping the metadata.
Created a new table in the database for this.
|
|
|
|
|
| |
Added filter for only showing series marked as favorites. The other
filter options are disabled when in this mode.
|
|
|
|
|
| |
Fix bug in SeriesTreeWidget when filtering. Take into account new column
Favorite when filtering, so it will be hidden in SeriesTree.
|
|
|
|
|
| |
SeriesParts can be marked as favorites. They won't be selectable when
filtering by local Movies only.
|
|
|
|
|
|
|
|
| |
Optionally show a frame or the picture in PictureViewer when clicking an
item in the file list.
Added a new function to SmGlobals::FrameCache: make it possible to
retrieve the path of the frame, also.
|
|
|
|
|
| |
When archiving covers, optionally show an iconized version of the cover
picture instead of the default decoration icon.
|
|
|
|
|
|
| |
Added an option to automatically add files in a configurable folder when
archiving movies. It's intended for putting cover files in that
directory so they don't have to be added manually.
|
|
|
|
| |
Also show the folderIcon in the NewMovieWizard QTreeViews.
|
|
|
|
|
|
|
| |
Use setAlternatingRowColors here, also. Set the background color of the
label to ui/alternatecolor.
Show the cover type and series name/part when file is an image.
|
|
|
|
| |
Hide HoverWindow when showing the contextMenu.
|
|
|
|
|
|
|
|
|
|
|
| |
Allow operators in filter. Operators are only valid if it's a
NumericQuery. Operators are <>=. Also allow postfixes for numbers: k, m,
g for kilobytes, megabytes and gigabytes.
Also fix a little usability bug when filtering. If the result set was
empty, the root item was collapsed. On the next search with a result,
the root item was still collapsed. Since it wasn't shown there was no
way to expand it.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fix unexpected NULL receiver on startup: Turns out this warning is
issued when calling deleteLater on a NULL object. This happened in
SheMov::createOpenWith*.
The "database is still in use" warning was a bit harder to track down.
First of all, the destructors weren't called since Qt::WA_DeleteOnClose
wasn't set for SheMov, so Qt would simply exit and let the OS do the
cleanup without calling the destructors.
Then there were several orphan widgets/objects without a parent, so
their destructor would never be called.
|
|
|
|
|
| |
Use alternatingRowColors in MovieInfoPage::mFileView also to make the
GUI more consistent.
|
|
|
|
|
|
| |
Use the directory pictures were selected from last time as start
directory for the add files... button. Save the last directory in a
seperate QSettings entry.
|
|
|
|
|
|
|
|
|
|
|
|
| |
Enhanced the filter function in ArchiveTreeView. The prefixes are gone.
The filter mode is now selectable by menu or toolbar.
Created 7 new icons, also selectable in the configuration menu. As a
bonus the filter QLineEdit now comes with a QCompleter. The
QStringListModel of the completer is filled in a separate thread. The
QThread is only used as a resource for control. The work is done in a
QObject connected to the QThread's started() signal as described in
http://labs.qt.nokia.com/2006/12/04/threading-without-the-headache/
|
|
|
|
|
| |
Added color selection for archived files to make more clearly which
files aren't present on the filesystem.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Every registered icon can be chosen as Qt::DecorationRole for all models
at once. Suitable icons must be added to SmGlobals::mIcons. Key is a
descriptive text, value is the icon path.
To make things easier SmTreeModel got two new member functions:
-QIcon decorationIcon() returning the current Icon
-void setDecorationIcon() to set the current Icon
The current Icon is initialized in the constructor from QSettings -
ui/iconfolder
To update the TreeViews connected to the FileSystemModel a little hack
is needed: Just set the QFileIconProvider again. This causes the Model
to update connected views.
|
|
|
|
|
|
|
|
|
| |
Added a tab to ConfigurationDialog to make some colors configurable. It
works somehow. The font color isn't evaluated yet, since I'm not
convinced that it is a good idea.
But one problem is that calling qApp->setPalette() doesn't propagate to
non visible child dialogs. Dunno if it's worth fixing.
|
|
|
|
| |
Remove all references of MessageDialog, including files :)
|
|
|
|
|
|
| |
Removed two instances of MessageDialog from FileView and replaced them
with QInputDialogs. Also got rid of the awkward doCreateFolder and
doMark slots.
|
|
|
|
|
|
|
|
|
|
| |
Make this options in the context and edit menu of FilesystemWidget
behave a lot more as expected. Copy and cut just copies the file names
to the clipboard, and paste paste moves them if they were cut and copies
them when the action was copy.
Still need to fix the colors when something is marked somehow. Should be
configurable :)
|
|
|
|
|
|
| |
Rename files inline, letting the model do all the work. Part of getting
rid of MessageDialog. Maybe this broke the filename templates. We'll
see...
|
|
|
|
|
| |
Hover over movies in FileSystemWidget. Make it stick to the selected
hover options.
|
|
|
|
|
| |
PictureViewerInfoItem is only used in PictureViewer, so no need for a
sepearte file.
|
|
|
|
|
|
|
|
|
| |
Implemetented a cache for hovering over movies, saving the pictures from
ffmpeg. For that SmGlobals got a new member *frameCache, handling all
the dirty file access.
I first tried to implement it as a helper, but that produced too much
duplicate code.
|
|
|
|
|
| |
Implement a caption for HoverWindow. Used to show the filename when
hovering.
|
|
|
|
|
|
|
| |
Resize widget to content when switching from pixmap to text content. To
get the size let QTextDocument render the HTML and then get the size.
Also set the initial opacity to the configured value in the constructor.
|
|
|
|
| |
Show files present on filesystem in Qt::darkBlue.
|
|
|
|
|
|
|
| |
When hovering over movies in local mode both the ToolTip and the hover
image was shown. Fixed by only showing the ToolTip when the movie is not
available, eg. archive mode. In any other case incorporate the ToolTip
info into the hover image.
|
|
|
|
|
| |
In d617e0679b426 I fixed a bug not to access the mode name hash when
mode = -1, but forgot to fix ArchiveTreeView::constructWindowTitle().
|
|
|
|
| |
Well... should learn to explicitly add artwork :(
|
|
|
|
| |
Hide hover window if in HoverMove and the file does not exist.
|
|
|
|
|
|
|
| |
Fix sort order of menuBar(). It was different in AV and FSV. First comes
Edit, then View.
Create seperate View menus for FSV and AV.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
What started as an attempt to show a frame from a movie when hovering
over it, ended in a huge bugfix commit for hover related stuff. This
commit is definitely not atomic.
When hovering over a movie present on the filesytem a frame is shown.
The time frame is configurable. While digging into the code I noticed
some bugs.
Bugfixes:
* fix label for hove archive action. It was labeled for hovering over
directories in FSWidget.
* Hovering over directories didn't have an action. Also read the
appropriate value from QSettings.
Other:
* add icons for hovering over directories and hovering over movies
* replace SheMov::toggleHover(pics|some other) with a QSignalMapper
|
|
|
|
|
|
|
|
|
|
| |
This commit introduces QInputDialogs for all values editable in the
archive. Inline editing in the view doesn't seem the right choice
regarding usability.
Fixed a long standing bug in nextDvdNo(). That was off by one. Return
one more than max(value). Also got rid of DvdNoDialog, replaced by a
QInputDialog.
|
|
|
|
|
|
|
|
| |
Display the picture in PictureViewer if the file is actually available
on the filesystem and don't show a critical error if there's a DvdNo
associated with it.
Also fix the error dialog: show FileNameRole instead of data().
|
|
|
|
|
|
| |
Remove debug statements from FileSystemWidget. Also remove useless
helper func StringListContains. That was a goodie. I guess I was quite
drunk when I wrote that...
|
|
|
|
| |
windwos != windows
|
|
|
|
|
|
|
|
|
| |
Made columns shown in FilesTreeView selectable. Also, the order of
columns is saved and restored.
This was a difficult one. I even had to make a debug build of qt. But I
fixed a serious bug in FilesTreeModel::modeName: don't access the Hash
if modeName == -1.
|
|
|
|
|
|
|
|
|
| |
4 new actions to copy the file path to clipboard. It's either the unix
full path, the unix dir, the windows full path or the windows dir. For
the latter '/' is replaced with '\' and a drive letter is prepended.
The drive letter is configurable in the ConfigurationDialog. While at it
I revamped it and added another tab to make it more user friendly.
|
|
|
|
|
|
| |
Fixed long standing bug in SeriesTreeWidget::addCover(). If the target
directory didn't exist, the file wouldn't be copied. Use
Helper::moveToArchive instead of QFile::rename.
|
|
|
|
|
| |
If a file didn't exist on the FS it wasn't possible to remove it. The
checks were too zealous.
|
|
|
|
| |
Icon higheels.png was missing.
|
|
|
|
|
|
|
|
|
| |
An unsuccessfull attempt to get rid of the warning "connection treedb is
still in use..." by trying to delete all queries and setting mDb to
QSqlDatabase() in the destructor.
Strangely enough, the warning is only issued from inside QtCreator...
Maybe it's some kind of race.
|
|
|
|
|
| |
Remove unused QSignalMapper from shemov causing a warning on startup.
Seems to be a leftover from implementing the toolbar.
|
|
|
|
|
|
|
|
|
| |
Implemented a new dialog to show movies without covers. The view is a
QTreeView with another model. While working on the model several
shortcomings of SmTreeModel were resolved. findValue() now takes another
argument to indicate the column the returned QModelIndex() should
represent. Also, itemAt() was promoted from private to protected. It's
quite useful for derived classes.
|
|
|
|
|
| |
class TextEnterDialog was removed some time ago, maybe with
commitd617e06. Remove files also.
|