Fixed some bugs.

This commit is contained in:
Matthias Koefferlein 2020-04-06 23:52:51 +02:00
parent 1e2601d154
commit b7eb150f03
3 changed files with 24 additions and 7 deletions

View File

@ -30,7 +30,7 @@
<number>9</number>
</property>
<item>
<widget class="lay::D25View" name="openGLWidget"/>
<widget class="lay::D25ViewWidget" name="openGLWidget"/>
</item>
<item>
<widget class="QDialogButtonBox" name="buttonBox">
@ -38,7 +38,7 @@
<enum>Qt::Horizontal</enum>
</property>
<property name="standardButtons">
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
<set>QDialogButtonBox::Close</set>
</property>
</widget>
</item>
@ -46,14 +46,31 @@
</widget>
<customwidgets>
<customwidget>
<class>lay::D25View</class>
<class>lay::D25ViewWidget</class>
<extends>QOpenGLWidget</extends>
<header>layD25View.h</header>
<header>layD25ViewWidget.h</header>
</customwidget>
</customwidgets>
<tabstops>
<tabstop>buttonBox</tabstop>
</tabstops>
<resources/>
<connections/>
<connections>
<connection>
<sender>buttonBox</sender>
<signal>rejected()</signal>
<receiver>D25View</receiver>
<slot>accept()</slot>
<hints>
<hint type="sourcelabel">
<x>530</x>
<y>626</y>
</hint>
<hint type="destinationlabel">
<x>443</x>
<y>643</y>
</hint>
</hints>
</connection>
</connections>
</ui>

View File

@ -73,7 +73,7 @@ public:
// .. nothing yet ..
}
virtual void get_options (std::vector < std::pair<std::string, std::string> > &options) const
virtual void get_options (std::vector < std::pair<std::string, std::string> > & /*options*/) const
{
// .. nothing yet ..
}

View File

@ -1,5 +1,5 @@
TARGET = xor_ui
TARGET = d25_ui
DESTDIR = $$OUT_PWD/../../../../lay_plugins
include($$PWD/../../../lay_plugin.pri)