[PATCH 16/17] Remove unused strings from ui files

Anton Lundin glance at acc.umu.se
Wed Dec 24 04:38:34 PST 2014


On 24 December, 2014 - Joakim Bygdell wrote:

> 
> >       <widget class="QLineEdit" name="filterInternalList">
> > diff --git a/qt-ui/tableview.ui b/qt-ui/tableview.ui
> > index 7386723..dce3fb7 100644
> > --- a/qt-ui/tableview.ui
> > +++ b/qt-ui/tableview.ui
> > @@ -10,12 +10,6 @@
> >     <height>300</height>
> >    </rect>
> >   </property>
> > -  <property name="windowTitle">
> > -   <string>GroupBox</string>
> > -  </property>
> > -  <property name="title">
> > -   <string>GroupBox</string>
> > -  </property>
> >   <layout class="QVBoxLayout" name="verticalLayout">
> >    <item>
> >     <widget class="QTableView" name="tableView"/>
> > -- 
> 
> These changes breaks the functionality to add elements to the tables in the planner and the equipment tab.
> 

Its the title property who have bin serving as some sort of spacer, i
guess. We should fix so the add + button "takes" the approperiate space.

Meanwhile you can:

diff --git a/qt-ui/tableview.ui b/qt-ui/tableview.ui
index dce3fb7..a252648 100644
--- a/qt-ui/tableview.ui
+++ b/qt-ui/tableview.ui
@@ -10,6 +10,9 @@
     <height>300</height>
    </rect>
   </property>
+  <property name="title">
+   <string>THIS_IS_A_SPACING_TEXT</string>
+  </property>
   <layout class="QVBoxLayout" name="verticalLayout">
    <item>
     <widget class="QTableView" name="tableView"/>


//Anton


-- 
Anton Lundin	+46702-161604


More information about the subsurface mailing list