-
-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- bugfixed: Opening the volume again after reading over 10 pages resulted in an unauthorized termination - bugfixed: Keyboard input did not work if FolderWindow is displayed in the main window - bugfixed: The image was not loaded even if switching the volume with the keyboard in FolderWindow - bugfixed: After switching to another Volume with SpreadViewing, and go back to original Volume, it goes one page - changed: for including some Qt common headers
- Loading branch information
Showing
12 changed files
with
141 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#include "foldertreeview.h" | ||
|
||
FolderTreeView::FolderTreeView(QWidget *parent) | ||
: QTreeView(parent) | ||
{ | ||
|
||
} | ||
|
||
void FolderTreeView::selectionChanged(const QItemSelection &selection, const QItemSelection &) | ||
{ | ||
auto list = selection.indexes(); | ||
if(list.size() > 0) | ||
emit selected(list.first()); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#ifndef FOLDERTREEVIEW_H | ||
#define FOLDERTREEVIEW_H | ||
|
||
#include <QtWidgets> | ||
|
||
class FolderTreeView : public QTreeView | ||
{ | ||
Q_OBJECT | ||
public: | ||
FolderTreeView(QWidget* parent); | ||
|
||
signals: | ||
void selected(const QModelIndex & index); | ||
|
||
protected: | ||
void selectionChanged(const QItemSelection &selected, const QItemSelection &deselected) override; | ||
}; | ||
|
||
#endif // FOLDERTREEVIEW_H |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters