summaryrefslogtreecommitdiff
path: root/src/modinfodialogtab.h
diff options
context:
space:
mode:
authorAL <26797547+Al12rs@users.noreply.github.com>2020-04-29 22:13:09 +0200
committerAL <26797547+Al12rs@users.noreply.github.com>2020-04-29 22:13:09 +0200
commitbdd1e97d4f3a8b294a0691a7631c60cf24fffa90 (patch)
treec9845642b6f048fa80edbc38285d78ee3bf0c3fa /src/modinfodialogtab.h
parent4d67365600383d739df5288612a347948d5506b3 (diff)
Add modinfodialog Notes Tab color selector.
Diffstat (limited to 'src/modinfodialogtab.h')
-rw-r--r--src/modinfodialogtab.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/modinfodialogtab.h b/src/modinfodialogtab.h
index d0a58574..7a42bf7e 100644
--- a/src/modinfodialogtab.h
+++ b/src/modinfodialogtab.h
@@ -253,6 +253,9 @@ protected:
//
void setFocus();
+ // parent widget, used to display modal dialogs
+ QWidget* m_parent;
+
private:
// core
OrganizerCore& m_core;
@@ -260,9 +263,6 @@ private:
// plugin
PluginContainer& m_plugin;
- // parent widget, used to display modal dialogs
- QWidget* m_parent;
-
// current mod, never null
ModInfoPtr m_mod;
@@ -299,8 +299,11 @@ public:
bool usesOriginFiles() const override;
private:
+ void updateCommentsColor(bool clear = false);
void onComments();
void onNotes();
+ void onSetColor();
+ void onResetColor();
void checkHasData();
};