[qet] [3377] dxfTOelmt modification of the main form |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/qet Archives
]
Revision: 3377
Author: rdsivd
Date: 2014-10-16 20:39:43 +0200 (Thu, 16 Oct 2014)
Log Message:
-----------
dxfTOelmt modification of the main form
Modified Paths:
--------------
branches/dxftoelmt/src/ui/mainwindow.ui
branches/dxftoelmt/src/ui_mainwindow.h
Modified: branches/dxftoelmt/src/ui/mainwindow.ui
===================================================================
--- branches/dxftoelmt/src/ui/mainwindow.ui 2014-10-16 13:31:08 UTC (rev 3376)
+++ branches/dxftoelmt/src/ui/mainwindow.ui 2014-10-16 18:39:43 UTC (rev 3377)
@@ -7,7 +7,7 @@
<rect>
<x>0</x>
<y>0</y>
- <width>901</width>
+ <width>1088</width>
<height>669</height>
</rect>
</property>
@@ -16,24 +16,14 @@
</property>
<widget class="QWidget" name="centralWidget">
<layout class="QVBoxLayout" name="verticalLayout">
- <item alignment="Qt::AlignHCenter">
- <widget class="QLabel" name="label_3">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Minimum" vsizetype="Preferred">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
+ <item>
+ <layout class="QGridLayout" name="gridLayout_2" columnstretch="0,0,0,0,0">
+ <property name="horizontalSpacing">
+ <number>6</number>
</property>
- <property name="acceptDrops">
- <bool>false</bool>
- </property>
- <property name="text">
- <string>Binary DXF can not be converted !!!</string>
- </property>
- </widget>
- </item>
- <item>
- <layout class="QGridLayout" name="gridLayout_2">
+ <item row="3" column="3">
+ <widget class="QLineEdit" name="ExportFile"/>
+ </item>
<item row="4" column="1">
<widget class="QLineEdit" name="SectionCount1">
<property name="sizePolicy">
@@ -44,20 +34,30 @@
</property>
</widget>
</item>
- <item row="3" column="0">
- <widget class="QLabel" name="label">
+ <item row="4" column="2">
+ <widget class="QLabel" name="label_4">
<property name="text">
- <string>Import file path :</string>
+ <string>element name :</string>
</property>
</widget>
</item>
- <item row="3" column="2">
- <widget class="QLabel" name="label_2">
+ <item row="2" column="1">
+ <widget class="QLineEdit" name="LineCountDXF"/>
+ </item>
+ <item row="4" column="0">
+ <widget class="QLabel" name="labelSectionCount">
<property name="text">
- <string>Export directory path :</string>
+ <string>Section count</string>
</property>
</widget>
</item>
+ <item row="3" column="0">
+ <widget class="QLabel" name="label">
+ <property name="text">
+ <string>Import file path :</string>
+ </property>
+ </widget>
+ </item>
<item row="3" column="1">
<widget class="QLineEdit" name="m_import_file_path_le">
<property name="maximumSize">
@@ -71,26 +71,6 @@
</property>
</widget>
</item>
- <item row="4" column="0">
- <widget class="QLabel" name="labelSectionCount">
- <property name="text">
- <string>Section count</string>
- </property>
- </widget>
- </item>
- <item row="3" column="3">
- <widget class="QLineEdit" name="ExportFile"/>
- </item>
- <item row="4" column="2">
- <widget class="QLabel" name="label_4">
- <property name="text">
- <string>element name :</string>
- </property>
- </widget>
- </item>
- <item row="4" column="3">
- <widget class="QLineEdit" name="m_elmt_name_le"/>
- </item>
<item row="2" column="2" colspan="2">
<widget class="QPushButton" name="m_save_elmt_pb">
<property name="text">
@@ -108,26 +88,49 @@
</property>
</widget>
</item>
+ <item row="3" column="2">
+ <widget class="QLabel" name="label_2">
+ <property name="text">
+ <string>Export directory path :</string>
+ </property>
+ </widget>
+ </item>
+ <item row="2" column="0">
+ <widget class="QPushButton" name="m_load_dxf_pb">
+ <property name="text">
+ <string>Load DXF file</string>
+ </property>
+ </widget>
+ </item>
+ <item row="4" column="3">
+ <widget class="QLineEdit" name="m_elmt_name_le"/>
+ </item>
<item row="5" column="2" colspan="2">
<widget class="QTextEdit" name="ExportToELMT">
- <property name="sizeAdjustPolicy">
- <enum>QAbstractScrollArea::AdjustToContents</enum>
- </property>
<property name="lineWrapMode">
<enum>QTextEdit::NoWrap</enum>
</property>
</widget>
</item>
- <item row="2" column="0">
- <widget class="QPushButton" name="m_load_dxf_pb">
+ <item row="5" column="4">
+ <widget class="QTextEdit" name="ProcesLog"/>
+ </item>
+ <item row="0" column="0" colspan="4">
+ <widget class="QLabel" name="label_3">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Minimum" vsizetype="Preferred">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="acceptDrops">
+ <bool>false</bool>
+ </property>
<property name="text">
- <string>Load DXF file</string>
+ <string>Binary DXF can not be converted !!!</string>
</property>
</widget>
</item>
- <item row="2" column="1">
- <widget class="QLineEdit" name="LineCountDXF"/>
- </item>
</layout>
</item>
</layout>
@@ -137,7 +140,7 @@
<rect>
<x>0</x>
<y>0</y>
- <width>901</width>
+ <width>1088</width>
<height>23</height>
</rect>
</property>
Modified: branches/dxftoelmt/src/ui_mainwindow.h
===================================================================
--- branches/dxftoelmt/src/ui_mainwindow.h 2014-10-16 13:31:08 UTC (rev 3376)
+++ branches/dxftoelmt/src/ui_mainwindow.h 2014-10-16 18:39:43 UTC (rev 3377)
@@ -54,12 +54,13 @@
QToolBar *mainToolBar;
QStatusBar *statusBar;
QLabel *label_3;
+ QTextEdit *ProcesLog;
void setupUi(QMainWindow *MainWindow)
{
if (MainWindow->objectName().isEmpty())
MainWindow->setObjectName(QString::fromUtf8("MainWindow"));
- MainWindow->resize(758, 488);
+ MainWindow->resize(1088, 669);
centralWidget = new QWidget(MainWindow);
centralWidget->setObjectName(QString::fromUtf8("centralWidget"));
verticalLayout = new QVBoxLayout(centralWidget);
@@ -115,6 +116,12 @@
gridLayout_2->addWidget(label_4, 3, 2, 1, 1);
+ label_3 = new QLabel(centralWidget);
+ label_3->setObjectName(QString::fromUtf8("label_3"));
+
+ gridLayout_2->addWidget(label_3, 0, 0, 0, 4);
+
+
m_elmt_name_le = new QLineEdit(centralWidget);
m_elmt_name_le->setObjectName(QString::fromUtf8("m_elmt_name_le"));
@@ -131,6 +138,13 @@
gridLayout_2->addWidget(ExportToELMT, 4, 2, 1, 2);
+
+ ProcesLog = new QTextEdit(centralWidget);
+ ProcesLog->setObjectName(QString::fromUtf8("ExportToELMT"));
+ ProcesLog->setLineWrapMode(QTextEdit::NoWrap);
+
+ gridLayout_2->addWidget(ProcesLog, 5, 4, 0, 0);
+
m_load_dxf_pb = new QPushButton(centralWidget);
m_load_dxf_pb->setObjectName(QString::fromUtf8("m_load_dxf_pb"));
@@ -163,6 +177,7 @@
label_2->setText(QApplication::translate("MainWindow", "Export directory path :", 0, QApplication::UnicodeUTF8));
labelSectionCount->setText(QApplication::translate("MainWindow", "Section count", 0, QApplication::UnicodeUTF8));
label_4->setText(QApplication::translate("MainWindow", "element name :", 0, QApplication::UnicodeUTF8));
+ label_3->setText(QApplication::translate("MainWindow", "", 0, QApplication::UnicodeUTF8));
m_save_elmt_pb->setText(QApplication::translate("MainWindow", "save to elmt file", 0, QApplication::UnicodeUTF8));
m_load_dxf_pb->setText(QApplication::translate("MainWindow", "Load DXF file", 0, QApplication::UnicodeUTF8));
} // retranslateUi