summaryrefslogtreecommitdiff
path: root/src/colortable.h
diff options
context:
space:
mode:
authorisanae <14251494+isanae@users.noreply.github.com>2019-09-27 15:26:00 -0400
committerisanae <14251494+isanae@users.noreply.github.com>2019-09-27 15:26:00 -0400
commitec48a6d79665915b07f11f93a834fbec7fc09c45 (patch)
tree795ced35cc9c45b651ac49f0aa98be566b4dd32b /src/colortable.h
parent51d664d76ce6b611e7a7585b209bad9d68fe65d7 (diff)
a few comments for ColorTable
Diffstat (limited to 'src/colortable.h')
-rw-r--r--src/colortable.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/colortable.h b/src/colortable.h
index c2b64a4d..039b6024 100644
--- a/src/colortable.h
+++ b/src/colortable.h
@@ -5,13 +5,24 @@
class Settings;
+// a QTableWidget to view and modify color settings
+//
class ColorTable : public QTableWidget
{
public:
ColorTable(QWidget* parent=nullptr);
+ // adds colors to the table from the settings
+ //
void load(Settings& s);
+
+ // resets the colors to their default values; commitColors() must be called
+ // to save them
+ //
void resetColors();
+
+ // commits any changes
+ //
void commitColors();
private: