Skip to content
This repository was archived by the owner on Mar 20, 2026. It is now read-only.

Commit 13ea656

Browse files
authored
✨加入多张网卡信息的输出逻辑,将鼠标放在 MAC 和本地 IP 标题上面就可,修改多出口网页版的显示逻辑,从桌面服务转到QtWebEngine,关于界面微调
✨加入多张网卡信息的输出逻辑,将鼠标放在 MAC 和本地 IP 标题上面就可,修改多出口网页版的显示逻辑,从桌面服务转到QtWebEngine,关于界面微调
2 parents d323b3c + 34cc1cf commit 13ea656

File tree

16 files changed

+777
-167
lines changed

16 files changed

+777
-167
lines changed

.github/workflows/deploy.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
artifact: CipherTools-Linux-qt610
2121
# Windows Qt 6.10
2222
- os: windows-latest
23-
qt: 6.10.1
23+
qt: 6.5.3
2424
artifact: CipherTools-Windows
2525

2626
runs-on: ${{ matrix.os }}
@@ -36,6 +36,11 @@ jobs:
3636
uses: jurplel/install-qt-action@v4
3737
with:
3838
version: ${{ matrix.qt }}
39+
modules: >
40+
qtwebengine
41+
qtwebchannel
42+
qtpositioning
43+
aqtversion: '==3.1.*'
3944
cache: true
4045

4146
- name: Remove MinGW from PATH
@@ -56,7 +61,7 @@ jobs:
5661
shell: cmd
5762
run: |
5863
cd build
59-
nmake
64+
nmake /NOLOGO
6065
windeployqt release\CipherTools.exe
6166
del /q release\*.obj
6267
del /q release\*.h

git_img/sc.png

468 KB
Loading

src/About.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ about::about(QWidget *parent)
2727
ui->toolversion->setText(AKT_VERSION);//版本信息
2828
ui->env->setText(systemname.toUpper() + " (" + distro + ")");// 显示系统环境
2929

30-
connect(ui->aboutqt, &QPushButton::clicked, this, [=]() {
30+
connect(ui->qt, &QPushButton::clicked, this, [=]() {
3131
QMessageBox::aboutQt(this, "关于 Qt");
3232
}); //打开关于 Qt
3333

src/About.ui

Lines changed: 37 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<x>0</x>
88
<y>0</y>
99
<width>587</width>
10-
<height>233</height>
10+
<height>229</height>
1111
</rect>
1212
</property>
1313
<property name="windowTitle">
@@ -17,7 +17,7 @@
1717
<property name="geometry">
1818
<rect>
1919
<x>350</x>
20-
<y>180</y>
20+
<y>200</y>
2121
<width>221</width>
2222
<height>20</height>
2323
</rect>
@@ -33,46 +33,18 @@
3333
<property name="geometry">
3434
<rect>
3535
<x>320</x>
36-
<y>200</y>
36+
<y>180</y>
3737
<width>251</width>
3838
<height>20</height>
3939
</rect>
4040
</property>
4141
<property name="text">
42-
<string>本软件基于 Qt,使用 MIT 协议自由开源</string>
42+
<string>使用 MIT 协议自由开源</string>
4343
</property>
4444
<property name="alignment">
4545
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
4646
</property>
4747
</widget>
48-
<widget class="QLabel" name="qticon">
49-
<property name="geometry">
50-
<rect>
51-
<x>110</x>
52-
<y>180</y>
53-
<width>50</width>
54-
<height>35</height>
55-
</rect>
56-
</property>
57-
<property name="sizePolicy">
58-
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
59-
<horstretch>0</horstretch>
60-
<verstretch>0</verstretch>
61-
</sizepolicy>
62-
</property>
63-
<property name="mouseTracking">
64-
<bool>false</bool>
65-
</property>
66-
<property name="text">
67-
<string/>
68-
</property>
69-
<property name="pixmap">
70-
<pixmap resource="Resource.qrc">:/Resource/qt.png</pixmap>
71-
</property>
72-
<property name="scaledContents">
73-
<bool>true</bool>
74-
</property>
75-
</widget>
7648
<widget class="QLabel" name="env_table">
7749
<property name="geometry">
7850
<rect>
@@ -151,23 +123,10 @@
151123
<string>工具箱版本:</string>
152124
</property>
153125
</widget>
154-
<widget class="QPushButton" name="aboutqt">
155-
<property name="geometry">
156-
<rect>
157-
<x>20</x>
158-
<y>190</y>
159-
<width>86</width>
160-
<height>26</height>
161-
</rect>
162-
</property>
163-
<property name="text">
164-
<string>关于 Qt</string>
165-
</property>
166-
</widget>
167126
<widget class="QLabel" name="label">
168127
<property name="geometry">
169128
<rect>
170-
<x>480</x>
129+
<x>470</x>
171130
<y>10</y>
172131
<width>100</width>
173132
<height>120</height>
@@ -195,6 +154,38 @@
195154
<bool>true</bool>
196155
</property>
197156
</widget>
157+
<widget class="QPushButton" name="qt">
158+
<property name="geometry">
159+
<rect>
160+
<x>20</x>
161+
<y>177</y>
162+
<width>141</width>
163+
<height>40</height>
164+
</rect>
165+
</property>
166+
<property name="sizePolicy">
167+
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
168+
<horstretch>0</horstretch>
169+
<verstretch>0</verstretch>
170+
</sizepolicy>
171+
</property>
172+
<property name="text">
173+
<string/>
174+
</property>
175+
<property name="icon">
176+
<iconset resource="Resource.qrc">
177+
<normaloff>:/Resource/qt.svg</normaloff>:/Resource/qt.svg</iconset>
178+
</property>
179+
<property name="iconSize">
180+
<size>
181+
<width>142</width>
182+
<height>44</height>
183+
</size>
184+
</property>
185+
<property name="autoExclusive">
186+
<bool>false</bool>
187+
</property>
188+
</widget>
198189
</widget>
199190
<resources>
200191
<include location="Resource.qrc"/>

src/CipherTools.pro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
QT += core gui network
1+
QT += core gui network webenginewidgets
22
TARGET = CipherTools
33

44
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

0 commit comments

Comments
 (0)