This commit is contained in:
dnk-88 2011-05-26 22:12:30 +03:00
commit 40d696c0ef
2 changed files with 12 additions and 0 deletions

View file

@ -81,6 +81,7 @@ QWidget *VegetableSettingsPage::createPage(QWidget *parent)
connect(m_ui.coarseToolButton, SIGNAL(clicked()), this, SLOT(setCoarseMeshTexture())); connect(m_ui.coarseToolButton, SIGNAL(clicked()), this, SLOT(setCoarseMeshTexture()));
connect(m_ui.addZoneToolButton, SIGNAL(clicked()), this, SLOT(addZone())); connect(m_ui.addZoneToolButton, SIGNAL(clicked()), this, SLOT(addZone()));
connect(m_ui.removeZoneToolButton, SIGNAL(clicked()), this, SLOT(removeZone())); connect(m_ui.removeZoneToolButton, SIGNAL(clicked()), this, SLOT(removeZone()));
connect(m_ui.clearButton, SIGNAL(clicked()), m_ui.zonesListWidget, SLOT(clear()));
return m_page; return m_page;
} }

View file

@ -181,6 +181,17 @@
</property> </property>
</widget> </widget>
</item> </item>
<item>
<widget class="QToolButton" name="clearButton">
<property name="text">
<string/>
</property>
<property name="icon">
<iconset resource="object_viewer.qrc">
<normaloff>:/icons/ic_nel_reset_all.png</normaloff>:/icons/ic_nel_reset_all.png</iconset>
</property>
</widget>
</item>
</layout> </layout>
</item> </item>
<item row="5" column="0" colspan="4"> <item row="5" column="0" colspan="4">