summaryrefslogtreecommitdiffstats
path: root/clients/tde/src/widgets/tracewidget.h
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-07-16 23:57:45 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-07-16 23:57:45 -0500
commit192a06da8df1bf95e96d77d2fa0736bb7d2fe58b (patch)
tree82a7cbffa7f7e18b39f13a76bdbfa9ea6a378c54 /clients/tde/src/widgets/tracewidget.h
parent9c5e2aa99427fe125c631d4753b1f944992d8c03 (diff)
downloadulab-192a06da8df1bf95e96d77d2fa0736bb7d2fe58b.tar.gz
ulab-192a06da8df1bf95e96d77d2fa0736bb7d2fe58b.zip
Add trigger display
Diffstat (limited to 'clients/tde/src/widgets/tracewidget.h')
-rw-r--r--clients/tde/src/widgets/tracewidget.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/clients/tde/src/widgets/tracewidget.h b/clients/tde/src/widgets/tracewidget.h
index 9a478ac..130904f 100644
--- a/clients/tde/src/widgets/tracewidget.h
+++ b/clients/tde/src/widgets/tracewidget.h
@@ -42,6 +42,8 @@ class TQRectF
double m_h;
};
+typedef TQValueList<int> TraceNumberList;
+
class TraceData : public TQObject
{
Q_OBJECT
@@ -114,6 +116,7 @@ class CursorData : public TQObject
bool enabled;
TQt::Orientation orientation;
double position;
+ TraceNumberList activeTraceLabelList;
TQString cursorName;
TQLabel* paramLabel;
TQPushButton* singleIncrBtn;
@@ -199,6 +202,11 @@ class TraceWidget : public TQWidget
double cursorPosition(uint cursorNumber);
void setCursorPosition(uint cursorNumber, double position);
+ TQColor cursorColor(uint cursorNumber);
+ void setCursorColor(uint cursorNumber, TQColor);
+ TQColor cursorHighlightColor(uint cursorNumber);
+ void setCursorHighlightColor(uint cursorNumber, TQColor);
+ void setCursorActiveTraceList(uint cursorNumber, TraceNumberList list);
bool cursorEnabled(uint cursorNumber);
void setCursorEnabled(uint cursorNumber, bool enabled);
TQString cursorName(uint cursorNumber);
@@ -213,6 +221,8 @@ class TraceWidget : public TQWidget
void setZoomBoxEnabled(bool enabled);
TQRectF zoomCursorBox();
void setZoomCursorBox(const TQRectF rect);
+ unsigned int zoomCursorStartIndex();
+ void setZoomCursorStartIndex(unsigned int index);
static TQString prettyFormat(double value, double rangeDetectValue, TQString baseUnits, unsigned int precision=3);
@@ -237,6 +247,7 @@ class TraceWidget : public TQWidget
unsigned int m_vertDivs;
unsigned int m_cursorDarkness;
unsigned int m_zoomBoxDarkness;
+ unsigned int m_zoomCursorStartIndex;
bool m_zoomBoxEnabled;
TQRectF m_zoomBoxPrev;
TraceList m_traceArray;