[add] test button for echo

This commit is contained in:
xueyan hu
2021-12-29 15:48:05 +08:00
parent bc038d7383
commit d17814e528
9 changed files with 229 additions and 146 deletions

View File

@@ -6,7 +6,7 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>600</width> <width>601</width>
<height>400</height> <height>400</height>
</rect> </rect>
</property> </property>
@@ -57,57 +57,26 @@ background:qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,stop: 0 #ABABAB, stop: 1.0
<property name="currentIndex"> <property name="currentIndex">
<number>2</number> <number>2</number>
</property> </property>
<property name="iconSize">
<size>
<width>32</width>
<height>32</height>
</size>
</property>
<widget class="QWidget" name="tab_wl"> <widget class="QWidget" name="tab_wl">
<attribute name="title"> <attribute name="title">
<string>Worklist</string> <string>Worklist</string>
</attribute> </attribute>
<layout class="QGridLayout" name="gridLayout"> <layout class="QGridLayout" name="gridLayout">
<item row="1" column="0">
<widget class="QLabel" name="lbl_Name">
<property name="minimumSize">
<size>
<width>165</width>
<height>0</height>
</size>
</property>
<property name="text">
<string>Name</string>
</property>
</widget>
</item>
<item row="5" column="1"> <item row="5" column="1">
<widget class="QLineEdit" name="wl_IP"/> <widget class="QLineEdit" name="wl_IP"/>
</item> </item>
<item row="1" column="1">
<widget class="QLineEdit" name="wl_Name"/>
</item>
<item row="5" column="0">
<widget class="QLabel" name="lbl_IP">
<property name="text">
<string>IP</string>
</property>
</widget>
</item>
<item row="6" column="1"> <item row="6" column="1">
<widget class="QLineEdit" name="wl_Port"/> <widget class="QLineEdit" name="wl_Port"/>
</item> </item>
<item row="4" column="0">
<widget class="QLabel" name="lbl_AE">
<property name="text">
<string>AE</string>
</property>
</widget>
</item>
<item row="4" column="1"> <item row="4" column="1">
<widget class="QLineEdit" name="wl_AE"/> <widget class="QLineEdit" name="wl_AE"/>
</item> </item>
<item row="6" column="0">
<widget class="QLabel" name="lbl_Port">
<property name="text">
<string>Port</string>
</property>
</widget>
</item>
<item row="0" column="1"> <item row="0" column="1">
<spacer name="verticalSpacer_3"> <spacer name="verticalSpacer_3">
<property name="orientation"> <property name="orientation">
@@ -124,6 +93,60 @@ background:qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,stop: 0 #ABABAB, stop: 1.0
</property> </property>
</spacer> </spacer>
</item> </item>
<item row="5" column="0">
<widget class="QLabel" name="lbl_IP">
<property name="text">
<string>IP</string>
</property>
</widget>
</item>
<item row="4" column="0">
<widget class="QLabel" name="lbl_AE">
<property name="text">
<string>AE</string>
</property>
</widget>
</item>
<item row="6" column="0">
<widget class="QLabel" name="lbl_Port">
<property name="text">
<string>Port</string>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="lbl_Name">
<property name="minimumSize">
<size>
<width>165</width>
<height>0</height>
</size>
</property>
<property name="text">
<string>Name</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QLineEdit" name="wl_Name"/>
</item>
<item row="6" column="2">
<widget class="QToolButton" name="toolButton_2">
<property name="text">
<string>...</string>
</property>
<property name="icon">
<iconset resource="res.qrc">
<normaloff>:/icons/dicom/echo_fail.png</normaloff>:/icons/dicom/echo_fail.png</iconset>
</property>
<property name="iconSize">
<size>
<width>32</width>
<height>32</height>
</size>
</property>
</widget>
</item>
</layout> </layout>
</widget> </widget>
<widget class="QWidget" name="tab_pacs"> <widget class="QWidget" name="tab_pacs">
@@ -131,34 +154,13 @@ background:qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,stop: 0 #ABABAB, stop: 1.0
<string>PACS</string> <string>PACS</string>
</attribute> </attribute>
<layout class="QGridLayout" name="gridLayout_2"> <layout class="QGridLayout" name="gridLayout_2">
<item row="3" column="0"> <item row="4" column="1">
<widget class="QLabel" name="lbl_IP_2"> <widget class="QLineEdit" name="pacs_IP"/>
<property name="text">
<string>IP</string>
</property>
</widget>
</item> </item>
<item row="4" column="0"> <item row="3" column="1">
<widget class="QLabel" name="lbl_Port_2">
<property name="text">
<string>Port</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QLineEdit" name="pacs_Name"/>
</item>
<item row="2" column="0">
<widget class="QLabel" name="lbl_AE_2">
<property name="text">
<string>AE</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QLineEdit" name="pacs_AE"/> <widget class="QLineEdit" name="pacs_AE"/>
</item> </item>
<item row="1" column="0"> <item row="2" column="0">
<widget class="QLabel" name="lbl_Name_2"> <widget class="QLabel" name="lbl_Name_2">
<property name="minimumSize"> <property name="minimumSize">
<size> <size>
@@ -171,11 +173,22 @@ background:qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,stop: 0 #ABABAB, stop: 1.0
</property> </property>
</widget> </widget>
</item> </item>
<item row="4" column="1"> <item row="4" column="0">
<widget class="QLineEdit" name="pacs_Port"/> <widget class="QLabel" name="lbl_IP_2">
<property name="text">
<string>IP</string>
</property>
</widget>
</item> </item>
<item row="3" column="1"> <item row="3" column="0">
<widget class="QLineEdit" name="pacs_IP"/> <widget class="QLabel" name="lbl_AE_2">
<property name="text">
<string>AE</string>
</property>
</widget>
</item>
<item row="5" column="1">
<widget class="QLineEdit" name="pacs_Port"/>
</item> </item>
<item row="0" column="1"> <item row="0" column="1">
<spacer name="verticalSpacer_2"> <spacer name="verticalSpacer_2">
@@ -193,6 +206,36 @@ background:qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,stop: 0 #ABABAB, stop: 1.0
</property> </property>
</spacer> </spacer>
</item> </item>
<item row="2" column="1">
<widget class="QLineEdit" name="pacs_Name"/>
</item>
<item row="5" column="0">
<widget class="QLabel" name="lbl_Port_2">
<property name="text">
<string>Port</string>
</property>
</widget>
</item>
<item row="5" column="2">
<widget class="QToolButton" name="toolButton">
<property name="layoutDirection">
<enum>Qt::LeftToRight</enum>
</property>
<property name="text">
<string>...</string>
</property>
<property name="icon">
<iconset resource="res.qrc">
<normaloff>:/icons/dicom/echo_ing.png</normaloff>:/icons/dicom/echo_ing.png</iconset>
</property>
<property name="iconSize">
<size>
<width>32</width>
<height>32</height>
</size>
</property>
</widget>
</item>
</layout> </layout>
</widget> </widget>
<widget class="QWidget" name="tab_recon"> <widget class="QWidget" name="tab_recon">
@@ -200,52 +243,9 @@ background:qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,stop: 0 #ABABAB, stop: 1.0
<string>3D Recon</string> <string>3D Recon</string>
</attribute> </attribute>
<layout class="QGridLayout" name="gridLayout_3"> <layout class="QGridLayout" name="gridLayout_3">
<item row="4" column="1">
<widget class="QLineEdit" name="recon_AE"/>
</item>
<item row="5" column="1">
<widget class="QLineEdit" name="recon_IP"/>
</item>
<item row="2" column="1"> <item row="2" column="1">
<widget class="QLineEdit" name="recon_Name"/> <widget class="QLineEdit" name="recon_Name"/>
</item> </item>
<item row="5" column="0">
<widget class="QLabel" name="lbl_IP_3">
<property name="text">
<string>IP</string>
</property>
</widget>
</item>
<item row="6" column="0">
<widget class="QLabel" name="lbl_Port_3">
<property name="text">
<string>Port</string>
</property>
</widget>
</item>
<item row="6" column="1">
<widget class="QLineEdit" name="recon_Port"/>
</item>
<item row="4" column="0">
<widget class="QLabel" name="lbl_AE_3">
<property name="text">
<string>AE</string>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="lbl_Name_3">
<property name="minimumSize">
<size>
<width>165</width>
<height>0</height>
</size>
</property>
<property name="text">
<string>Name</string>
</property>
</widget>
</item>
<item row="1" column="1"> <item row="1" column="1">
<spacer name="verticalSpacer"> <spacer name="verticalSpacer">
<property name="orientation"> <property name="orientation">
@@ -262,6 +262,66 @@ background:qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,stop: 0 #ABABAB, stop: 1.0
</property> </property>
</spacer> </spacer>
</item> </item>
<item row="6" column="0">
<widget class="QLabel" name="lbl_Port_3">
<property name="text">
<string>Port</string>
</property>
</widget>
</item>
<item row="5" column="0">
<widget class="QLabel" name="lbl_IP_3">
<property name="text">
<string>IP</string>
</property>
</widget>
</item>
<item row="5" column="1">
<widget class="QLineEdit" name="recon_IP"/>
</item>
<item row="2" column="0">
<widget class="QLabel" name="lbl_Name_3">
<property name="minimumSize">
<size>
<width>165</width>
<height>0</height>
</size>
</property>
<property name="text">
<string>Name</string>
</property>
</widget>
</item>
<item row="6" column="1">
<widget class="QLineEdit" name="recon_Port"/>
</item>
<item row="4" column="0">
<widget class="QLabel" name="lbl_AE_3">
<property name="text">
<string>AE</string>
</property>
</widget>
</item>
<item row="4" column="1">
<widget class="QLineEdit" name="recon_AE"/>
</item>
<item row="6" column="2">
<widget class="QToolButton" name="toolButton_3">
<property name="text">
<string>...</string>
</property>
<property name="icon">
<iconset resource="res.qrc">
<normaloff>:/icons/dicom/echo_suc.png</normaloff>:/icons/dicom/echo_suc.png</iconset>
</property>
<property name="iconSize">
<size>
<width>32</width>
<height>32</height>
</size>
</property>
</widget>
</item>
</layout> </layout>
</widget> </widget>
</widget> </widget>
@@ -281,7 +341,9 @@ background:qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,stop: 0 #ABABAB, stop: 1.0
</item> </item>
</layout> </layout>
</widget> </widget>
<resources/> <resources>
<include location="res.qrc"/>
</resources>
<connections> <connections>
<connection> <connection>
<sender>btn_group</sender> <sender>btn_group</sender>

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.9 KiB

