summaryrefslogtreecommitdiffstats
path: root/configurationdialog.h
diff options
context:
space:
mode:
authorArno <am@disconnect.de>2010-12-11 13:06:20 +0100
committerArno <am@disconnect.de>2010-12-11 13:06:20 +0100
commitc3b7144f5aef2906d85339d3b9c5bf8eaa3a6356 (patch)
treecb5c3d8d6ad572148f36cfc8b75307fdea386b9f /configurationdialog.h
parenta87e4d8c3c2102e9728dd5df303acca7ae08b343 (diff)
downloadSheMov-c3b7144f5aef2906d85339d3b9c5bf8eaa3a6356.tar.gz
SheMov-c3b7144f5aef2906d85339d3b9c5bf8eaa3a6356.tar.bz2
SheMov-c3b7144f5aef2906d85339d3b9c5bf8eaa3a6356.zip
Implement hover over movies
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
Diffstat (limited to 'configurationdialog.h')
-rw-r--r--configurationdialog.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/configurationdialog.h b/configurationdialog.h
index edbe219..dd8e62b 100644
--- a/configurationdialog.h
+++ b/configurationdialog.h
@@ -27,6 +27,9 @@ class ConfigurationDialog : public QDialog {
public slots:
void accept();
+
+ private slots:
+ void setGrabFrameEnabled(bool enabled);
private:
void readSettings();
@@ -41,6 +44,7 @@ class ConfigurationDialog : public QDialog {
QLineEdit *mArchiveDir;
QLineEdit *mBurnDir;
QLineEdit *mFfProbePath;
+ QLineEdit *mFfMpegPath;
QLineEdit *mDvdMountPath;
QLineEdit *mDatabaseHost;
QLineEdit *mDatabaseName;
@@ -48,9 +52,11 @@ class ConfigurationDialog : public QDialog {
QLineEdit *mDatabasePassword;
QLineEdit *mWindowsDrive;
QLineEdit *mStripPath;
+ QLineEdit *mGrabFrameFrom;
QComboBox *mIconForFolder;
QCheckBox *mHoverPics;
QCheckBox *mHoverArchive;
+ QCheckBox *mHoverMovies;
QSpinBox *mHoverOpacity;
};