加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
gitdialog.ui 6.67 KB
一键复制 编辑 原始数据 按行查看 历史
left-studio 提交于 2020-02-20 12:24 . update 1.1
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>GitDialog</class>
<widget class="QDialog" name="GitDialog">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>471</width>
<height>184</height>
</rect>
</property>
<property name="font">
<font>
<family>微软雅黑</family>
</font>
</property>
<property name="windowTitle">
<string>Git</string>
</property>
<widget class="QLabel" name="label">
<property name="geometry">
<rect>
<x>30</x>
<y>30</y>
<width>61</width>
<height>20</height>
</rect>
</property>
<property name="font">
<font>
<family>微软雅黑</family>
<pointsize>10</pointsize>
<weight>50</weight>
<bold>false</bold>
</font>
</property>
<property name="text">
<string> Git路径</string>
</property>
</widget>
<widget class="QLabel" name="label_2">
<property name="geometry">
<rect>
<x>30</x>
<y>60</y>
<width>61</width>
<height>20</height>
</rect>
</property>
<property name="font">
<font>
<family>微软雅黑</family>
<pointsize>10</pointsize>
<weight>50</weight>
<bold>false</bold>
</font>
</property>
<property name="text">
<string>文件路径</string>
</property>
</widget>
<widget class="QLabel" name="label_3">
<property name="geometry">
<rect>
<x>30</x>
<y>90</y>
<width>61</width>
<height>16</height>
</rect>
</property>
<property name="font">
<font>
<family>微软雅黑</family>
<pointsize>10</pointsize>
<weight>50</weight>
<bold>false</bold>
</font>
</property>
<property name="text">
<string>提交注释</string>
</property>
</widget>
<widget class="QPlainTextEdit" name="NotesEdit">
<property name="geometry">
<rect>
<x>100</x>
<y>90</y>
<width>231</width>
<height>71</height>
</rect>
</property>
<property name="font">
<font>
<family>微软雅黑</family>
</font>
</property>
</widget>
<widget class="QPushButton" name="GitPathBtn">
<property name="geometry">
<rect>
<x>360</x>
<y>30</y>
<width>71</width>
<height>20</height>
</rect>
</property>
<property name="font">
<font>
<family>微软雅黑</family>
<pointsize>9</pointsize>
<weight>50</weight>
<bold>false</bold>
</font>
</property>
<property name="styleSheet">
<string notr="true">QPushButton
{
background-color:white;
border-style:outset;
border-width:2px;
border-radius:5px;
border-color:rgba(65,205,82,150);
padding:2px;
color:black;
}
QPushButton:hover
{
background-color:rgb(108, 236, 172);
border-color:rgba(255,255,255,200);
}
QPushButton:pressed
{
background-color:rgb(25, 189, 0);
border-color:white;
border-style:inset;
color:white;
}</string>
</property>
<property name="text">
<string>浏览...</string>
</property>
</widget>
<widget class="QPushButton" name="FilePathBtn">
<property name="geometry">
<rect>
<x>360</x>
<y>60</y>
<width>71</width>
<height>21</height>
</rect>
</property>
<property name="font">
<font>
<family>微软雅黑</family>
<pointsize>9</pointsize>
<weight>50</weight>
<bold>false</bold>
</font>
</property>
<property name="styleSheet">
<string notr="true">QPushButton
{
background-color:white;
border-style:outset;
border-width:2px;
border-radius:5px;
border-color:rgba(65,205,82,150);
padding:2px;
color:black;
}
QPushButton:hover
{
background-color:rgb(108, 236, 172);
border-color:rgba(255,255,255,200);
}
QPushButton:pressed
{
background-color:rgb(25, 189, 0);
border-color:white;
border-style:inset;
color:white;
}</string>
</property>
<property name="text">
<string>浏览...</string>
</property>
</widget>
<widget class="QPushButton" name="CommitBtn">
<property name="geometry">
<rect>
<x>360</x>
<y>100</y>
<width>80</width>
<height>20</height>
</rect>
</property>
<property name="font">
<font>
<family>微软雅黑</family>
<pointsize>9</pointsize>
<weight>50</weight>
<bold>false</bold>
</font>
</property>
<property name="styleSheet">
<string notr="true">QPushButton
{
background-color:white;
border-style:outset;
border-width:2px;
border-radius:5px;
border-color:rgba(65,205,82,150);
padding:2px;
color:black;
}
QPushButton:hover
{
background-color:rgb(108, 236, 172);
border-color:rgba(255,255,255,200);
}
QPushButton:pressed
{
background-color:rgb(25, 189, 0);
border-color:white;
border-style:inset;
color:white;
}</string>
</property>
<property name="text">
<string>提交</string>
</property>
</widget>
<widget class="QPushButton" name="CancelBtn">
<property name="geometry">
<rect>
<x>360</x>
<y>130</y>
<width>80</width>
<height>20</height>
</rect>
</property>
<property name="font">
<font>
<family>微软雅黑</family>
<pointsize>9</pointsize>
<weight>50</weight>
<bold>false</bold>
</font>
</property>
<property name="styleSheet">
<string notr="true">QPushButton
{
background-color:white;
border-style:outset;
border-width:2px;
border-radius:5px;
border-color:rgba(65,205,82,150);
padding:2px;
color:black;
}
QPushButton:hover
{
background-color:rgb(108, 236, 172);
border-color:rgba(255,255,255,200);
}
QPushButton:pressed
{
background-color:rgb(25, 189, 0);
border-color:white;
border-style:inset;
color:white;
}</string>
</property>
<property name="text">
<string>取消</string>
</property>
</widget>
<widget class="QLineEdit" name="GitPathEdit">
<property name="geometry">
<rect>
<x>100</x>
<y>30</y>
<width>231</width>
<height>20</height>
</rect>
</property>
</widget>
<widget class="QLineEdit" name="FilePathEdit">
<property name="geometry">
<rect>
<x>100</x>
<y>60</y>
<width>231</width>
<height>20</height>
</rect>
</property>
</widget>
</widget>
<resources/>
<connections>
<connection>
<sender>CancelBtn</sender>
<signal>clicked()</signal>
<receiver>GitDialog</receiver>
<slot>close()</slot>
<hints>
<hint type="sourcelabel">
<x>399</x>
<y>139</y>
</hint>
<hint type="destinationlabel">
<x>235</x>
<y>96</y>
</hint>
</hints>
</connection>
</connections>
</ui>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化