2,新增“Apps”; 3,新增“Common”; 4,新增“FileList”; 5,新增“MediaX”; 6,新增“OpenSource”; 7,新增“Samples”; 8,新增“SoftwareBusinessLines”.
590 lines
17 KiB
XML
590 lines
17 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
||
<ui version="4.0">
|
||
<class>MainWindow</class>
|
||
<widget class="QMainWindow" name="MainWindow">
|
||
<property name="geometry">
|
||
<rect>
|
||
<x>0</x>
|
||
<y>0</y>
|
||
<width>697</width>
|
||
<height>433</height>
|
||
</rect>
|
||
</property>
|
||
<property name="windowTitle">
|
||
<string>CRC32 (注:程序需要“以管理员身份运行”) V1.00.01/20230731</string>
|
||
</property>
|
||
<widget class="QWidget" name="centralWidget">
|
||
<layout class="QVBoxLayout" name="verticalLayout_4">
|
||
<item>
|
||
<widget class="QGroupBox" name="groupBoxTest">
|
||
<property name="title">
|
||
<string>测试</string>
|
||
</property>
|
||
<layout class="QVBoxLayout" name="verticalLayout">
|
||
<item>
|
||
<layout class="QHBoxLayout" name="horizontalLayout">
|
||
<item>
|
||
<widget class="QLabel" name="label">
|
||
<property name="text">
|
||
<string>原始CRC:</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<widget class="QLineEdit" name="lineEditCurCrc"/>
|
||
</item>
|
||
<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="QLabel" name="label_4">
|
||
<property name="text">
|
||
<string>特征值:</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<widget class="QLineEdit" name="lineEditCurData"/>
|
||
</item>
|
||
<item>
|
||
<widget class="QLabel" name="label_8">
|
||
<property name="text">
|
||
<string>字节数:</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<widget class="QLineEdit" name="lineEditNum"/>
|
||
</item>
|
||
<item>
|
||
<spacer name="horizontalSpacer_2">
|
||
<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="pushButtonCal">
|
||
<property name="text">
|
||
<string>计算</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
</layout>
|
||
</item>
|
||
<item>
|
||
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
||
<item>
|
||
<widget class="QLabel" name="label_2">
|
||
<property name="text">
|
||
<string>计算结果:</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<widget class="QLabel" name="labelCrcValue">
|
||
<property name="minimumSize">
|
||
<size>
|
||
<width>100</width>
|
||
<height>0</height>
|
||
</size>
|
||
</property>
|
||
<property name="text">
|
||
<string>0</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<widget class="QPushButton" name="pushButtonUse">
|
||
<property name="text">
|
||
<string>使用</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<spacer name="horizontalSpacer_3">
|
||
<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>
|
||
<layout class="QHBoxLayout" name="horizontalLayout_3">
|
||
<item>
|
||
<widget class="QLabel" name="label_3">
|
||
<property name="text">
|
||
<string>当前CRC:</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<widget class="QLineEdit" name="lineEditCurCrc2">
|
||
<property name="text">
|
||
<string>D53F6AD4</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<spacer name="horizontalSpacer_4">
|
||
<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="QLabel" name="label_5">
|
||
<property name="text">
|
||
<string>期望CRC:</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<widget class="QLineEdit" name="lineEditCurData2">
|
||
<property name="text">
|
||
<string>4C578FAF</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<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="pushButtonCal2">
|
||
<property name="text">
|
||
<string>计算(不用)</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
</layout>
|
||
</item>
|
||
<item>
|
||
<layout class="QHBoxLayout" name="horizontalLayout_4">
|
||
<item>
|
||
<widget class="QLabel" name="label_6">
|
||
<property name="text">
|
||
<string>计算次数:</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<widget class="QLabel" name="labelCrcValue2">
|
||
<property name="minimumSize">
|
||
<size>
|
||
<width>100</width>
|
||
<height>0</height>
|
||
</size>
|
||
</property>
|
||
<property name="text">
|
||
<string>0</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>
|
||
</item>
|
||
<item>
|
||
<layout class="QHBoxLayout" name="horizontalLayout_5">
|
||
<item>
|
||
<widget class="QLabel" name="label_7">
|
||
<property name="text">
|
||
<string>特征值:</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<widget class="QLineEdit" name="lineEditCurCrc3">
|
||
<property name="text">
|
||
<string>0</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<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>
|
||
<widget class="QPushButton" name="pushButtonCal3">
|
||
<property name="text">
|
||
<string>计算特征值</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
</layout>
|
||
</item>
|
||
</layout>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<widget class="QGroupBox" name="groupBox_2">
|
||
<property name="title">
|
||
<string>加密操作</string>
|
||
</property>
|
||
<layout class="QVBoxLayout" name="verticalLayout_3">
|
||
<item>
|
||
<layout class="QHBoxLayout" name="horizontalLayout_6" stretch="0,1,0">
|
||
<item>
|
||
<widget class="QLabel" name="label_9">
|
||
<property name="text">
|
||
<string>文件名:</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<widget class="QLabel" name="labelFileName">
|
||
<property name="text">
|
||
<string/>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<widget class="QPushButton" name="pushButtonOpen">
|
||
<property name="text">
|
||
<string>打开文件</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
</layout>
|
||
</item>
|
||
<item>
|
||
<layout class="QHBoxLayout" name="horizontalLayout_7">
|
||
<item>
|
||
<widget class="QLabel" name="label_11">
|
||
<property name="text">
|
||
<string>文件大小:</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<widget class="QLabel" name="labelSize">
|
||
<property name="minimumSize">
|
||
<size>
|
||
<width>100</width>
|
||
<height>0</height>
|
||
</size>
|
||
</property>
|
||
<property name="text">
|
||
<string>0</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<widget class="QLabel" name="label_12">
|
||
<property name="text">
|
||
<string>CRC32:</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<widget class="QLabel" name="labelCRC32">
|
||
<property name="minimumSize">
|
||
<size>
|
||
<width>100</width>
|
||
<height>0</height>
|
||
</size>
|
||
</property>
|
||
<property name="text">
|
||
<string/>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<spacer name="horizontalSpacer_7">
|
||
<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="QGroupBox" name="groupBox_3">
|
||
<property name="title">
|
||
<string>更新参数</string>
|
||
</property>
|
||
<layout class="QVBoxLayout" name="verticalLayout_2">
|
||
<item>
|
||
<layout class="QHBoxLayout" name="horizontalLayout_8" stretch="0,1,0,1">
|
||
<item>
|
||
<widget class="QLabel" name="label_15">
|
||
<property name="minimumSize">
|
||
<size>
|
||
<width>180</width>
|
||
<height>0</height>
|
||
</size>
|
||
</property>
|
||
<property name="text">
|
||
<string>文件大小(需大于源文件12字节):</string>
|
||
</property>
|
||
<property name="alignment">
|
||
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<widget class="QLineEdit" name="lineEditSize">
|
||
<property name="minimumSize">
|
||
<size>
|
||
<width>100</width>
|
||
<height>0</height>
|
||
</size>
|
||
</property>
|
||
<property name="maximumSize">
|
||
<size>
|
||
<width>1000</width>
|
||
<height>16777215</height>
|
||
</size>
|
||
</property>
|
||
<property name="text">
|
||
<string/>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<widget class="QLabel" name="label_17">
|
||
<property name="minimumSize">
|
||
<size>
|
||
<width>140</width>
|
||
<height>0</height>
|
||
</size>
|
||
</property>
|
||
<property name="text">
|
||
<string>CRC32(格式 DF6E4593):</string>
|
||
</property>
|
||
<property name="alignment">
|
||
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<widget class="QLineEdit" name="lineEditCRC">
|
||
<property name="minimumSize">
|
||
<size>
|
||
<width>100</width>
|
||
<height>0</height>
|
||
</size>
|
||
</property>
|
||
<property name="maximumSize">
|
||
<size>
|
||
<width>1000</width>
|
||
<height>16777215</height>
|
||
</size>
|
||
</property>
|
||
<property name="text">
|
||
<string/>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
</layout>
|
||
</item>
|
||
<item>
|
||
<layout class="QHBoxLayout" name="horizontalLayout_10" stretch="0,1,0,1">
|
||
<item>
|
||
<widget class="QLabel" name="label_23">
|
||
<property name="minimumSize">
|
||
<size>
|
||
<width>180</width>
|
||
<height>0</height>
|
||
</size>
|
||
</property>
|
||
<property name="text">
|
||
<string>年月日(格式 2023-01-01):</string>
|
||
</property>
|
||
<property name="alignment">
|
||
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<widget class="QLineEdit" name="lineEditDay">
|
||
<property name="minimumSize">
|
||
<size>
|
||
<width>100</width>
|
||
<height>0</height>
|
||
</size>
|
||
</property>
|
||
<property name="maximumSize">
|
||
<size>
|
||
<width>1000</width>
|
||
<height>16777215</height>
|
||
</size>
|
||
</property>
|
||
<property name="text">
|
||
<string/>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<widget class="QLabel" name="label_25">
|
||
<property name="minimumSize">
|
||
<size>
|
||
<width>140</width>
|
||
<height>0</height>
|
||
</size>
|
||
</property>
|
||
<property name="text">
|
||
<string>时分秒(格式 12:23:18):</string>
|
||
</property>
|
||
<property name="alignment">
|
||
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<widget class="QLineEdit" name="lineEditTime">
|
||
<property name="minimumSize">
|
||
<size>
|
||
<width>100</width>
|
||
<height>0</height>
|
||
</size>
|
||
</property>
|
||
<property name="maximumSize">
|
||
<size>
|
||
<width>1000</width>
|
||
<height>16777215</height>
|
||
</size>
|
||
</property>
|
||
<property name="text">
|
||
<string/>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
</layout>
|
||
</item>
|
||
<item>
|
||
<layout class="QHBoxLayout" name="horizontalLayout_11">
|
||
<item>
|
||
<widget class="QLabel" name="label_10">
|
||
<property name="text">
|
||
<string>计算值:</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<widget class="QLabel" name="lineEditCurCrc4">
|
||
<property name="minimumSize">
|
||
<size>
|
||
<width>140</width>
|
||
<height>0</height>
|
||
</size>
|
||
</property>
|
||
<property name="text">
|
||
<string>0</string>
|
||
</property>
|
||
</widget>
|
||
</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>
|
||
<item>
|
||
<widget class="QPushButton" name="pushButtonUpdate">
|
||
<property name="text">
|
||
<string>文件另存为</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
</layout>
|
||
</item>
|
||
</layout>
|
||
</widget>
|
||
</item>
|
||
</layout>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<spacer name="verticalSpacer">
|
||
<property name="orientation">
|
||
<enum>Qt::Vertical</enum>
|
||
</property>
|
||
<property name="sizeHint" stdset="0">
|
||
<size>
|
||
<width>20</width>
|
||
<height>15</height>
|
||
</size>
|
||
</property>
|
||
</spacer>
|
||
</item>
|
||
</layout>
|
||
</widget>
|
||
</widget>
|
||
<layoutdefault spacing="6" margin="11"/>
|
||
<resources/>
|
||
<connections/>
|
||
</ui>
|