New icons personal information and measurements.
--HG-- branch : develop
This commit is contained in:
parent
91843fe8d8
commit
fda8cc24fa
|
@ -86,7 +86,7 @@ DialogIncrements::DialogIncrements(VContainer *data, VPattern *doc, QWidget *par
|
||||||
|
|
||||||
if (qApp->patternType() == MeasurementsType::Standard)
|
if (qApp->patternType() == MeasurementsType::Standard)
|
||||||
{
|
{
|
||||||
ui->pagePersonalInformation->setVisible(false);
|
ui->toolBoxMeasurements->setItemEnabled(0, false);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
@ -212,6 +212,7 @@ void DialogIncrements::FillMeasurements()
|
||||||
}
|
}
|
||||||
|
|
||||||
item = new QTableWidgetItem(m.GetDescription());
|
item = new QTableWidgetItem(m.GetDescription());
|
||||||
|
item->setToolTip(m.GetDescription());
|
||||||
item->setTextAlignment(Qt::AlignHCenter);
|
item->setTextAlignment(Qt::AlignHCenter);
|
||||||
// set the item non-editable (view only), and non-selectable
|
// set the item non-editable (view only), and non-selectable
|
||||||
flags = item->flags();
|
flags = item->flags();
|
||||||
|
@ -284,6 +285,7 @@ void DialogIncrements::FillIncrements()
|
||||||
}
|
}
|
||||||
|
|
||||||
item = new QTableWidgetItem(incr.GetDescription());
|
item = new QTableWidgetItem(incr.GetDescription());
|
||||||
|
item->setToolTip(incr.GetDescription());
|
||||||
item->setTextAlignment(Qt::AlignLeft);
|
item->setTextAlignment(Qt::AlignLeft);
|
||||||
ui->tableWidgetIncrement->setItem(currentRow, 5, item);
|
ui->tableWidgetIncrement->setItem(currentRow, 5, item);
|
||||||
}
|
}
|
||||||
|
|
|
@ -92,6 +92,9 @@
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QToolBox" name="toolBoxMeasurements">
|
<widget class="QToolBox" name="toolBoxMeasurements">
|
||||||
|
<property name="enabled">
|
||||||
|
<bool>true</bool>
|
||||||
|
</property>
|
||||||
<property name="sizePolicy">
|
<property name="sizePolicy">
|
||||||
<sizepolicy hsizetype="Preferred" vsizetype="Expanding">
|
<sizepolicy hsizetype="Preferred" vsizetype="Expanding">
|
||||||
<horstretch>0</horstretch>
|
<horstretch>0</horstretch>
|
||||||
|
@ -105,7 +108,7 @@
|
||||||
</size>
|
</size>
|
||||||
</property>
|
</property>
|
||||||
<property name="currentIndex">
|
<property name="currentIndex">
|
||||||
<number>1</number>
|
<number>0</number>
|
||||||
</property>
|
</property>
|
||||||
<widget class="QWidget" name="pagePersonalInformation">
|
<widget class="QWidget" name="pagePersonalInformation">
|
||||||
<property name="enabled">
|
<property name="enabled">
|
||||||
|
@ -119,6 +122,10 @@
|
||||||
<height>411</height>
|
<height>411</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</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">
|
<attribute name="label">
|
||||||
<string>Personal information</string>
|
<string>Personal information</string>
|
||||||
</attribute>
|
</attribute>
|
||||||
|
@ -275,6 +282,10 @@
|
||||||
<height>411</height>
|
<height>411</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</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">
|
<attribute name="label">
|
||||||
<string>Measurements</string>
|
<string>Measurements</string>
|
||||||
</attribute>
|
</attribute>
|
||||||
|
|
|
@ -56,5 +56,7 @@
|
||||||
<file>icon/32x32/arrowLeftUp.png</file>
|
<file>icon/32x32/arrowLeftUp.png</file>
|
||||||
<file>icon/32x32/putHereLeft.png</file>
|
<file>icon/32x32/putHereLeft.png</file>
|
||||||
<file>icon/path_config.png</file>
|
<file>icon/path_config.png</file>
|
||||||
|
<file>icon/16x16/info.png</file>
|
||||||
|
<file>icon/16x16/measurement.png</file>
|
||||||
</qresource>
|
</qresource>
|
||||||
</RCC>
|
</RCC>
|
||||||
|
|
BIN
src/app/share/resources/icon/16x16/info.png
Normal file
BIN
src/app/share/resources/icon/16x16/info.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 857 B |
BIN
src/app/share/resources/icon/16x16/measurement.png
Normal file
BIN
src/app/share/resources/icon/16x16/measurement.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 467 B |
Loading…
Reference in New Issue
Block a user