Skip to content

Commit 8ceeea6

Browse files
committed
Merge branch 'master' into complex
2 parents 75f0c70 + 558daa7 commit 8ceeea6

File tree

4 files changed

+6
-7
lines changed

4 files changed

+6
-7
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ For documentation, please see: http://sciinstitute.github.io/SCIRun/
3737
- Apple clang 5.1
3838
- Qt 4.8
3939
+ Download from http://releases.qt-project.org/qt4/source/qt-mac-opensource-4.8.4.dmg.
40+
+ The above dmg will not work if using OS X 10.11. In this case Qt 4.8 can be acquired through macports using the command 'sudo port install qt4-mac' - more on macports here: https://www.macports.org/install.php
4041
* Windows (tested on Windows 7, 8)
4142
- Visual Studio 2013
4243
- Qt 4.8

src/Interface/Modules/Render/ViewScene.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1074,7 +1074,7 @@ GeometryHandle ViewSceneDialog::buildGeometryScaleBar()
10741074
//text
10751075
std::stringstream ss;
10761076
std::string oneline;
1077-
ss << scaleBar_.length << " " << scaleBar_.unit;
1077+
ss << scaleBar_.length * scaleBar_.multiplier << " " << scaleBar_.unit;
10781078
oneline = ss.str();
10791079
double text_len = 0.0;
10801080
if (textBuilder_.isInit() && textBuilder_.isValid())

src/Interface/Modules/Render/ViewSceneControls.ui

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -254,8 +254,6 @@
254254
<zorder></zorder>
255255
<zorder></zorder>
256256
<zorder></zorder>
257-
<zorder></zorder>
258-
<zorder></zorder>
259257
</widget>
260258
</item>
261259
<item row="2" column="0" colspan="3">
@@ -384,10 +382,6 @@
384382
</widget>
385383
</item>
386384
</layout>
387-
<zorder>currentBackgroundLabel_</zorder>
388-
<zorder>setBackgroundColorPushButton_</zorder>
389-
<zorder>currentBackgroundLabel_</zorder>
390-
<zorder>setBackgroundColorPushButton_</zorder>
391385
</widget>
392386
</item>
393387
<item row="6" column="0">
@@ -1366,6 +1360,9 @@
13661360
</size>
13671361
</property>
13681362
<property name="inputMask">
1363+
<string/>
1364+
</property>
1365+
<property name="text">
13691366
<string>mm</string>
13701367
</property>
13711368
</widget>

src/Interface/Modules/Render/ViewSceneControlsDock.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ ViewSceneControlsDock::ViewSceneControlsDock(const QString& name, ViewSceneDialo
110110
connect(numTicksSpinBox_, SIGNAL(valueChanged(int)), parent, SLOT(setScaleBarNumTicks(int)));
111111
connect(scaleBarMultiplierDoubleSpinBox_, SIGNAL(valueChanged(double)), parent, SLOT(setScaleBarMultiplier(double)));
112112
connect(scaleBarLineWidthDoubleSpinBox_, SIGNAL(valueChanged(double)), parent, SLOT(setScaleBarLineWidth(double)));
113+
connect(scaleBarUnitLineEdit_, SIGNAL(textEdited(const QString&)), parent, SLOT(setScaleBarUnitValue(const QString&)));
113114
//-----------Controls Tab-------------------//
114115
connect(saveScreenShotOnUpdateCheckBox_, SIGNAL(stateChanged(int)), parent, SLOT(saveNewGeometryChanged(int)));
115116
connect(mouseControlComboBox_, SIGNAL(currentIndexChanged(int)), parent, SLOT(menuMouseControlChanged(int)));

0 commit comments

Comments
 (0)