From 45c2e39cbcab52fa462c6cd7f3a88112f17a261c Mon Sep 17 00:00:00 2001 From: Martin Baeuml Date: Thu, 2 Dec 2010 17:44:29 +0100 Subject: [PATCH] rename UI widgets --- labeltool.py | 2 +- labeltool.ui | 41 +++++------------------------------------ 2 files changed, 6 insertions(+), 37 deletions(-) diff --git a/labeltool.py b/labeltool.py index 9f1f6b2..af137e5 100755 --- a/labeltool.py +++ b/labeltool.py @@ -25,7 +25,7 @@ class MainWindow(QMainWindow): self.buttonarea = ButtonArea() self.buttonarea.load("example_config.py") - self.ui.dockAnnotationTree.setWidget(self.buttonarea) + self.ui.dockAnnotationButtons.setWidget(self.buttonarea) ## create action group for tools self.toolActions = QActionGroup(self) diff --git a/labeltool.ui b/labeltool.ui index 6e96eeb..08ae269 100644 --- a/labeltool.ui +++ b/labeltool.ui @@ -20,7 +20,7 @@ 0 0 656 - 28 + 26 @@ -84,39 +84,8 @@ - - - - - - - true - - - - 80 - 44 - - - - false - - - QDockWidget::AllDockWidgetFeatures - - - Qt::AllDockWidgetAreas - - - Tool Properties - - - 1 - - - - + true @@ -132,13 +101,13 @@ 1 - + - + 2 - +