Refactor ui(complete the mifare tab and rename some widgets)

pull/2/head
wh201906 5 years ago
parent 4aa5654ffd
commit 15a1950a23

@ -20,6 +20,9 @@ MainWindow::~MainWindow()
delete ui; delete ui;
} }
// ******************** basic functions ********************
// *********************************************************
void MainWindow::on_connectButton_clicked() void MainWindow::on_connectButton_clicked()
{ {
@ -110,31 +113,31 @@ void MainWindow::on_CMDHistoryWidget_itemDoubleClicked(QListWidgetItem *item)
void MainWindow::uiInit() void MainWindow::uiInit()
{ {
ui->MFDataWidget->setColumnCount(3); ui->MF_dataWidget->setColumnCount(3);
ui->MFDataWidget->setRowCount(64); ui->MF_dataWidget->setRowCount(64);
ui->MFDataWidget->setHorizontalHeaderItem(0,new QTableWidgetItem("Sector")); ui->MF_dataWidget->setHorizontalHeaderItem(0,new QTableWidgetItem("Sector"));
ui->MFDataWidget->setHorizontalHeaderItem(1,new QTableWidgetItem("Block")); ui->MF_dataWidget->setHorizontalHeaderItem(1,new QTableWidgetItem("Block"));
ui->MFDataWidget->setHorizontalHeaderItem(2,new QTableWidgetItem("Data")); ui->MF_dataWidget->setHorizontalHeaderItem(2,new QTableWidgetItem("Data"));
for(int i=0;i<64;i++) for(int i=0;i<64;i++)
ui->MFDataWidget->setItem(i,1,new QTableWidgetItem(QString::number(i))); ui->MF_dataWidget->setItem(i,1,new QTableWidgetItem(QString::number(i)));
for(int i=0;i<16;i++) for(int i=0;i<16;i++)
ui->MFDataWidget->setItem(i*4,0,new QTableWidgetItem(QString::number(i))); ui->MF_dataWidget->setItem(i*4,0,new QTableWidgetItem(QString::number(i)));
ui->MFDataWidget->verticalHeader()->setVisible(false); ui->MF_dataWidget->verticalHeader()->setVisible(false);
ui->MFDataWidget->setColumnWidth(0,50); ui->MF_dataWidget->setColumnWidth(0,50);
ui->MFDataWidget->setColumnWidth(1,40); ui->MF_dataWidget->setColumnWidth(1,40);
ui->MFDataWidget->setColumnWidth(2,400); ui->MF_dataWidget->setColumnWidth(2,400);
ui->MFKeyWidget->setColumnCount(3); ui->MF_keyWidget->setColumnCount(3);
ui->MFKeyWidget->setRowCount(16); ui->MF_keyWidget->setRowCount(16);
ui->MFKeyWidget->setHorizontalHeaderItem(0,new QTableWidgetItem("Sector")); ui->MF_keyWidget->setHorizontalHeaderItem(0,new QTableWidgetItem("Sector"));
ui->MFKeyWidget->setHorizontalHeaderItem(1,new QTableWidgetItem("KeyA")); ui->MF_keyWidget->setHorizontalHeaderItem(1,new QTableWidgetItem("KeyA"));
ui->MFKeyWidget->setHorizontalHeaderItem(2,new QTableWidgetItem("KeyB")); ui->MF_keyWidget->setHorizontalHeaderItem(2,new QTableWidgetItem("KeyB"));
for(int i=0;i<16;i++) for(int i=0;i<16;i++)
ui->MFKeyWidget->setItem(i,0,new QTableWidgetItem(QString::number(i))); ui->MF_keyWidget->setItem(i,0,new QTableWidgetItem(QString::number(i)));
ui->MFKeyWidget->verticalHeader()->setVisible(false); ui->MF_keyWidget->verticalHeader()->setVisible(false);
ui->MFKeyWidget->setColumnWidth(0,50); ui->MF_keyWidget->setColumnWidth(0,50);
ui->MFKeyWidget->setColumnWidth(1,200); ui->MF_keyWidget->setColumnWidth(1,200);
ui->MFKeyWidget->setColumnWidth(2,200); ui->MF_keyWidget->setColumnWidth(2,200);
on_moreFuncCheckBox_stateChanged(0); on_moreFuncCheckBox_stateChanged(0);
on_portButton_clicked(); on_portButton_clicked();
@ -153,8 +156,8 @@ void MainWindow::on_MFChkButton_clicked()
QStringList keys=result.split("\r\n"); QStringList keys=result.split("\r\n");
for(int i=0;i<16;i++) for(int i=0;i<16;i++)
{ {
ui->MFKeyWidget->setItem(i,1,new QTableWidgetItem(keys[i+3].mid(7,12).trimmed().toUpper())); ui->MF_keyWidget->setItem(i,1,new QTableWidgetItem(keys[i+3].mid(7,12).trimmed().toUpper()));
ui->MFKeyWidget->setItem(i,2,new QTableWidgetItem(keys[i+3].mid(24,12).trimmed().toUpper())); ui->MF_keyWidget->setItem(i,2,new QTableWidgetItem(keys[i+3].mid(24,12).trimmed().toUpper()));
} }
qDebug()<<"***********\n"<<keys<<"***********\n"; qDebug()<<"***********\n"<<keys<<"***********\n";
} }
@ -172,8 +175,10 @@ void MainWindow::on_MFNestedButton_clicked()
QStringList keys=result.split("\r\n"); QStringList keys=result.split("\r\n");
for(int i=0;i<16;i++) for(int i=0;i<16;i++)
{ {
ui->MFKeyWidget->setItem(i,1,new QTableWidgetItem(keys[i+3].mid(7,12).trimmed().toUpper())); if(keys[i+3].at(23)=='1')
ui->MFKeyWidget->setItem(i,2,new QTableWidgetItem(keys[i+3].mid(28,12).trimmed().toUpper())); ui->MF_keyWidget->setItem(i,1,new QTableWidgetItem(keys[i+3].mid(7,12).trimmed().toUpper()));
if(keys[i+3].at(44)=='1')
ui->MF_keyWidget->setItem(i,2,new QTableWidgetItem(keys[i+3].mid(28,12).trimmed().toUpper()));
} }
qDebug()<<"***********\n"<<keys<<"***********\n"; qDebug()<<"***********\n"<<keys<<"***********\n";
} }