View File

@@ -53,7 +53,7 @@ MainWindow::MainWindow(QWidget* parent) :
ui(new Ui::MainWindow) ui(new Ui::MainWindow)
{ {
this->loadStyleSheet("Dark"); this->loadStyleSheet("Dark2");
ui->setupUi(this); ui->setupUi(this);
tab = new QTabWidget(this); tab = new QTabWidget(this);
tab->setTabPosition(QTabWidget::South); tab->setTabPosition(QTabWidget::South);

View File

@@ -27,6 +27,9 @@
<file>icons/female_d.png</file> <file>icons/female_d.png</file>
<file>icons/male_d.png</file> <file>icons/male_d.png</file>
<file>icons/login.png</file> <file>icons/login.png</file>
<file>icons/dicom/echo_suc.png</file>
<file>icons/dicom/echo_ing.png</file>
<file>icons/dicom/echo_fail.png</file>
<file>icons/dicomsettings.png</file> <file>icons/dicomsettings.png</file>
<file>icons/dicomsettings_d.png</file> <file>icons/dicomsettings_d.png</file>
<file>icons/networksettings.png</file> <file>icons/networksettings.png</file>

View File

@@ -600,6 +600,10 @@ parameters
<source>DICOM Settings</source> <source>DICOM Settings</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message>
<source>...</source>
<translation type="unfinished"></translation>
</message>
</context> </context>
<context> <context>
<name>networkCfgDialog</name> <name>networkCfgDialog</name>

View File

@@ -776,7 +776,7 @@ parameters
<context> <context>
<name>dicomCfgDialog</name> <name>dicomCfgDialog</name>
<message> <message>
<location filename="../../out/build/x64-Debug/ui_dicomcfgdialog.h" line="287"/> <location filename="../../out/build/x64-Debug/ui_dicomcfgdialog.h" line="321"/>
<source>Dialog</source> <source>Dialog</source>
<translation></translation> <translation></translation>
</message> </message>
@@ -785,50 +785,57 @@ parameters
<translation type="vanished">DICOM </translation> <translation type="vanished">DICOM </translation>
</message> </message>
<message> <message>
<location filename="../../out/build/x64-Debug/ui_dicomcfgdialog.h" line="288"/> <location filename="../../out/build/x64-Debug/ui_dicomcfgdialog.h" line="322"/>
<source>DICOM Settings</source> <source>DICOM Settings</source>
<translation>DICOM </translation> <translation>DICOM </translation>
</message> </message>
<message> <message>
<location filename="../../out/build/x64-Debug/ui_dicomcfgdialog.h" line="289"/> <location filename="../../out/build/x64-Debug/ui_dicomcfgdialog.h" line="326"/>
<location filename="../../out/build/x64-Debug/ui_dicomcfgdialog.h" line="297"/> <location filename="../../out/build/x64-Debug/ui_dicomcfgdialog.h" line="329"/>
<location filename="../../out/build/x64-Debug/ui_dicomcfgdialog.h" line="302"/> <location filename="../../out/build/x64-Debug/ui_dicomcfgdialog.h" line="337"/>
<source>Name</source> <source>Name</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../../out/build/x64-Debug/ui_dicomcfgdialog.h" line="290"/> <location filename="../../out/build/x64-Debug/ui_dicomcfgdialog.h" line="323"/>
<location filename="../../out/build/x64-Debug/ui_dicomcfgdialog.h" line="294"/> <location filename="../../out/build/x64-Debug/ui_dicomcfgdialog.h" line="330"/>
<location filename="../../out/build/x64-Debug/ui_dicomcfgdialog.h" line="299"/> <location filename="../../out/build/x64-Debug/ui_dicomcfgdialog.h" line="336"/>
<source>IP</source> <source>IP</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../../out/build/x64-Debug/ui_dicomcfgdialog.h" line="292"/> <location filename="../../out/build/x64-Debug/ui_dicomcfgdialog.h" line="325"/>
<location filename="../../out/build/x64-Debug/ui_dicomcfgdialog.h" line="295"/> <location filename="../../out/build/x64-Debug/ui_dicomcfgdialog.h" line="332"/>
<location filename="../../out/build/x64-Debug/ui_dicomcfgdialog.h" line="300"/> <location filename="../../out/build/x64-Debug/ui_dicomcfgdialog.h" line="335"/>
<source>Port</source> <source>Port</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../../out/build/x64-Debug/ui_dicomcfgdialog.h" line="291"/> <location filename="../../out/build/x64-Debug/ui_dicomcfgdialog.h" line="324"/>
<location filename="../../out/build/x64-Debug/ui_dicomcfgdialog.h" line="296"/> <location filename="../../out/build/x64-Debug/ui_dicomcfgdialog.h" line="331"/>
<location filename="../../out/build/x64-Debug/ui_dicomcfgdialog.h" line="301"/> <location filename="../../out/build/x64-Debug/ui_dicomcfgdialog.h" line="338"/>
<source>AE</source> <source>AE</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../../out/build/x64-Debug/ui_dicomcfgdialog.h" line="293"/> <location filename="../../out/build/x64-Debug/ui_dicomcfgdialog.h" line="328"/>
<source>Worklist</source> <source>Worklist</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../../out/build/x64-Debug/ui_dicomcfgdialog.h" line="298"/> <location filename="../../out/build/x64-Debug/ui_dicomcfgdialog.h" line="327"/>
<location filename="../../out/build/x64-Debug/ui_dicomcfgdialog.h" line="333"/>
<location filename="../../out/build/x64-Debug/ui_dicomcfgdialog.h" line="339"/>
<source>...</source>
<translation type="unfinished">DICOM</translation>
</message>
<message>
<location filename="../../out/build/x64-Debug/ui_dicomcfgdialog.h" line="334"/>
<source>PACS</source> <source>PACS</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../../out/build/x64-Debug/ui_dicomcfgdialog.h" line="303"/> <location filename="../../out/build/x64-Debug/ui_dicomcfgdialog.h" line="340"/>
<source>3D Recon</source> <source>3D Recon</source>
<translation></translation> <translation></translation>
</message> </message>

View File

@@ -776,7 +776,7 @@ parameters
<context> <context>
<name>dicomCfgDialog</name> <name>dicomCfgDialog</name>
<message> <message>
<location filename="../../out/build/x64-Debug/ui_dicomcfgdialog.h" line="287"/> <location filename="../../out/build/x64-Debug/ui_dicomcfgdialog.h" line="321"/>
<source>Dialog</source> <source>Dialog</source>
<translation></translation> <translation></translation>
</message> </message>
@@ -785,50 +785,57 @@ parameters
<translation type="vanished">DICOM </translation> <translation type="vanished">DICOM </translation>
</message> </message>
<message> <message>
<location filename="../../out/build/x64-Debug/ui_dicomcfgdialog.h" line="288"/> <location filename="../../out/build/x64-Debug/ui_dicomcfgdialog.h" line="322"/>
<source>DICOM Settings</source> <source>DICOM Settings</source>
<translation>DICOM </translation> <translation>DICOM </translation>
</message> </message>
<message> <message>
<location filename="../../out/build/x64-Debug/ui_dicomcfgdialog.h" line="289"/> <location filename="../../out/build/x64-Debug/ui_dicomcfgdialog.h" line="326"/>
<location filename="../../out/build/x64-Debug/ui_dicomcfgdialog.h" line="297"/> <location filename="../../out/build/x64-Debug/ui_dicomcfgdialog.h" line="329"/>
<location filename="../../out/build/x64-Debug/ui_dicomcfgdialog.h" line="302"/> <location filename="../../out/build/x64-Debug/ui_dicomcfgdialog.h" line="337"/>
<source>Name</source> <source>Name</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../../out/build/x64-Debug/ui_dicomcfgdialog.h" line="290"/> <location filename="../../out/build/x64-Debug/ui_dicomcfgdialog.h" line="323"/>
<location filename="../../out/build/x64-Debug/ui_dicomcfgdialog.h" line="294"/> <location filename="../../out/build/x64-Debug/ui_dicomcfgdialog.h" line="330"/>
<location filename="../../out/build/x64-Debug/ui_dicomcfgdialog.h" line="299"/> <location filename="../../out/build/x64-Debug/ui_dicomcfgdialog.h" line="336"/>
<source>IP</source> <source>IP</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../../out/build/x64-Debug/ui_dicomcfgdialog.h" line="292"/> <location filename="../../out/build/x64-Debug/ui_dicomcfgdialog.h" line="325"/>
<location filename="../../out/build/x64-Debug/ui_dicomcfgdialog.h" line="295"/> <location filename="../../out/build/x64-Debug/ui_dicomcfgdialog.h" line="332"/>
<location filename="../../out/build/x64-Debug/ui_dicomcfgdialog.h" line="300"/> <location filename="../../out/build/x64-Debug/ui_dicomcfgdialog.h" line="335"/>
<source>Port</source> <source>Port</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../../out/build/x64-Debug/ui_dicomcfgdialog.h" line="291"/> <location filename="../../out/build/x64-Debug/ui_dicomcfgdialog.h" line="324"/>
<location filename="../../out/build/x64-Debug/ui_dicomcfgdialog.h" line="296"/> <location filename="../../out/build/x64-Debug/ui_dicomcfgdialog.h" line="331"/>
<location filename="../../out/build/x64-Debug/ui_dicomcfgdialog.h" line="301"/> <location filename="../../out/build/x64-Debug/ui_dicomcfgdialog.h" line="338"/>
<source>AE</source> <source>AE</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../../out/build/x64-Debug/ui_dicomcfgdialog.h" line="293"/> <location filename="../../out/build/x64-Debug/ui_dicomcfgdialog.h" line="328"/>
<source>Worklist</source> <source>Worklist</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../../out/build/x64-Debug/ui_dicomcfgdialog.h" line="298"/> <location filename="../../out/build/x64-Debug/ui_dicomcfgdialog.h" line="327"/>
<location filename="../../out/build/x64-Debug/ui_dicomcfgdialog.h" line="333"/>
<location filename="../../out/build/x64-Debug/ui_dicomcfgdialog.h" line="339"/>
<source>...</source>
<translation type="unfinished">DICOM</translation>
</message>
<message>
<location filename="../../out/build/x64-Debug/ui_dicomcfgdialog.h" line="334"/>
<source>PACS</source> <source>PACS</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../../out/build/x64-Debug/ui_dicomcfgdialog.h" line="303"/> <location filename="../../out/build/x64-Debug/ui_dicomcfgdialog.h" line="340"/>
<source>3D Recon</source> <source>3D Recon</source>
<translation></translation> <translation></translation>
</message> </message>