summaryrefslogtreecommitdiffstats
path: root/src/datavis3d/engine/q3dbars.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/datavis3d/engine/q3dbars.h')
-rw-r--r--src/datavis3d/engine/q3dbars.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/datavis3d/engine/q3dbars.h b/src/datavis3d/engine/q3dbars.h
index bb5eb48e..f2a978a4 100644
--- a/src/datavis3d/engine/q3dbars.h
+++ b/src/datavis3d/engine/q3dbars.h
@@ -98,6 +98,12 @@ public:
ThemeLight
};
+ enum LabelTransparency {
+ TransparencyNone = 0, // Full solid, using colors from theme
+ TransparencyFromTheme, // Use colors and transparencies from theme
+ TransparencyNoBackground // Draw just text on transparent background
+ };
+
// TODO: Implement modes for "zooming" into selected row/column, ie. display only selected row/column
// in full window and 3d chart in a small viewport
enum SelectionMode {
@@ -183,6 +189,12 @@ public:
// Set window title
void setWindowTitle(const QString &title);
+ // Font size adjustment (should it be in enum (smallest, smaller, small, normal, large, larger, largest), or just float?
+ void setFontSize(float fontsize);
+
+ // Label transparency adjustment
+ void setLabelTransparency(LabelTransparency transparency);
+
protected:
void mousePressEvent(QMouseEvent *event);
void mouseReleaseEvent(QMouseEvent *event);