| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
Make it possible to define more than just one usb storage and store them
to the new QSettings item "paths/usball", a QStringList while
repurposing the old setting "paths/usb" for writing.
When reading, iterate over all entries in usball until the file is
found. For writing, or moving files to archive, use paths/usb as target.
|
| |
|
|
|
|
|
|
| |
While adding new pictures to my collection, I realized that the simple
viewer didn't obey it's size restrictions and grew out of proportions.
So make the maximum size configurable.
|
|
|
|
|
|
|
|
|
| |
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...
|
| |
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
| |
Add icons better suited for dark themes and don't draw an ellipse around
the letter when calling Helper::icon and use the theme's text color to
better match the desktop theme.
Just be a good tenant and respect the user's choices where applicable.
|
|
|
|
|
|
| |
* use type-safe connect syntax
* remove Q_FOREACH
* remove unused members and make some QPushButtons non-members
|
|
|
|
|
| |
Add option and use it. Warn if the directory is not accessible and bail
out. Initialize mFilesCtr to 0 so we don't crash if it's < 0
|
| |
|
|
|
|
|
|
|
|
|
| |
Honestly, I have no idea what it was good for once. The class/file using
it is long gone, but I forgot to remove the configuration options.
Unfortunately my git-foo isn't good enough to figure out what happened
when.
Well, goodbye!
|
|
|
|
| |
Another QSignalMapper gone...
|
|
|
|
| |
Next: make it available in new movies dialog.
|
|
|
|
| |
Define USB directory in configuration dialog. Still does nothing...
|
|
|
|
| |
and make it configurable
|
|
|
|
| |
Remove all remnants of PictureViewer size.
|
|
|
|
|
|
| |
Make it possible to resize the PictureViewer2 and get rid of fixed size.
Also, make sure that the current picture is redrawn when we get a resize
event.
|
| |
|
| |
|
| |
|
|
|
|
| |
Not used, dead code
|
|
|
|
|
|
|
| |
Add a configuration Option to (de-)select expensive file operations.
That would be md5Summing and gathering the Bitrate/Duration.
That should help the performance on networked directories...
|
|
|
|
|
|
|
|
|
|
| |
Make icons configurable by:
* folders
* files
* series
* genres
* actors
Weed out old usage. New usage not yet implemented.
|
|
|
|
|
| |
Add a configuration option for checking the database when browsing the
filesystem.
|
|
|
|
|
| |
Since inotify isn't completely implemented for cifs mounts, implement
auto refresh for FileView. Default is 5 seconds.
|
|
|
|
| |
Wasn't used anyway, dropped DB-Table seen also.
|
|
|
|
|
| |
Made Icons for SmDirModel configurable. For now it's folders, movies,
pictures and others.
|
|
|
|
|
|
|
|
| |
* 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 :)
|
|
|
|
|
|
|
|
| |
Several bug fixes on the way:
* set fixed size policy for PictureViewer2 -> makes resizing much easier
* don't set Y-offset when showing a pic. The scene takes care of it
* don't deliver SIGNAL configChanged() twice to PictureViewer2
* center Widget on current screen when calling Helper::centerWidget
|
|
|
|
|
|
| |
Replace checkbox for showing info items at all with a "do not show"
position in the combobox. While at it, remove unused SideBySide
position.
|
|
|
|
|
| |
Make mappingwidget behave according to settings. SideBySide doesn't work
yet, maybe it should be canned.
|
|
|
|
|
|
|
| |
Create copious options for FileInfoItem, reintroducing the Pictures tab
in ConfigurationDialog.
Also fixed a long standing bug in SeriesTreeWidget: don't static_cast()
an event. It'll succeed even when called from a destructor.
|
|
|
|
|
| |
Remove picture viewer settings tab. Wasn't used anyway, and need it for
making PictureViewer2 configurable.
|
|
|
|
|
|
| |
Fix: Put tabs movies and database into a QGroupBox
Cleanup: use QFormLayout instead of QGridLayout where possible.
Precursor for making PictureViewer2 configurable.
|
|
|
|
|
|
| |
Add options to ConfigurationDialog to either use a fixed color as
background or a gradient picked with random colors picked from the
picture.
|
|
|
|
|
|
| |
Since I'm now using a tiling window manager dialogs have to center
themselves on the screen. Otherwise they end up at QPoint(0,0). Not very
nice. Subclassed QDialog to SmDialog and converted all dialogs.
|
|
|
|
|
|
| |
Add an option making resizing the picture viewer to the size of
the picture configurable. It's desirable when using a tiling
window manager.
|
|
|
|
|
| |
Made Y-Offset for the cursor configurable. After switching from
kwin to awesome WM the hotspot for hovering was way off.
|
|
|
|
|
| |
SeriesParts can be marked as favorites. They won't be selectable when
filtering by local Movies only.
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Preparation for new action dvd mount. Add setting for dvd mount
directory.
|
|
|
|
|
|
| |
Revamped misc tab in configurationdialog to QGroupBoxes. Added options
for enabling or disabling hovering over pictures or the archive tree.
Also implemented an option to set the opacity for HoverWindow.
|
|
|
|
|
|
|
|
|
|
|
| |
Implemented a dialog for file properties. When the mime type says it's a
video, fork ffprobe to read the properties of all streams and show them
in a QTreeView powered by a SmTreeModel. If the mime type is image, use
QImage to read some properties and show them in the same dialog.
This commit introduces the new class FilePropertiesDialog. I also had to
implement a copy constructor for SmTreeItem. It obsoletes classes
ActorWidget, ActorModel and MoviePropertiesDialog.
|