diff options
| author | Tannin <sherb@gmx.net> | 2016-06-19 15:58:37 +0200 |
|---|---|---|
| committer | Tannin <sherb@gmx.net> | 2016-06-19 15:58:37 +0200 |
| commit | 0100c86887764547a705db5c311bcb5d6939423d (patch) | |
| tree | a1f8eeb95751743445166f6c8e247c1acd9b5357 /src/mainwindow.h | |
| parent | 8d04c77c29392ae2dce8efe517c50b40b5fd1895 (diff) | |
download list and data tree now also maintain their layout between sessions
Diffstat (limited to 'src/mainwindow.h')
| -rw-r--r-- | src/mainwindow.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mainwindow.h b/src/mainwindow.h index 3364bb37..0e542996 100644 --- a/src/mainwindow.h +++ b/src/mainwindow.h @@ -60,6 +60,7 @@ namespace MOShared { class DirectoryEntry; } #include <QStringList>
#include <QTime>
#include <QTimer>
+#include <QHeaderView>
#include <QVariant>
#include <Qt>
@@ -284,6 +285,8 @@ private: void dropLocalFile(const QUrl &url, const QString &outputDir, bool move);
+ bool registerWidgetState(const QString &name, QHeaderView *view, const char *oldSettingName = nullptr);
+
private:
static const char *PATTERN_BACKUP_GLOB;
@@ -348,6 +351,8 @@ private: LockedDialog *m_LockDialog { nullptr };
+ std::vector<std::pair<QString, QHeaderView*>> m_PersistedGeometry;
+
enum class ShortcutType {
Toolbar,
Desktop,
|
