-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sync bug fixes from Sigil SelectFiles to PageEdit
- Loading branch information
1 parent
5c7b2ca
commit ff81edc
Showing
4 changed files
with
46 additions
and
37 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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
/************************************************************************ | ||
** | ||
** | ||
** Copyright (C) 2015-2019 Kevin B. Hendricks, Stratford Ontario Canada | ||
** Copyright (C) 2015-2024 Kevin B. Hendricks, Stratford Ontario Canada | ||
** Copyright (C) 2012-2013 John Schember <[email protected]> | ||
** Copyright (C) 2012-2013 Dave Heiland | ||
** | ||
|
@@ -34,6 +34,8 @@ | |
|
||
class QString; | ||
class QWebEngineView; | ||
class QTimer; | ||
class QWidget; | ||
|
||
class SelectFiles : public QDialog | ||
{ | ||
|
@@ -71,11 +73,11 @@ private slots: | |
void PreviewLoadComplete(bool); | ||
void IncreaseThumbnailSize(); | ||
void DecreaseThumbnailSize(); | ||
|
||
void ReloadPreview(); | ||
|
||
void SelectionChanged(const QItemSelection &selected, const QItemSelection &deselected); | ||
|
||
void SelectDefaultImage(); | ||
void SetPreviewImage(); | ||
|
||
/** | ||
* Filters the list of displayed images | ||
|
@@ -92,8 +94,6 @@ private slots: | |
void ReadSettings(); | ||
void connectSignalsSlots(); | ||
|
||
void SetPreviewImage(); | ||
|
||
QStringList m_MediaList; | ||
QStringList m_MediaKind; | ||
QString m_MediaBase; | ||
|
@@ -114,7 +114,7 @@ private slots: | |
QListWidgetItem *m_ImageItem; | ||
QListWidgetItem *m_VideoItem; | ||
QListWidgetItem *m_AudioItem; | ||
|
||
QTimer * m_ImageChangedTimer; | ||
QWebEngineView *m_WebView; | ||
|
||
Ui::SelectFiles ui; | ||
|
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