Commit 277eda4e authored by Benjamin Jakimow's avatar Benjamin Jakimow
Browse files

added "experimental" note to 3D mode

parent 0fc86760
......@@ -228,8 +228,10 @@ class TimeSeriesViewerUI(QMainWindow,
#self.dockRendering = addDockWidget(docks.RenderingDockUI(self))
from timeseriesviewer.labeling import LabelingDockUI
self.dockLabeling = addDockWidget(LabelingDockUI(self))
if DEBUG:
from timeseriesviewer.labeling import LabelingDockUI
self.dockLabeling = addDockWidget(LabelingDockUI(self))
self.dockLabeling.setHidden(True)
from timeseriesviewer.sensorvisualization import SensorDockUI
self.dockSensors = addDockWidget(SensorDockUI(self))
......@@ -260,6 +262,7 @@ class TimeSeriesViewerUI(QMainWindow,
area = Qt.RightDockWidgetArea
from timeseriesviewer.systeminfo import SystemInfoDock
self.dockSystemInfo = addDockWidget(SystemInfoDock(self))
self.dockSystemInfo.setVisible(False)
......@@ -271,7 +274,7 @@ class TimeSeriesViewerUI(QMainWindow,
self.menuPanels.addAction(dock.toggleViewAction())
self.dockLabeling.setHidden(True)
self.dockTimeSeries.raise_()
......
......@@ -456,6 +456,7 @@ class PlotSettingsModel3DWidgetDelegate(QStyledItemDelegate):
self.commitData.emit(w)
def setEditorData(self, editor, index):
cname = self.getColumnName(index)
model = self.mTableView.model()
......@@ -1250,7 +1251,7 @@ class ProfileViewDockUI(QgsDockWidget, loadUI('profileviewdock.ui')):
if w == self.page2D:
title = '{} | 2D'.format(title)
elif w == self.page3D:
title = '{} | 3D'.format(title)
title = '{} | 3D (experimental!)'.format(title)
elif w == self.pagePixel:
title = '{} | Coordinates'.format(title)
self.setWindowTitle(title)
......
......@@ -520,6 +520,9 @@ class ViewWidget3D(GLViewWidget):
# self.renderText(0.8, 0.8, 0.8, 'text 3D')
# self.renderText(5, 10, 'text 2D fixed')
self.qglColor(Qt.darkYellow)
self.renderText(5, 10, '(3D Mode still experimental)')
def contextMenuEvent(self, event):
assert isinstance(event, QContextMenuEvent)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment