summaryrefslogtreecommitdiffstats
path: root/configurationdialog.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Enhance usb-storageArno4 days1-9/+42
| | | | | | | | | 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.
* Fix loop-constness and a deprecation in ConfigurationDialogArno2024-11-091-3/+3
|
* Set fixed size for viewer.cppArno2022-07-021-5/+14
| | | | | | 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.
* Make it run with Qt6Arno2022-04-151-10/+10
| | | | | | | | | 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...
* Fix QDirModel deprecation warningsArno2020-07-191-3/+4
|
* Get rid of HoverWindowArno2019-11-221-28/+0
| | | | | | | 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.
* Fix deprecation warningsArno2019-11-221-1/+1
|
* Dark theme GUI changesArno2018-11-241-2/+2
| | | | | | | | 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.
* Clean up configurationdialog.cppArno2017-12-311-34/+34
| | | | | | * use type-safe connect syntax * remove Q_FOREACH * remove unused members and make some QPushButtons non-members
* Make unpack directory configurableArno2017-12-271-0/+5
| | | | | 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
* Remove unneeded #includes in configurationdialog.cppArno2017-12-271-7/+0
|
* Rip out copy path optionsArno2017-12-271-18/+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!
* Get rid of colorMapperArno2017-12-261-19/+8
| | | | Another QSignalMapper gone...
* Configure reencode reasonsArno2016-10-011-1/+76
| | | | Next: make it available in new movies dialog.
* Added configuration option for USBArno2016-03-041-0/+5
| | | | Define USB directory in configuration dialog. Still does nothing...
* Keep NewMovieWizard data on restartArno2015-07-071-0/+11
| | | | and make it configurable
* Clean up ConfigurationdialogArno2015-06-061-36/+0
| | | | Remove all remnants of PictureViewer size.
* Resize PictureViewer2Arno2015-06-061-1/+1
| | | | | | 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.
* Make metadata icon configurableArno2014-12-101-0/+13
|
* Get rid of FrameCacheArno2013-09-141-14/+0
|
* Remove ui/hovemoviesArno2013-09-141-5/+0
|
* Remove hoverarchive optionArno2013-09-141-4/+0
| | | | Not used, dead code
* Introduce Expensive OperationsArno2013-09-031-27/+30
| | | | | | | 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...
* Streamline configurable iconsArno Moeller2013-07-191-35/+48
| | | | | | | | | | Make icons configurable by: * folders * files * series * genres * actors Weed out old usage. New usage not yet implemented.
* Make check for present files configurableArno2013-04-061-1/+10
| | | | | Add a configuration option for checking the database when browsing the filesystem.
* Implement auto refreshArno2013-03-211-0/+22
| | | | | Since inotify isn't completely implemented for cifs mounts, implement auto refresh for FileView. Default is 5 seconds.
* Remove markAsSeenArno2013-03-171-13/+0
| | | | Wasn't used anyway, dropped DB-Table seen also.
* Icons for SmDirModelArno2013-03-171-21/+70
| | | | | Made Icons for SmDirModel configurable. For now it's folders, movies, pictures and others.
* Port to Qt5Arno2013-03-031-25/+25
| | | | | | | | * 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 PictureViewer2 size configurableArno2012-10-201-2/+45
| | | | | | | | 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
* Usability: ConfigurationDialog -> picturesArno2012-10-201-33/+14
| | | | | | 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 Mapping widget configurableArno2012-03-241-10/+31
| | | | | Make mappingwidget behave according to settings. SideBySide doesn't work yet, maybe it should be canned.
* Made FileInfoItem configurableArno2012-03-241-0/+43
| | | | | | | 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 settingsArno2012-03-241-27/+0
| | | | | Remove picture viewer settings tab. Wasn't used anyway, and need it for making PictureViewer2 configurable.
* ConfigurationDialog fixes and cleanupArno2012-03-241-53/+35
| | | | | | Fix: Put tabs movies and database into a QGroupBox Cleanup: use QFormLayout instead of QGridLayout where possible. Precursor for making PictureViewer2 configurable.
* Make background color of PictureViewer2 configurableArno2012-03-171-6/+40
| | | | | | Add options to ConfigurationDialog to either use a fixed color as background or a gradient picked with random colors picked from the picture.
* Center Dialogs on screenArno2011-08-171-1/+2
| | | | | | 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.
* PictureViewer fixesArno2011-04-301-1/+21
| | | | | | Add an option making resizing the picture viewer to the size of the picture configurable. It's desirable when using a tiling window manager.
* Fix Hotspot of X-Cursor when hoveringArno2011-04-301-0/+8
| | | | | Made Y-Offset for the cursor configurable. After switching from kwin to awesome WM the hotspot for hovering was way off.
* Implement favoritesArno2011-01-161-2/+15
| | | | | SeriesParts can be marked as favorites. They won't be selectable when filtering by local Movies only.
* Show iconized coversArno2011-01-091-0/+4
| | | | | When archiving covers, optionally show an iconized version of the cover picture instead of the default decoration icon.
* Automatically add files in configured folder when archiving moviesArno2011-01-091-4/+21
| | | | | | 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.
* Configuration option for archived filesArno2010-12-271-2/+15
| | | | | Added color selection for archived files to make more clearly which files aren't present on the filesystem.
* Made all icons in qresource available for UIArno2010-12-271-3/+11
| | | | | | | | | | | | | | | | 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.
* Made colors configurableArno2010-12-261-0/+136
| | | | | | | | | 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.
* Implement hover over moviesArno2010-12-111-11/+41
| | | | | | | | | | | | | | | | | | | | 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
* Added action to copy file path to clipboardArno2010-11-281-30/+63
| | | | | | | | | 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.
* Added configuration option for dvd mountArno2010-11-201-2/+64
| | | | | Preparation for new action dvd mount. Add setting for dvd mount directory.
* Made hovering configurableArno2010-10-161-13/+51
| | | | | | 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.
* Implement FilePropertiesDialogArno2010-07-311-0/+12
| | | | | | | | | | | 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.