aboutsummaryrefslogtreecommitdiffstats
path: root/ui/PlainTextEditor.ui
diff options
context:
space:
mode:
authorSaturneric <[email protected]>2022-01-12 03:04:46 +0000
committerSaturneric <[email protected]>2022-01-12 03:04:46 +0000
commitd24f0251e8c8964bf42f4bf028023f02f4e96933 (patch)
treeb0d1fe016143274a66898ec6ca0913115400c033 /ui/PlainTextEditor.ui
parent<refactor>(ui): Adjust src/ui/function to src/ui/thread (diff)
downloadGpgFrontend-d24f0251e8c8964bf42f4bf028023f02f4e96933.tar.gz
GpgFrontend-d24f0251e8c8964bf42f4bf028023f02f4e96933.zip
<refactor, feat>(ui): Text editor improvements.
1. Add binary display mode 2. Add information bar 3. Added character code recognition function. 4. Identify text encoding and line breaks 5. Count the number of characters 6. Code reconstruction
Diffstat (limited to 'ui/PlainTextEditor.ui')
-rw-r--r--ui/PlainTextEditor.ui79
1 files changed, 79 insertions, 0 deletions
diff --git a/ui/PlainTextEditor.ui b/ui/PlainTextEditor.ui
new file mode 100644
index 00000000..bcccdee1
--- /dev/null
+++ b/ui/PlainTextEditor.ui
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ui version="4.0">
+ <class>PlainTextEditor</class>
+ <widget class="QWidget" name="PlainTextEditor">
+ <property name="geometry">
+ <rect>
+ <x>0</x>
+ <y>0</y>
+ <width>1007</width>
+ <height>701</height>
+ </rect>
+ </property>
+ <property name="windowTitle">
+ <string>Form</string>
+ </property>
+ <layout class="QGridLayout" name="gridLayout">
+ <item row="0" column="0">
+ <layout class="QVBoxLayout" name="verticalLayout">
+ <property name="spacing">
+ <number>0</number>
+ </property>
+ <item>
+ <widget class="QPlainTextEdit" name="textPage"/>
+ </item>
+ <item>
+ <layout class="QHBoxLayout" name="horizontalLayout">
+ <property name="spacing">
+ <number>12</number>
+ </property>
+ <item>
+ <widget class="QLabel" name="loadingLabel">
+ <property name="text">
+ <string>Loading...</string>
+ </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>
+ <item>
+ <widget class="QLabel" name="characterLabel">
+ <property name="text">
+ <string>Character</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QLabel" name="lfLabel">
+ <property name="text">
+ <string>LF</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QLabel" name="encodingLabel">
+ <property name="text">
+ <string>UTF-8</string>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </item>
+ </layout>
+ </item>
+ </layout>
+ </widget>
+ <resources/>
+ <connections/>
+</ui>