change:行操作改成右键菜单栏的形式。

This commit is contained in:
2024-05-16 13:17:49 +08:00
parent 726c42f537
commit 615a53f9cb
4 changed files with 98 additions and 101 deletions

View File

@@ -6,84 +6,16 @@
<rect>
<x>0</x>
<y>0</y>
<width>850</width>
<height>794</height>
<width>790</width>
<height>847</height>
</rect>
</property>
<property name="windowTitle">
<string>MainWidget</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QWidget" name="widget" native="true">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="QLineEdit" name="edStatus"/>
</item>
<item>
<widget class="QPushButton" name="btnRead">
<property name="text">
<string>读取</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="cbCaseSensitive">
<property name="text">
<string>区分大小写</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="edSearchKey">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="btnSearch">
<property name="text">
<string>搜索</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="btnReset">
<property name="text">
<string>重置</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_2">
<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="QLineEdit" name="edCurPage">
<property name="sizePolicy">
@@ -151,17 +83,33 @@
</property>
</widget>
</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>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_3">
<item>
<widget class="QPushButton" name="btnExit">
<property name="text">
<string>退出</string>
</property>
</widget>
</item>
<widget class="QWidget" name="widget" native="true">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<spacer name="horizontalSpacer_2">
<property name="orientation">
@@ -176,30 +124,47 @@
</spacer>
</item>
<item>
<widget class="QPushButton" name="btnEditProperty">
<property name="text">
<string>编辑</string>
<widget class="QLineEdit" name="edSearchKey">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="btnCopyKey">
<widget class="QCheckBox" name="cbCaseSensitive">
<property name="text">
<string>复制Key</string>
<string>区分大小写</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="btnCopySelectLine">
<widget class="QPushButton" name="btnSearch">
<property name="text">
<string>复制选定行</string>
<string>搜索</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="btnDelSelectLine">
<widget class="QPushButton" name="btnReset">
<property name="text">
<string>删除选定行</string>
<string>重置</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_3">
<item>
<widget class="QLineEdit" name="edStatus"/>
</item>
<item>
<widget class="QPushButton" name="btnRead">
<property name="text">
<string>加载文件</string>
</property>
</widget>
</item>
@@ -210,6 +175,13 @@
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="btnExit">
<property name="text">
<string>退出</string>
</property>
</widget>
</item>
</layout>
</item>
</layout>