New icons personal information and measurements.

--HG--
branch : develop
This commit is contained in:
dismine 2014-07-09 17:20:13 +03:00
parent 91843fe8d8
commit fda8cc24fa
5 changed files with 17 additions and 2 deletions

View File

@ -86,7 +86,7 @@ DialogIncrements::DialogIncrements(VContainer *data, VPattern *doc, QWidget *par
if (qApp->patternType() == MeasurementsType::Standard)
{
ui->pagePersonalInformation->setVisible(false);
ui->toolBoxMeasurements->setItemEnabled(0, false);
}
else
{
@ -212,6 +212,7 @@ void DialogIncrements::FillMeasurements()
}
item = new QTableWidgetItem(m.GetDescription());
item->setToolTip(m.GetDescription());
item->setTextAlignment(Qt::AlignHCenter);
// set the item non-editable (view only), and non-selectable
flags = item->flags();
@ -284,6 +285,7 @@ void DialogIncrements::FillIncrements()
}
item = new QTableWidgetItem(incr.GetDescription());
item->setToolTip(incr.GetDescription());
item->setTextAlignment(Qt::AlignLeft);
ui->tableWidgetIncrement->setItem(currentRow, 5, item);
}

View File

@ -92,6 +92,9 @@
</item>
<item>
<widget class="QToolBox" name="toolBoxMeasurements">
<property name="enabled">
<bool>true</bool>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Expanding">
<horstretch>0</horstretch>
@ -105,7 +108,7 @@
</size>
</property>
<property name="currentIndex">
<number>1</number>
<number>0</number>
</property>
<widget class="QWidget" name="pagePersonalInformation">
<property name="enabled">
@ -119,6 +122,10 @@
<height>411</height>
</rect>
</property>
<attribute name="icon">
<iconset resource="../../share/resources/icon.qrc">
<normaloff>:/icon/16x16/info.png</normaloff>:/icon/16x16/info.png</iconset>
</attribute>
<attribute name="label">
<string>Personal information</string>
</attribute>
@ -275,6 +282,10 @@
<height>411</height>
</rect>
</property>
<attribute name="icon">
<iconset resource="../../share/resources/icon.qrc">
<normaloff>:/icon/16x16/measurement.png</normaloff>:/icon/16x16/measurement.png</iconset>
</attribute>
<attribute name="label">
<string>Measurements</string>
</attribute>

View File

@ -56,5 +56,7 @@
<file>icon/32x32/arrowLeftUp.png</file>
<file>icon/32x32/putHereLeft.png</file>
<file>icon/path_config.png</file>
<file>icon/16x16/info.png</file>
<file>icon/16x16/measurement.png</file>
</qresource>
</RCC>

Binary file not shown.

After

Width:  |  Height:  |  Size: 857 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 467 B