@ -6,8 +6,8 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>881</width> <width>787</width>
<height>656</height> <height>770</height>
</rect> </rect>
</property> </property>
<property name="minimumSize"> <property name="minimumSize">
@ -40,31 +40,38 @@
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QLineEdit" name="PM3PathEdit"> <widget class="QLineEdit" name="PM3_pathEdit">
<property name="text"> <property name="text">
<string>E:\Documents\source\qt\pm3\win64\proxmark3</string> <string>E:\Documents\source\qt\pm3\win64\proxmark3</string>
</property> </property>
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QComboBox" name="portBox"/> <widget class="QComboBox" name="PM3_portBox">
<property name="minimumSize">
<size>
<width>80</width>
<height>0</height>
</size>
</property>
</widget>
</item> </item>
<item> <item>
<widget class="QPushButton" name="portButton"> <widget class="QPushButton" name="PM3_refreshPortButton">
<property name="text"> <property name="text">
<string>Refresh</string> <string>Refresh</string>
</property> </property>
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QPushButton" name="connectButton"> <widget class="QPushButton" name="PM3_connectButton">
<property name="text"> <property name="text">
<string>Connect</string> <string>Connect</string>
</property> </property>
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QPushButton" name="disconnectButton"> <widget class="QPushButton" name="PM3_disconnectButton">
<property name="text"> <property name="text">
<string>Disconnect</string> <string>Disconnect</string>
</property> </property>
@ -87,110 +94,404 @@
<attribute name="title"> <attribute name="title">
<string>Mifare</string> <string>Mifare</string>
</attribute> </attribute>
<widget class="QWidget" name="gridLayoutWidget"> <layout class="QVBoxLayout" name="verticalLayout">
<property name="geometry"> <item>
<rect> <layout class="QHBoxLayout" name="horizontalLayout_2">
<x>90</x> <item>
<y>290</y> <widget class="QTableWidget" name="MF_dataWidget">
<width>320</width> <property name="sizePolicy">
<height>80</height> <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
</rect> <horstretch>2</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<attribute name="verticalHeaderMinimumSectionSize">
<number>20</number>
</attribute>
<attribute name="verticalHeaderDefaultSectionSize">
<number>20</number>
</attribute>
</widget>
</item>
<item>
<widget class="QTableWidget" name="MF_keyWidget">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<horstretch>1</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<attribute name="verticalHeaderMinimumSectionSize">
<number>20</number>
</attribute>
<attribute name="verticalHeaderDefaultSectionSize">
<number>20</number>
</attribute>
</widget>
</item>
</layout>
</item>
<item>
<widget class="QGroupBox" name="MF_attackGroupBox">
<property name="title">
<string>Attack</string>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_5">
<item>
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QPushButton" name="MF_Attack_chkButton">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>40</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>40</height>
</size>
</property> </property>
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0">
<widget class="QPushButton" name="pushButton">
<property name="text"> <property name="text">
<string>PushButton</string> <string>Check Default</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="0" column="1"> <item>
<widget class="QPushButton" name="pushButton_4"> <widget class="QPushButton" name="MF_Attack_nestedButton">
<property name="minimumSize">
<size>
<width>0</width>
<height>40</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>40</height>
</size>
</property>
<property name="text"> <property name="text">
<string>PushButton</string> <string>Nested</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="0" column="2"> <item>
<widget class="QPushButton" name="pushButton_6"> <widget class="QPushButton" name="MF_Attack_hardnestedButton">
<property name="minimumSize">
<size>
<width>0</width>
<height>40</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>40</height>
</size>
</property>
<property name="text"> <property name="text">
<string>PushButton</string> <string>Hardnested</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="0" column="3"> <item>
<widget class="QPushButton" name="pushButton_8"> <widget class="QPushButton" name="MF_Attack_sniffButton">
<property name="minimumSize">
<size>
<width>0</width>
<height>40</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>40</height>
</size>
</property>
<property name="text"> <property name="text">
<string>PushButton</string> <string>Sniff</string>
</property> </property>
</widget> </widget>
</item> </item>
</layout> <item>
<widget class="QPushButton" name="MF_Attack_listButton">
<property name="minimumSize">
<size>
<width>0</width>
<height>40</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>40</height>
</size>
</property>
<property name="text">
<string>List Sniff Data</string>
</property>
</widget> </widget>
<widget class="QGroupBox" name="groupBox"> </item>
<property name="geometry"> <item>
<rect> <spacer name="horizontalSpacer_2">
<x>120</x> <property name="orientation">
<y>370</y> <enum>Qt::Horizontal</enum>
<width>338</width>
<height>55</height>
</rect>
</property> </property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QGroupBox" name="MF_RWGroupBox">
<property name="title"> <property name="title">
<string>Read/Write</string> <string>Read/Write</string>
</property> </property>
<layout class="QHBoxLayout" name="horizontalLayout_4"> <layout class="QVBoxLayout" name="verticalLayout_5">
<item>
<layout class="QHBoxLayout" name="horizontalLayout_8">
<item>
<spacer name="horizontalSpacer_8">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item> <item>
<widget class="QPushButton" name="pushButton_2"> <widget class="QPushButton" name="MF_RW_readAllButton">
<property name="minimumSize">
<size>
<width>0</width>
<height>40</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>40</height>
</size>
</property>
<property name="text"> <property name="text">
<string>PushButton</string> <string>Read All</string>
</property> </property>
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QPushButton" name="pushButton_3"> <widget class="QPushButton" name="MF_RW_writeAllButton">
<property name="minimumSize">
<size>
<width>0</width>
<height>40</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>40</height>
</size>
</property>
<property name="text"> <property name="text">
<string>PushButton</string> <string>Write All</string>
</property> </property>
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QPushButton" name="pushButton_5"> <widget class="QPushButton" name="MF_RW_dumpButton">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>40</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>40</height>
</size>
</property>
<property name="text"> <property name="text">
<string>PushButton</string> <string>Dump</string>
</property> </property>
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QPushButton" name="pushButton_7"> <widget class="QPushButton" name="MF_RW_restoreButton">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>40</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>40</height>
</size>
</property>
<property name="text"> <property name="text">
<string>PushButton</string> <string>Restore</string>
</property> </property>
</widget> </widget>
</item> </item>
<item>
<spacer name="horizontalSpacer_9">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout> </layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_12">
<item>
<widget class="QLabel" name="label_4">
<property name="text">
<string>Block:</string>
</property>
</widget> </widget>
<widget class="QGroupBox" name="groupBox_2"> </item>
<property name="geometry"> <item>
<rect> <widget class="QSpinBox" name="MF_RW_blockBox"/>
<x>170</x> </item>
<y>440</y> <item>
<width>338</width> <widget class="QLabel" name="label_5">
<height>71</height> <property name="text">
</rect> <string>Key:</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="MF_RW_keyEdit"/>
</item>
<item>
<widget class="QLabel" name="label_3">
<property name="text">
<string>Type:</string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="MF_RW_keyTypeBox">
<item>
<property name="text">
<string>KeyA</string>
</property>
</item>
<item>
<property name="text">
<string>KeyB</string>
</property>
</item>
</widget>
</item>
<item>
<widget class="QPushButton" name="MF_RW_readBlockButton">
<property name="text">
<string>Read Block</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="MF_RW_writeBlockButton">
<property name="text">
<string>Write Block</string>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer_10">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property> </property>
</spacer>
</item>
</layout>
</item>
<item>
<widget class="QLineEdit" name="MF_RW_dataEdit"/>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QGroupBox" name="MF_UIDGroupBox">
<property name="title"> <property name="title">
<string>Attack</string> <string>Chinese Magic Card(UID Card)</string>
</property> </property>
<layout class="QHBoxLayout" name="horizontalLayout_5"> <layout class="QVBoxLayout" name="verticalLayout_6">
<item> <item>
<widget class="QPushButton" name="MFChkButton"> <layout class="QHBoxLayout" name="horizontalLayout_9">
<property name="sizePolicy"> <item>
<sizepolicy hsizetype="Minimum" vsizetype="Fixed"> <spacer name="horizontalSpacer_11">
<horstretch>0</horstretch> <property name="orientation">
<verstretch>0</verstretch> <enum>Qt::Horizontal</enum>
</sizepolicy> </property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property> </property>
</spacer>
</item>
<item>
<widget class="QPushButton" name="MF_UID_readAllButton">
<property name="minimumSize"> <property name="minimumSize">
<size> <size>
<width>0</width> <width>0</width>
@ -204,13 +505,12 @@
</size> </size>
</property> </property>
<property name="text"> <property name="text">
<string>Check <string>Read All</string>
Default</string>
</property> </property>
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QPushButton" name="MFNestedButton"> <widget class="QPushButton" name="MF_UID_writeAllButton">
<property name="minimumSize"> <property name="minimumSize">
<size> <size>
<width>0</width> <width>0</width>
@ -224,12 +524,18 @@ Default</string>
</size> </size>
</property> </property>
<property name="text"> <property name="text">
<string>Nested</string> <string>Write All</string>
</property> </property>
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QPushButton" name="MFHardnestedButton"> <widget class="QPushButton" name="MF_UID_wipeButton">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize"> <property name="minimumSize">
<size> <size>
<width>0</width> <width>0</width>
@ -243,12 +549,18 @@ Default</string>
</size> </size>
</property> </property>
<property name="text"> <property name="text">
<string>Hardnested</string> <string>Wipe</string>
</property> </property>
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QPushButton" name="MFSniffButton"> <widget class="QPushButton" name="MF_UID_writeUIDButton">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize"> <property name="minimumSize">
<size> <size>
<width>0</width> <width>0</width>
@ -262,56 +574,190 @@ Default</string>
</size> </size>
</property> </property>
<property name="text"> <property name="text">
<string>Sniff</string> <string>Write UID</string>
</property> </property>
</widget> </widget>
</item> </item>
<item>
<spacer name="horizontalSpacer_12">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout> </layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_13">
<item>
<widget class="QLabel" name="label_6">
<property name="text">
<string>Block:</string>
</property>
</widget> </widget>
<widget class="QWidget" name="layoutWidget"> </item>
<property name="geometry"> <item>
<rect> <widget class="QSpinBox" name="MF_UID_blockBox"/>
<x>0</x> </item>
<y>0</y> <item>
<width>651</width> <widget class="QPushButton" name="MF_UID_readBlockButton">
<height>271</height> <property name="text">
</rect> <string>Read Block</string>
</property> </property>
<layout class="QHBoxLayout" name="horizontalLayout_2"> </widget>
</item>
<item> <item>
<widget class="QTableWidget" name="MFDataWidget"> <widget class="QPushButton" name="MF_UID_writeBlockButton">
<property name="sizePolicy"> <property name="text">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding"> <string>Write Block</string>
<horstretch>2</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property> </property>
<attribute name="verticalHeaderMinimumSectionSize">
<number>20</number>
</attribute>
<attribute name="verticalHeaderDefaultSectionSize">
<number>20</number>
</attribute>
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QTableWidget" name="MFKeyWidget"> <spacer name="horizontalSpacer_13">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
<item>
<widget class="QLineEdit" name="MF_UID_dataEdit"/>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QGroupBox" name="MF_simGroupBox">
<property name="title">
<string>Simulate</string>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_11">
<item>
<spacer name="horizontalSpacer_5">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QPushButton" name="MF_Sim_loadFileButton">
<property name="sizePolicy"> <property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding"> <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
<horstretch>1</horstretch> <horstretch>0</horstretch>
<verstretch>0</verstretch> <verstretch>0</verstretch>
</sizepolicy> </sizepolicy>
</property> </property>
<attribute name="verticalHeaderMinimumSectionSize"> <property name="minimumSize">
<number>20</number> <size>
</attribute> <width>0</width>
<attribute name="verticalHeaderDefaultSectionSize"> <height>40</height>
<number>20</number> </size>
</attribute> </property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>40</height>
</size>
</property>
<property name="text">
<string>Load from .eml</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="MF_Sim_loadDataButton">
<property name="minimumSize">
<size>
<width>0</width>
<height>40</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>40</height>
</size>
</property>
<property name="text">
<string>Load from data above</string>
</property>
</widget> </widget>
</item> </item>
<item>
<widget class="QPushButton" name="MF_Sim_clearButton">
<property name="minimumSize">
<size>
<width>0</width>
<height>40</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>40</height>
</size>
</property>
<property name="text">
<string>Clear</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="MF_Sim_simButton">
<property name="minimumSize">
<size>
<width>0</width>
<height>40</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>40</height>
</size>
</property>
<property name="text">
<string>Simulate</string>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer_6">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout> </layout>
</widget> </widget>
</item>
</layout>
</widget> </widget>
<widget class="QWidget" name="rawTab"> <widget class="QWidget" name="rawTab">
<attribute name="title"> <attribute name="title">
@ -321,7 +767,7 @@ Default</string>
<item> <item>
<layout class="QHBoxLayout" name="horizontalLayout_6"> <layout class="QHBoxLayout" name="horizontalLayout_6">
<item> <item>
<widget class="QPlainTextEdit" name="outputEdit"> <widget class="QPlainTextEdit" name="Raw_outputEdit">
<property name="sizePolicy"> <property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding"> <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<horstretch>2</horstretch> <horstretch>2</horstretch>
@ -349,7 +795,7 @@ Default</string>
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QTreeWidget" name="CMDTreeWidget"> <widget class="QTreeWidget" name="Raw_CMDTreeWidget">
<property name="minimumSize"> <property name="minimumSize">
<size> <size>
<width>1</width> <width>1</width>
@ -374,7 +820,7 @@ Default</string>
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QListWidget" name="CMDHistoryWidget"> <widget class="QListWidget" name="Raw_CMDHistoryWidget">
<property name="sizePolicy"> <property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding"> <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<horstretch>1</horstretch> <horstretch>1</horstretch>
@ -384,7 +830,7 @@ Default</string>
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QPushButton" name="clearHistoryButton"> <widget class="QPushButton" name="Raw_clearHistoryButton">
<property name="sizePolicy"> <property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed"> <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch> <horstretch>0</horstretch>
@ -400,7 +846,7 @@ Default</string>
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QCheckBox" name="moreFuncCheckBox"> <widget class="QCheckBox" name="Raw_moreFuncCheckBox">
<property name="layoutDirection"> <property name="layoutDirection">
<enum>Qt::RightToLeft</enum> <enum>Qt::RightToLeft</enum>
</property> </property>
@ -419,17 +865,17 @@ Default</string>
<enum>QLayout::SetMaximumSize</enum> <enum>QLayout::SetMaximumSize</enum>
</property> </property>
<item> <item>
<widget class="QLineEdit" name="commandEdit"/> <widget class="QLineEdit" name="Raw_CMDEdit"/>
</item> </item>
<item> <item>
<widget class="QPushButton" name="sendButton"> <widget class="QPushButton" name="Raw_sendCMDButton">
<property name="text"> <property name="text">
<string>Send</string> <string>Send</string>
</property> </property>
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QPushButton" name="clearButton"> <widget class="QPushButton" name="Raw_clearOutputButton">
<property name="text"> <property name="text">
<string>ClearOutput</string> <string>ClearOutput</string>
</property> </property>
@ -448,7 +894,7 @@ Default</string>
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>881</width> <width>787</width>
<height>22</height> <height>22</height>
</rect> </rect>
</property> </property>

Loading…
Cancel
Save