Commit dc85489d authored by Dirk Wilden's avatar Dirk Wilden

small ui change

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@7378 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 6056d4c6
......@@ -98,7 +98,7 @@ void InfoPlugin::printMeshInfo( MeshT* _mesh , int _id, unsigned int _face, ACG:
// name
BaseObject* obj = 0;
if ( PluginFunctions::getObject(_id, obj) )
info_->objName->setText( obj->name() );
info_->generalBox->setTitle( tr("General object information for %1").arg( obj->name() ) );
// ID
info_->id->setText( locale.toString(_id) );
......
......@@ -6,7 +6,7 @@
<rect>
<x>0</x>
<y>0</y>
<width>773</width>
<width>768</width>
<height>930</height>
</rect>
</property>
......@@ -422,7 +422,7 @@
</widget>
</item>
<item>
<widget class="QGroupBox" name="groupBox">
<widget class="QGroupBox" name="generalBox">
<property name="font">
<font>
<weight>75</weight>
......@@ -442,8 +442,11 @@
<enum>QFrame::Raised</enum>
</property>
<layout class="QFormLayout" name="formLayout">
<property name="fieldGrowthPolicy">
<enum>QFormLayout::ExpandingFieldsGrow</enum>
</property>
<item row="0" column="0">
<widget class="QLabel" name="label">
<widget class="QLabel" name="label_3">
<property name="font">
<font>
<weight>50</weight>
......@@ -451,12 +454,12 @@
</font>
</property>
<property name="text">
<string>Object Name:</string>
<string>Object ID:</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QLabel" name="objName">
<widget class="QLabel" name="id">
<property name="font">
<font>
<weight>75</weight>
......@@ -464,15 +467,12 @@
</font>
</property>
<property name="text">
<string>name</string>
</property>
<property name="margin">
<number>0</number>
<string>id</string>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_3">
<item row="2" column="0">
<widget class="QLabel" name="label_7">
<property name="font">
<font>
<weight>50</weight>
......@@ -480,24 +480,38 @@
</font>
</property>
<property name="text">
<string>Object ID:</string>
<string>Vertices:</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QLabel" name="id">
<property name="font">
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text">
<string>id</string>
</property>
</widget>
<item row="2" column="1">
<layout class="QHBoxLayout" name="horizontalLayout_3">
<item>
<widget class="QLabel" name="verticesIcon">
<property name="text">
<string/>
</property>
<property name="pixmap">
<pixmap resource="icons.qrc">:/info/dialogIcons/info_vertices.png</pixmap>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="vertices">
<property name="font">
<font>
<weight>50</weight>
<bold>false</bold>
</font>
</property>
<property name="text">
<string>#vertices</string>
</property>
</widget>
</item>
</layout>
</item>
<item row="5" column="0">
<item row="4" column="0">
<widget class="QLabel" name="label_9">
<property name="font">
<font>
......@@ -510,7 +524,7 @@
</property>
</widget>
</item>
<item row="5" column="1">
<item row="4" column="1">
<layout class="QHBoxLayout" name="horizontalLayout_4">
<item>
<widget class="QLabel" name="label_11">
......@@ -537,7 +551,7 @@
</item>
</layout>
</item>
<item row="6" column="0">
<item row="5" column="0">
<widget class="QLabel" name="label_8">
<property name="font">
<font>
......@@ -550,7 +564,7 @@
</property>
</widget>
</item>
<item row="6" column="1">
<item row="5" column="1">
<layout class="QHBoxLayout" name="horizontalLayout_5">
<item>
<widget class="QLabel" name="label_10">
......@@ -577,7 +591,7 @@
</item>
</layout>
</item>
<item row="7" column="0">
<item row="6" column="0">
<widget class="QLabel" name="label_5">
<property name="font">
<font>
......@@ -590,46 +604,20 @@
</property>
</widget>
</item>
<item row="8" column="0">
<widget class="QLabel" name="label_17">
<property name="font">
<font>
<weight>50</weight>
<bold>false</bold>
</font>
</property>
<property name="text">
<string>Components:</string>
</property>
</widget>
</item>
<item row="9" column="0">
<widget class="QLabel" name="label_20">
<property name="font">
<font>
<weight>50</weight>
<bold>false</bold>
</font>
</property>
<property name="text">
<string>Genus:</string>
</property>
</widget>
</item>
<item row="9" column="1">
<layout class="QHBoxLayout" name="horizontalLayout_7">
<item row="6" column="1">
<layout class="QHBoxLayout" name="horizontalLayout_6">
<item>
<widget class="QLabel" name="genusIcon">
<widget class="QLabel" name="label_6">
<property name="text">
<string/>
</property>
<property name="pixmap">
<pixmap resource="icons.qrc">:/info/dialogIcons/info_genus.png</pixmap>
<pixmap resource="icons.qrc">:/info/dialogIcons/info_boundaries.png</pixmap>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="genus">
<widget class="QLabel" name="boundaries">
<property name="font">
<font>
<weight>50</weight>
......@@ -637,14 +625,14 @@
</font>
</property>
<property name="text">
<string>genus</string>
<string>#boundaries</string>
</property>
</widget>
</item>
</layout>
</item>
<item row="3" column="0">
<widget class="QLabel" name="label_7">
<item row="7" column="0">
<widget class="QLabel" name="label_17">
<property name="font">
<font>
<weight>50</weight>
......@@ -652,51 +640,24 @@
</font>
</property>
<property name="text">
<string>Vertices:</string>
<string>Components:</string>
</property>
</widget>
</item>
<item row="3" column="1">
<layout class="QHBoxLayout" name="horizontalLayout_3">
<item>
<widget class="QLabel" name="verticesIcon">
<property name="text">
<string/>
</property>
<property name="pixmap">
<pixmap resource="icons.qrc">:/info/dialogIcons/info_vertices.png</pixmap>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="vertices">
<property name="font">
<font>
<weight>50</weight>
<bold>false</bold>
</font>
</property>
<property name="text">
<string>#vertices</string>
</property>
</widget>
</item>
</layout>
</item>
<item row="7" column="1">
<layout class="QHBoxLayout" name="horizontalLayout_6">
<layout class="QHBoxLayout" name="horizontalLayout_8">
<item>
<widget class="QLabel" name="label_6">
<widget class="QLabel" name="componentsIcon">
<property name="text">
<string/>
</property>
<property name="pixmap">
<pixmap resource="icons.qrc">:/info/dialogIcons/info_boundaries.png</pixmap>
<pixmap resource="icons.qrc">:/info/dialogIcons/info_components.png</pixmap>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="boundaries">
<widget class="QLabel" name="components">
<property name="font">
<font>
<weight>50</weight>
......@@ -704,26 +665,39 @@
</font>
</property>
<property name="text">
<string>#boundaries</string>
<string>#components</string>
</property>
</widget>
</item>
</layout>
</item>
<item row="8" column="0">
<widget class="QLabel" name="label_20">
<property name="font">
<font>
<weight>50</weight>
<bold>false</bold>
</font>
</property>
<property name="text">
<string>Genus:</string>
</property>
</widget>
</item>
<item row="8" column="1">
<layout class="QHBoxLayout" name="horizontalLayout_8">
<layout class="QHBoxLayout" name="horizontalLayout_7">
<item>
<widget class="QLabel" name="componentsIcon">
<widget class="QLabel" name="genusIcon">
<property name="text">
<string/>
</property>
<property name="pixmap">
<pixmap resource="icons.qrc">:/info/dialogIcons/info_components.png</pixmap>
<pixmap resource="icons.qrc">:/info/dialogIcons/info_genus.png</pixmap>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="components">
<widget class="QLabel" name="genus">
<property name="font">
<font>
<weight>50</weight>
......@@ -731,7 +705,7 @@
</font>
</property>
<property name="text">
<string>#components</string>
<string>genus</string>
</property>
</widget>
</item>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment