222 lines
5.4 KiB
XML
Executable File
222 lines
5.4 KiB
XML
Executable File
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>Form</class>
|
|
<widget class="QWidget" name="Form">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>715</width>
|
|
<height>636</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>Form</string>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout_2">
|
|
<property name="spacing">
|
|
<number>18</number>
|
|
</property>
|
|
<property name="leftMargin">
|
|
<number>24</number>
|
|
</property>
|
|
<property name="topMargin">
|
|
<number>24</number>
|
|
</property>
|
|
<property name="rightMargin">
|
|
<number>24</number>
|
|
</property>
|
|
<property name="bottomMargin">
|
|
<number>24</number>
|
|
</property>
|
|
<item>
|
|
<widget class="TitleLabel" name="TitleLabel">
|
|
<property name="text">
|
|
<string>课程表</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<layout class="QHBoxLayout" name="horizontalLayout_5">
|
|
<item>
|
|
<widget class="SubtitleLabel" name="subtitle_file">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="text">
|
|
<string>预览</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="ComboBox" name="pre_week_type_combo"/>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<widget class="TableWidget" name="schedule_view">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Expanding" vsizetype="MinimumExpanding">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">QTableView {
|
|
background: transparent;
|
|
outline: none;
|
|
border: none;
|
|
/* font: 13px 'Segoe UI', 'Microsoft YaHei'; */
|
|
selection-background-color: transparent;
|
|
alternate-background-color: transparent;
|
|
}
|
|
|
|
QTableView[isBorderVisible=true] {
|
|
border: none;
|
|
}
|
|
|
|
QTableView::item {
|
|
background: transparent;
|
|
border: 0px;
|
|
padding-left: 16px;
|
|
padding-right: 16px;
|
|
height: 35px;
|
|
}
|
|
|
|
|
|
QTableView::indicator {
|
|
width: 18px;
|
|
height: 18px;
|
|
border-radius: 5px;
|
|
border: none;
|
|
background-color: transparent;
|
|
}
|
|
|
|
|
|
QHeaderView {
|
|
background-color: transparent;
|
|
}
|
|
|
|
QHeaderView::section {
|
|
background-color: transparent;
|
|
color: rgb(96, 96, 96);
|
|
padding-left: 5px;
|
|
padding-right: 5px;
|
|
border: 1px solid rgba(0, 0, 0, 15);
|
|
font: 13px 'Segoe UI', 'Microsoft YaHei', 'PingFang SC';
|
|
}
|
|
|
|
QHeaderView::section:horizontal {
|
|
border-left: none;
|
|
height: 33px;
|
|
}
|
|
|
|
QTableView[isBorderVisible=true] QHeaderView::section:horizontal {
|
|
border-top: none;
|
|
}
|
|
|
|
QHeaderView::section:horizontal:last {
|
|
border-right: none;
|
|
}
|
|
|
|
QHeaderView::section:vertical {
|
|
border-top: none;
|
|
}
|
|
|
|
QHeaderView::section:checked {
|
|
background-color: transparent;
|
|
}
|
|
|
|
QHeaderView::down-arrow {
|
|
subcontrol-origin: padding;
|
|
subcontrol-position: center right;
|
|
margin-right: 6px;
|
|
image: url(:/qfluentwidgets/images/table_view/Down_black.svg);
|
|
}
|
|
|
|
QHeaderView::up-arrow {
|
|
subcontrol-origin: padding;
|
|
subcontrol-position: center right;
|
|
margin-right: 6px;
|
|
image: url(:/qfluentwidgets/images/table_view/Up_black.svg);
|
|
}
|
|
|
|
QTableCornerButton::section {
|
|
background-color: transparent;
|
|
border: 1px solid rgba(0, 0, 0, 15);
|
|
}
|
|
|
|
QTableCornerButton::section:pressed {
|
|
background-color: rgba(0, 0, 0, 12);
|
|
}</string>
|
|
</property>
|
|
<property name="sizeAdjustPolicy">
|
|
<enum>QAbstractScrollArea::AdjustToContents</enum>
|
|
</property>
|
|
<property name="editTriggers">
|
|
<set>QAbstractItemView::NoEditTriggers</set>
|
|
</property>
|
|
<property name="selectionMode">
|
|
<enum>QAbstractItemView::SingleSelection</enum>
|
|
</property>
|
|
<property name="selectionBehavior">
|
|
<enum>QAbstractItemView::SelectItems</enum>
|
|
</property>
|
|
<property name="textElideMode">
|
|
<enum>Qt::ElideMiddle</enum>
|
|
</property>
|
|
<property name="wordWrap">
|
|
<bool>false</bool>
|
|
</property>
|
|
<attribute name="verticalHeaderMinimumSectionSize">
|
|
<number>50</number>
|
|
</attribute>
|
|
<attribute name="verticalHeaderDefaultSectionSize">
|
|
<number>50</number>
|
|
</attribute>
|
|
</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>
|
|
</layout>
|
|
</widget>
|
|
<customwidgets>
|
|
<customwidget>
|
|
<class>ComboBox</class>
|
|
<extends>QPushButton</extends>
|
|
<header>qfluentwidgets</header>
|
|
</customwidget>
|
|
<customwidget>
|
|
<class>SubtitleLabel</class>
|
|
<extends>QLabel</extends>
|
|
<header>qfluentwidgets</header>
|
|
</customwidget>
|
|
<customwidget>
|
|
<class>TitleLabel</class>
|
|
<extends>QLabel</extends>
|
|
<header>qfluentwidgets</header>
|
|
</customwidget>
|
|
<customwidget>
|
|
<class>TableWidget</class>
|
|
<extends>QTableWidget</extends>
|
|
<header>qfluentwidgets</header>
|
|
</customwidget>
|
|
</customwidgets>
|
|
<resources/>
|
|
<connections/>
|
|
</ui>
|