qt_demoe/countcode/frmcountcode.ui

412 lines
12 KiB
Plaintext
Raw Normal View History

2019-09-29 02:56:57 +00:00
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>frmCountCode</class>
<widget class="QWidget" name="frmCountCode">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>800</width>
<height>600</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout_2">
<item>
<widget class="QTableWidget" name="tableWidget"/>
</item>
<item>
<widget class="QWidget" name="widget" native="true">
<layout class="QGridLayout" name="gridLayout_2">
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<item row="0" column="0" rowspan="3">
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="3">
<widget class="QLineEdit" name="txtCode">
<property name="maximumSize">
<size>
<width>80</width>
<height>16777215</height>
</size>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
<property name="readOnly">
<bool>true</bool>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QLineEdit" name="txtRow">
<property name="sizePolicy">
<sizepolicy hsizetype="Ignored" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
<property name="readOnly">
<bool>true</bool>
</property>
</widget>
</item>
<item row="1" column="3">
<widget class="QLineEdit" name="txtNote">
<property name="sizePolicy">
<sizepolicy hsizetype="Ignored" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
<property name="readOnly">
<bool>true</bool>
</property>
</widget>
</item>
<item row="2" column="3">
<widget class="QLineEdit" name="txtBlank">
<property name="sizePolicy">
<sizepolicy hsizetype="Ignored" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
<property name="readOnly">
<bool>true</bool>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QLineEdit" name="txtCount">
<property name="maximumSize">
<size>
<width>80</width>
<height>16777215</height>
</size>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
<property name="readOnly">
<bool>true</bool>
</property>
</widget>
</item>
<item row="0" column="4">
<widget class="QLabel" name="labPercentCode">
<property name="minimumSize">
<size>
<width>60</width>
<height>0</height>
</size>
</property>
<property name="frameShape">
<enum>QFrame::Box</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Sunken</enum>
</property>
<property name="text">
<string/>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="2" column="2">
<widget class="QLabel" name="labBlank">
<property name="text">
<string>空白行数</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QLineEdit" name="txtSize">
<property name="sizePolicy">
<sizepolicy hsizetype="Ignored" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
<property name="readOnly">
<bool>true</bool>
</property>
</widget>
</item>
<item row="2" column="5">
<widget class="QLabel" name="labFilter">
<property name="text">
<string>过滤</string>
</property>
</widget>
</item>
<item row="0" column="5">
<widget class="QLabel" name="labFile">
<property name="text">
<string>文件</string>
</property>
</widget>
</item>
<item row="1" column="6">
<widget class="QLineEdit" name="txtPath">
<property name="readOnly">
<bool>true</bool>
</property>
</widget>
</item>
<item row="0" column="6">
<widget class="QLineEdit" name="txtFile">
<property name="readOnly">
<bool>true</bool>
</property>
</widget>
</item>
<item row="1" column="5">
<widget class="QLabel" name="labPath">
<property name="text">
<string>目录</string>
</property>
</widget>
</item>
<item row="2" column="6">
<widget class="QLineEdit" name="txtFilter">
<property name="text">
<string>*.h *.cpp *.c *.cs *.java *.js</string>
</property>
</widget>
</item>
<item row="1" column="4">
<widget class="QLabel" name="labPercentNote">
<property name="frameShape">
<enum>QFrame::Box</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Sunken</enum>
</property>
<property name="text">
<string/>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="2" column="4">
<widget class="QLabel" name="labPercentBlank">
<property name="frameShape">
<enum>QFrame::Box</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Sunken</enum>
</property>
<property name="text">
<string/>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="0" column="0">
<widget class="QLabel" name="labCount">
<property name="text">
<string>文件数</string>
</property>
</widget>
</item>
<item row="0" column="2">
<widget class="QLabel" name="labCode">
<property name="text">
<string>代码行数</string>
</property>
</widget>
</item>
<item row="1" column="2">
<widget class="QLabel" name="labNote">
<property name="text">
<string>注释行数</string>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="labSize">
<property name="text">
<string>字节数</string>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="labRow">
<property name="text">
<string>总行数</string>
</property>
</widget>
</item>
</layout>
</item>
<item row="0" column="1">
<widget class="QPushButton" name="btnOpenFile">
<property name="text">
<string>打开文件</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QPushButton" name="btnOpenPath">
<property name="text">
<string>打开目录</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QPushButton" name="btnClear">
<property name="text">
<string>清空结果</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
<action name="actionOpen">
<property name="icon">
<iconset>
<normaloff>:/images/toolbar/ic_files.png</normaloff>:/images/toolbar/ic_files.png</iconset>
</property>
<property name="text">
<string>选择文件</string>
</property>
<property name="shortcut">
<string>Ctrl+O</string>
</property>
</action>
<action name="actionOpenDir">
<property name="icon">
<iconset>
<normaloff>:/images/toolbar/ic_folder.png</normaloff>:/images/toolbar/ic_folder.png</iconset>
</property>
<property name="text">
<string>选择目录</string>
</property>
<property name="shortcut">
<string>Ctrl+Shift+O</string>
</property>
</action>
<action name="actionAbout">
<property name="icon">
<iconset>
<normaloff>:/images/toolbar/ic_about.png</normaloff>:/images/toolbar/ic_about.png</iconset>
</property>
<property name="text">
<string>关于</string>
</property>
</action>
<action name="actionClearModel">
<property name="icon">
<iconset>
<normaloff>:/images/toolbar/ic_clean.png</normaloff>:/images/toolbar/ic_clean.png</iconset>
</property>
<property name="text">
<string>清空列表</string>
</property>
</action>
<action name="actionClearModelLine">
<property name="icon">
<iconset>
<normaloff>:/images/toolbar/ic_delete.png</normaloff>:/images/toolbar/ic_delete.png</iconset>
</property>
<property name="text">
<string>删除选中行</string>
</property>
</action>
<action name="actionChinese">
<property name="checkable">
<bool>true</bool>
</property>
<property name="checked">
<bool>true</bool>
</property>
<property name="text">
<string>中文</string>
</property>
</action>
<action name="actionEnglish">
<property name="checkable">
<bool>true</bool>
</property>
<property name="text">
<string>English</string>
</property>
</action>
<action name="actionUTF8">
<property name="checkable">
<bool>true</bool>
</property>
<property name="checked">
<bool>true</bool>
</property>
<property name="text">
<string>UTF8</string>
</property>
</action>
<action name="actionGB18030">
<property name="checkable">
<bool>true</bool>
</property>
<property name="text">
<string>GB18030</string>
</property>
</action>
<action name="actionQuit">
<property name="text">
<string>退出</string>
</property>
<property name="shortcut">
<string>Ctrl+Q</string>
</property>
</action>
</widget>
<layoutdefault spacing="6" margin="11"/>
<tabstops>
<tabstop>btnOpenFile</tabstop>
<tabstop>btnOpenPath</tabstop>
<tabstop>btnClear</tabstop>
<tabstop>tableWidget</tabstop>
<tabstop>txtCount</tabstop>
<tabstop>txtSize</tabstop>
<tabstop>txtRow</tabstop>
<tabstop>txtCode</tabstop>
<tabstop>txtNote</tabstop>
<tabstop>txtBlank</tabstop>
<tabstop>txtFile</tabstop>
<tabstop>txtPath</tabstop>
<tabstop>txtFilter</tabstop>
</tabstops>
<resources/>
<connections/>
</ui>