2026年6月4日 commit
This commit is contained in:
+40
-37
@@ -157,49 +157,52 @@
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QFrame" name="frame4">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>781</width>
|
||||
<height>171</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>16777215</width>
|
||||
<height>295</height>
|
||||
</size>
|
||||
</property>
|
||||
<widget class="QScrollArea" name="scrollArea">
|
||||
<property name="styleSheet">
|
||||
<string>background-color:#CACCC9;</string>
|
||||
<string notr="true">QScrollBar::horizontal{
|
||||
height: 8px;
|
||||
}
|
||||
|
||||
QWidget{
|
||||
border: 0px solid;
|
||||
}
|
||||
|
||||
QScrollArea {
|
||||
padding-bottom: 1px;
|
||||
}
|
||||
|
||||
QScrollBar::handle:horizontal {
|
||||
background-color: rgb(175, 175, 175);
|
||||
border-radius:4px;
|
||||
}
|
||||
|
||||
/* 完全删除上下箭头(sub-line 和 add-line) */
|
||||
QScrollBar::sub-line:horizontal,
|
||||
QScrollBar::add-line:horizontal {
|
||||
height: 0px; /* 高度为0,看不见也点不到 */
|
||||
subcontrol-position: top; /* 保留位置以避免布局偏移 */
|
||||
}
|
||||
QScrollBar::sub-line:horizontal { top: 0px; }
|
||||
QScrollBar::add-line:horizontal { bottom: 0px; }</string>
|
||||
</property>
|
||||
<widget class="PrintTextDisplay" name="widgetPrintTextDisplay" native="true">
|
||||
<property name="verticalScrollBarPolicy">
|
||||
<enum>Qt::ScrollBarAlwaysOff</enum>
|
||||
</property>
|
||||
<property name="horizontalScrollBarPolicy">
|
||||
<enum>Qt::ScrollBarAsNeeded</enum>
|
||||
</property>
|
||||
<property name="widgetResizable">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<widget class="PrintTextDisplay" name="widgetPrintTextDisplay">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>9</x>
|
||||
<y>9</y>
|
||||
<width>761</width>
|
||||
<height>150</height>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>780</width>
|
||||
<height>177</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>746</width>
|
||||
<height>150</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>16777215</width>
|
||||
<height>150</height>
|
||||
</size>
|
||||
</property>
|
||||
</widget>
|
||||
</widget>
|
||||
</item>
|
||||
|
||||
Reference in New Issue
Block a user