diff options
author | Arno <arno@disconnect.de> | 2018-07-14 18:44:48 +0200 |
---|---|---|
committer | Arno <arno@disconnect.de> | 2018-07-14 18:44:48 +0200 |
commit | 91e0b30ac38cec6ab7c8477615c0df129efed216 (patch) | |
tree | 881dc3b24dd3bca95ccc0ad2a1146db400d0f653 /pictureviewer2.h | |
parent | f6eb9eb58568b5fde537cc8119914dc77b25b46a (diff) | |
download | SheMov-91e0b30ac38cec6ab7c8477615c0df129efed216.tar.gz SheMov-91e0b30ac38cec6ab7c8477615c0df129efed216.tar.bz2 SheMov-91e0b30ac38cec6ab7c8477615c0df129efed216.zip |
Remove the menuBar() from picture archive
The journey started innocent enough, but turned out to be a commit that
should have been severals. In the end, the picture archive has no
menuBar() any more, as expected, but it's also impossible to call the
slide dialog. Will fix that soon.
Diffstat (limited to 'pictureviewer2.h')
-rw-r--r-- | pictureviewer2.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/pictureviewer2.h b/pictureviewer2.h index 3c57005..3813d93 100644 --- a/pictureviewer2.h +++ b/pictureviewer2.h @@ -58,7 +58,6 @@ class PictureViewer2 : public QGraphicsView { void setShowMappingItem(bool show) { mShowMappingItem = show; } void setShowMarkItem(bool show) { mShowMarkItem = show; } void setCurrentDir(const QString &curDir) { mCurrentDir = curDir; } - const PicDataList marked() { return mMarkedFiles; } PicData picData(const QString &fullPath, int fileId = -1); public slots: @@ -70,12 +69,9 @@ class PictureViewer2 : public QGraphicsView { void startSlide(); void readSettings(); void writeSettings(); - void initActions(); - void copyCurrent(); void deleteCurrent(); void showNewPicsDialog(); void addToNewPics(); - void markCurrent(); void clearMarks(); void showSlide(); void doSlide(); @@ -84,8 +80,6 @@ class PictureViewer2 : public QGraphicsView { virtual void wheelEvent(QWheelEvent *event); virtual void contextMenuEvent(QContextMenuEvent *e); virtual void keyPressEvent(QKeyEvent *e); - virtual void showEvent(QShowEvent *e); - virtual void hideEvent(QHideEvent *e); virtual void resizeEvent(QResizeEvent *event); private slots: @@ -126,9 +120,6 @@ class PictureViewer2 : public QGraphicsView { QPointF mInfoPos; QPointF mMappingPos; QPointF mBoundingPos; - QAction *mHideA; - QAction *mMarkA; - QAction *mDeleteA; PicFilesModel *mPicFilesModel; PicData mCurPicData; NewPicsDialog *mNewPicsDlg; |