summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-07-15 04:07:22 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-07-15 04:07:22 -0500
commit93e334df145c1682214d0c386ae7e621c188a2cc (patch)
treef6243a61e82011464f23662d968afbab3189a36e
parentd865ad890422e5c9a53817186457269f613b4e5a (diff)
downloadulab-93e334df145c1682214d0c386ae7e621c188a2cc.tar.gz
ulab-93e334df145c1682214d0c386ae7e621c188a2cc.zip
Fix trace viewer
-rw-r--r--clients/tde/src/part/commanalyzer/layout.ui26
-rw-r--r--clients/tde/src/part/scope/layout.ui24
-rw-r--r--clients/tde/src/widgets/tracewidget.cpp1
3 files changed, 18 insertions, 33 deletions
diff --git a/clients/tde/src/part/commanalyzer/layout.ui b/clients/tde/src/part/commanalyzer/layout.ui
index 82b011e..172fc93 100644
--- a/clients/tde/src/part/commanalyzer/layout.ui
+++ b/clients/tde/src/part/commanalyzer/layout.ui
@@ -45,13 +45,21 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="TQGroupBox" row="0" column="0">
+ <widget class="TQGroupBox" row="0" column="0" rowspan="10">
<property name="name">
<cstring>groupSpectrumAnalyzerView</cstring>
</property>
<property name="title">
<string>Trace Viewer</string>
</property>
+ <property name="sizePolicy">
+ <sizepolicy>
+ <hsizetype>7</hsizetype>
+ <vsizetype>7</vsizetype>
+ <horstretch>1</horstretch>
+ <verstretch>1</verstretch>
+ </sizepolicy>
+ </property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
@@ -60,14 +68,6 @@
<property name="name">
<cstring>traceWidget</cstring>
</property>
- <property name="sizePolicy">
- <sizepolicy>
- <hsizetype>7</hsizetype>
- <vsizetype>7</vsizetype>
- <horstretch>1</horstretch>
- <verstretch>1</verstretch>
- </sizepolicy>
- </property>
<property name="minimumSize">
<size>
<width>80</width>
@@ -79,14 +79,6 @@
<property name="name">
<cstring>traceZoomWidget</cstring>
</property>
- <property name="sizePolicy">
- <sizepolicy>
- <hsizetype>7</hsizetype>
- <vsizetype>7</vsizetype>
- <horstretch>1</horstretch>
- <verstretch>1</verstretch>
- </sizepolicy>
- </property>
<property name="minimumSize">
<size>
<width>80</width>
diff --git a/clients/tde/src/part/scope/layout.ui b/clients/tde/src/part/scope/layout.ui
index f824d7a..038bf7f 100644
--- a/clients/tde/src/part/scope/layout.ui
+++ b/clients/tde/src/part/scope/layout.ui
@@ -52,6 +52,14 @@
<property name="title">
<string>Trace Viewer</string>
</property>
+ <property name="sizePolicy">
+ <sizepolicy>
+ <hsizetype>7</hsizetype>
+ <vsizetype>7</vsizetype>
+ <horstretch>1</horstretch>
+ <verstretch>1</verstretch>
+ </sizepolicy>
+ </property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
@@ -60,14 +68,6 @@
<property name="name">
<cstring>traceWidget</cstring>
</property>
- <property name="sizePolicy">
- <sizepolicy>
- <hsizetype>7</hsizetype>
- <vsizetype>7</vsizetype>
- <horstretch>1</horstretch>
- <verstretch>1</verstretch>
- </sizepolicy>
- </property>
<property name="minimumSize">
<size>
<width>80</width>
@@ -79,14 +79,6 @@
<property name="name">
<cstring>traceZoomWidget</cstring>
</property>
- <property name="sizePolicy">
- <sizepolicy>
- <hsizetype>7</hsizetype>
- <vsizetype>7</vsizetype>
- <horstretch>1</horstretch>
- <verstretch>1</verstretch>
- </sizepolicy>
- </property>
<property name="minimumSize">
<size>
<width>80</width>
diff --git a/clients/tde/src/widgets/tracewidget.cpp b/clients/tde/src/widgets/tracewidget.cpp
index eda2c53..10299e5 100644
--- a/clients/tde/src/widgets/tracewidget.cpp
+++ b/clients/tde/src/widgets/tracewidget.cpp
@@ -601,6 +601,7 @@ TraceWidget::TraceWidget(TQWidget* parent, const char* name) : TQWidget(parent,
m_zoomBoxDarkness(ZOOM_SHADING_DARKNESS_FACTOR),
m_zoomBoxEnabled(false) {
setBackgroundMode(NoBackground);
+ setSizePolicy(TQSizePolicy(TQSizePolicy::MinimumExpanding, TQSizePolicy::MinimumExpanding));
m_primaryLayout = new TQGridLayout(this);
m_graticuleWidget = new GraticuleWidget(this);