From f481db4544cda2ff745407bda3eb1d7b45bbe016 Mon Sep 17 00:00:00 2001 From: schaerer Date: Tue, 6 Apr 2010 12:58:13 +0000 Subject: [PATCH] minor bugfixes --- vv/qt_ui/vvToolResample.ui | 40 ++++++++---------------------------- vv/qt_ui/vvToolWidgetBase.ui | 4 ++-- vv/vvToolResample.cxx | 1 + vv/vvToolResample.h | 3 --- 4 files changed, 11 insertions(+), 37 deletions(-) diff --git a/vv/qt_ui/vvToolResample.ui b/vv/qt_ui/vvToolResample.ui index 09596da..63d680e 100644 --- a/vv/qt_ui/vvToolResample.ui +++ b/vv/qt_ui/vvToolResample.ui @@ -40,7 +40,7 @@ - .mhd + @@ -58,7 +58,7 @@ - TextLabel + @@ -76,7 +76,7 @@ - TextLabel + @@ -94,7 +94,7 @@ - TextLabel + @@ -112,7 +112,7 @@ - TextLabel + @@ -129,33 +129,9 @@ - - TextLabel - - - - - - - - - - - Display result? - - - - - - - true - - - false - @@ -1056,7 +1032,7 @@ p, li { white-space: pre-wrap; } - TextLabel + @@ -1074,7 +1050,7 @@ p, li { white-space: pre-wrap; } - TextLabel + @@ -1092,7 +1068,7 @@ p, li { white-space: pre-wrap; } - TextLabel + diff --git a/vv/qt_ui/vvToolWidgetBase.ui b/vv/qt_ui/vvToolWidgetBase.ui index 7cfdbed..94b7d77 100644 --- a/vv/qt_ui/vvToolWidgetBase.ui +++ b/vv/qt_ui/vvToolWidgetBase.ui @@ -6,12 +6,12 @@ 0 0 - 178 + 179 61 - Form + Image Tool diff --git a/vv/vvToolResample.cxx b/vv/vvToolResample.cxx index 202d04e..cfd7f99 100644 --- a/vv/vvToolResample.cxx +++ b/vv/vvToolResample.cxx @@ -198,6 +198,7 @@ QString vvToolResample::GetSizeInBytes(std::vector & size) { result += QString::number(t); result += " KB)"; } + else result += ")"; return result; } //==================================================================== diff --git a/vv/vvToolResample.h b/vv/vvToolResample.h index 5a72a41..56801be 100644 --- a/vv/vvToolResample.h +++ b/vv/vvToolResample.h @@ -45,9 +45,6 @@ public: vvImage::Pointer GetOutput() { return mOutput; } - bool GetDisplayResult() { - return display_result->checkState() > 0; - } std::string GetOutputFileName(); static void Initialize(); void apply(); -- 2.45.1