diff options
author | Arno <am@disconnect.de> | 2012-11-16 16:43:50 +0100 |
---|---|---|
committer | Arno <am@disconnect.de> | 2012-11-16 16:43:50 +0100 |
commit | ba9c314b4ba68b2da1d6c59accbcb9cf1aa5f897 (patch) | |
tree | b28c4ee1d91a27b8eb11da29395fa3d42dad5ceb /pictureviewer2.h | |
parent | 7a56ffb6f1afc5ed09459230d47621fa4a1963b6 (diff) | |
download | SheMov-ba9c314b4ba68b2da1d6c59accbcb9cf1aa5f897.tar.gz SheMov-ba9c314b4ba68b2da1d6c59accbcb9cf1aa5f897.tar.bz2 SheMov-ba9c314b4ba68b2da1d6c59accbcb9cf1aa5f897.zip |
Usability: Make archiving pics easier
To make archiving pictures from different sources easier, add a
NewPicsDialog to PictureViewer. Add shortcuts to show the dialog and
adding pics to it. After adding all pics with the same mappping, just
click OK and add them to the archive.
Shortcuts:
Meta+s: Show NewPicsDialog
Meta+a: Add current pic
Diffstat (limited to 'pictureviewer2.h')
-rw-r--r-- | pictureviewer2.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pictureviewer2.h b/pictureviewer2.h index 9d5c1c5..631f5f8 100644 --- a/pictureviewer2.h +++ b/pictureviewer2.h @@ -26,6 +26,7 @@ class QGraphicsItem; class SmTreeItem; class MappingTreeModel; class PicFilesModel; +class NewPicsDialog; typedef QList<QVariant> PicData; typedef QList<QList<QVariant> > PicDataList; @@ -51,6 +52,8 @@ class PictureViewer2 : public QGraphicsView { void shuffle(); void initActions(); void copyCurrent(); + void showNewPicsDialog(); + void addToNewPics(); protected: virtual void wheelEvent(QWheelEvent *event); @@ -90,6 +93,7 @@ class PictureViewer2 : public QGraphicsView { MappingTreeModel *mMappingTreeModel; PicFilesModel *mPicFilesModel; PicData mCurPicData; + NewPicsDialog *mNewPicsDlg; }; class PictureViewer2Item : public QGraphicsItem { |