代码拉取完成,页面将自动刷新
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>MainWidget</class>
<widget class="QWidget" name="MainWidget">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>863</width>
<height>520</height>
</rect>
</property>
<property name="windowTitle">
<string>CodeCounter</string>
</property>
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<layout class="QVBoxLayout" name="verticalLayout_2">
<item>
<widget class="QGroupBox" name="groupBox">
<property name="title">
<string>设置</string>
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0">
<widget class="QLabel" name="label">
<property name="text">
<string>语言类型</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QLineEdit" name="langTypes">
<property name="readOnly">
<bool>true</bool>
</property>
</widget>
</item>
<item row="0" column="2">
<widget class="QPushButton" name="selectLangTypes">
<property name="text">
<string>选择...</string>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_2">
<property name="text">
<string>源码目录</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QComboBox" name="sourceDir">
<property name="acceptDrops">
<bool>true</bool>
</property>
<property name="editable">
<bool>true</bool>
</property>
</widget>
</item>
<item row="1" column="2">
<widget class="QPushButton" name="selectSourceDir">
<property name="text">
<string>浏览...</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QCheckBox" name="containsSubDir">
<property name="text">
<string>包含子目录</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QGroupBox" name="groupBox_2">
<property name="title">
<string>统计</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QTableWidget" name="tableWidget">
<property name="editTriggers">
<set>QAbstractItemView::NoEditTriggers</set>
</property>
<property name="verticalScrollMode">
<enum>QAbstractItemView::ScrollPerPixel</enum>
</property>
<property name="horizontalScrollMode">
<enum>QAbstractItemView::ScrollPerPixel</enum>
</property>
<attribute name="verticalHeaderVisible">
<bool>false</bool>
</attribute>
</widget>
</item>
<item>
<layout class="QGridLayout" name="gridLayout_2">
<item row="0" column="0">
<widget class="QLabel" name="label_3">
<property name="text">
<string>总行数</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QLineEdit" name="totalLines"/>
</item>
<item row="0" column="2">
<widget class="QLabel" name="label_4">
<property name="text">
<string>代码行总数</string>
</property>
</widget>
</item>
<item row="0" column="3">
<widget class="QLineEdit" name="codeLines"/>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_5">
<property name="text">
<string>注释行总数</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QLineEdit" name="commentLines"/>
</item>
<item row="1" column="2">
<widget class="QLabel" name="label_6">
<property name="text">
<string>空白行总数</string>
</property>
</widget>
</item>
<item row="1" column="3">
<widget class="QLineEdit" name="blankLines"/>
</item>
</layout>
</item>
</layout>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QVBoxLayout" name="verticalLayout_3">
<item>
<widget class="QPushButton" name="start">
<property name="text">
<string>开始统计</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="stop">
<property name="text">
<string>停止</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="outputResult">
<property name="text">
<string>输出结果</string>
</property>
</widget>
</item>
<item>
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QPushButton" name="about">
<property name="text">
<string>关于Qt</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="quit">
<property name="text">
<string>退出</string>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
<tabstops>
<tabstop>langTypes</tabstop>
<tabstop>selectLangTypes</tabstop>
<tabstop>sourceDir</tabstop>
<tabstop>selectSourceDir</tabstop>
<tabstop>containsSubDir</tabstop>
<tabstop>tableWidget</tabstop>
<tabstop>totalLines</tabstop>
<tabstop>codeLines</tabstop>
<tabstop>commentLines</tabstop>
<tabstop>blankLines</tabstop>
<tabstop>start</tabstop>
<tabstop>stop</tabstop>
<tabstop>outputResult</tabstop>
<tabstop>about</tabstop>
<tabstop>quit</tabstop>
</tabstops>
<resources/>
<connections/>
</ui>
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。