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.h17
1 files changed, 8 insertions, 9 deletions
diff --git a/src/datavis3d/engine/q3dbars.h b/src/datavis3d/engine/q3dbars.h
index aea82b9e..d4e0fce9 100644
--- a/src/datavis3d/engine/q3dbars.h
+++ b/src/datavis3d/engine/q3dbars.h
@@ -85,7 +85,7 @@ public:
// how many samples per row and column, and names for axes
// TODO: This defines the data window, needs additional parameters startRow, startColumn
void setupSampleSpace(int samplesRow, int samplesColumn);
- QSize sampleSpace(); // TODO: Return QRect once data window properly implemented?
+ QSize sampleSpace() const; // TODO: Return QRect once data window properly implemented?
// Select preset camera placement
void setCameraPreset(CameraPreset preset);
@@ -110,11 +110,11 @@ public:
// Change selection mode; single bar, bar and row, bar and column, or all
void setSelectionMode(SelectionMode mode);
- SelectionMode selectionMode();
+ SelectionMode selectionMode() const;
// Set window title
void setWindowTitle(const QString &title);
- QString windowTitle();
+ QString windowTitle() const;
// Font size adjustment
void setFontSize(float fontsize);
@@ -122,28 +122,27 @@ public:
// Set font
void setFont(const QFont &font);
- QFont font();
+ QFont font() const;
// Label transparency adjustment
void setLabelTransparency(LabelTransparency transparency);
- LabelTransparency labelTransparency();
+ LabelTransparency labelTransparency() const;
// Enable or disable background grid
void setGridVisible(bool visible);
- bool isGridVisible();
+ bool isGridVisible() const;
- // TODO: Do these need to be public? Where are they called from?
// Size
void setWidth(const int width);
void setHeight(const int height);
// Enable or disable background mesh
void setBackgroundVisible(bool visible);
- bool isBackgroundVisible();
+ bool isBackgroundVisible() const;
// Adjust shadow quality
void setShadowQuality(ShadowQuality quality);
- ShadowQuality shadowQuality();
+ ShadowQuality shadowQuality() const;
// Axes - row & column axes are fixed to category axes, value axis can be
// customized.