.
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
#include "cpartlistitemeditdialog.h"
|
||||
#include "ui_cpartlistitemeditdialog.h"
|
||||
|
||||
cPartlistItemEditDialog::cPartlistItemEditDialog(QWidget *parent) :
|
||||
QDialog(parent),
|
||||
ui(new Ui::cPartlistItemEditDialog)
|
||||
{
|
||||
ui->setupUi(this);
|
||||
}
|
||||
|
||||
cPartlistItemEditDialog::~cPartlistItemEditDialog()
|
||||
{
|
||||
delete ui;
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
#ifndef CPARTLISTITEMEDITDIALOG_H
|
||||
#define CPARTLISTITEMEDITDIALOG_H
|
||||
|
||||
#include <QDialog>
|
||||
|
||||
namespace Ui {
|
||||
class cPartlistItemEditDialog;
|
||||
}
|
||||
|
||||
class cPartlistItemEditDialog : public QDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit cPartlistItemEditDialog(QWidget *parent = 0);
|
||||
~cPartlistItemEditDialog();
|
||||
|
||||
private:
|
||||
Ui::cPartlistItemEditDialog *ui;
|
||||
};
|
||||
|
||||
#endif // CPARTLISTITEMEDITDIALOG_H
|
||||
@@ -0,0 +1,71 @@
|
||||
<ui version="4.0">
|
||||
<author/>
|
||||
<comment/>
|
||||
<exportmacro/>
|
||||
<class>cPartlistItemEditDialog</class>
|
||||
<widget name="cPartlistItemEditDialog" class="QDialog">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>400</width>
|
||||
<height>300</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>Dialog</string>
|
||||
</property>
|
||||
<widget name="buttonBox" class="QDialogButtonBox">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>30</x>
|
||||
<y>240</y>
|
||||
<width>341</width>
|
||||
<height>32</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="orientation">
|
||||
<enum>Qt::Horizontal</enum>
|
||||
</property>
|
||||
<property name="standardButtons">
|
||||
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
|
||||
</property>
|
||||
</widget>
|
||||
</widget>
|
||||
<pixmapfunction/>
|
||||
<resources/>
|
||||
<connections>
|
||||
<connection>
|
||||
<sender>buttonBox</sender>
|
||||
<signal>accepted()</signal>
|
||||
<receiver>cPartlistItemEditDialog</receiver>
|
||||
<slot>accept()</slot>
|
||||
<hints>
|
||||
<hint type="sourcelabel">
|
||||
<x>248</x>
|
||||
<y>254</y>
|
||||
</hint>
|
||||
<hint type="destinationlabel">
|
||||
<x>157</x>
|
||||
<y>274</y>
|
||||
</hint>
|
||||
</hints>
|
||||
</connection>
|
||||
<connection>
|
||||
<sender>buttonBox</sender>
|
||||
<signal>rejected()</signal>
|
||||
<receiver>cPartlistItemEditDialog</receiver>
|
||||
<slot>reject()</slot>
|
||||
<hints>
|
||||
<hint type="sourcelabel">
|
||||
<x>316</x>
|
||||
<y>260</y>
|
||||
</hint>
|
||||
<hint type="destinationlabel">
|
||||
<x>286</x>
|
||||
<y>274</y>
|
||||
</hint>
|
||||
</hints>
|
||||
</connection>
|
||||
</connections>
|
||||
</ui>
|
||||
+6
-3
@@ -39,7 +39,8 @@ SOURCES += \
|
||||
clabel.cpp \
|
||||
cpartdistributoreditdialog.cpp \
|
||||
cpartlistitem.cpp \
|
||||
cpartlistitemdelegate.cpp
|
||||
cpartlistitemdelegate.cpp \
|
||||
cpartlistitemeditdialog.cpp
|
||||
|
||||
HEADERS += \
|
||||
cmainwindow.h \
|
||||
@@ -56,7 +57,8 @@ HEADERS += \
|
||||
clabel.h \
|
||||
cpartdistributoreditdialog.h \
|
||||
cpartlistitem.h \
|
||||
cpartlistitemdelegate.h
|
||||
cpartlistitemdelegate.h \
|
||||
cpartlistitemeditdialog.h
|
||||
|
||||
FORMS += \
|
||||
cmainwindow.ui \
|
||||
@@ -65,7 +67,8 @@ FORMS += \
|
||||
cpartwindow.ui \
|
||||
cdistributoreditdialog.ui \
|
||||
cparteditdialog.ui \
|
||||
cpartdistributoreditdialog.ui
|
||||
cpartdistributoreditdialog.ui \
|
||||
cpartlistitemeditdialog.ui
|
||||
|
||||
RESOURCES += \
|
||||
qtpartlist.qrc
|
||||
|
||||
Reference in New Issue
Block a user