network stylesheet improvement

This commit is contained in:
xueyan hu
2021-12-24 11:00:44 +08:00
parent 917e9a11b2
commit 4b5e088d40
2 changed files with 32 additions and 20 deletions

View File

@@ -20,7 +20,26 @@
<string>Network Settings</string>
</property>
<property name="styleSheet">
<string notr="true"/>
<string notr="true">QTabWidget::pane {
border-top: 0px;
}
QTabBar::tab {
font-size:30px;
height:50px;
width:150px;
background:#4d4d4d;
border: 0px;
border-top-left-radius: 20%;
border-top-right-radius: 20%;
border-bottom-left-radius:0%;
border-bottom-right-radius:0%;
padding: 2px;
}
QTabBar::tab:selected, QTabBar::tab:hover {
border-bottom:5px solid #4a88c7;
background: #505050;}</string>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_5">
<item>
@@ -34,8 +53,11 @@
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QTabWidget" name="tabWidget">
<property name="enabled">
<bool>true</bool>
</property>
<property name="currentIndex">
<number>0</number>
<number>2</number>
</property>
<widget class="QWidget" name="tab">
<attribute name="title">
@@ -415,7 +437,11 @@
</property>
<layout class="QHBoxLayout" name="horizontalLayout_6">
<item>
<widget class="QPlainTextEdit" name="output"/>
<widget class="QPlainTextEdit" name="output">
<property name="enabled">
<bool>false</bool>
</property>
</widget>
</item>
</layout>
</widget>