Some work about adaptive color scheme for Web UI (PR #19901)
http://[316:c51a:62a3:8b9::4]/d4708/qBittorrent/src/branch/adaptive-webui
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
114 lines
3.1 KiB
114 lines
3.1 KiB
<?xml version="1.0" encoding="UTF-8"?> |
|
<ui version="4.0"> |
|
<class>IPSubnetWhitelistOptionsDialog</class> |
|
<widget class="QDialog" name="IPSubnetWhitelistOptionsDialog"> |
|
<property name="geometry"> |
|
<rect> |
|
<x>0</x> |
|
<y>0</y> |
|
<width>360</width> |
|
<height>450</height> |
|
</rect> |
|
</property> |
|
<property name="windowTitle"> |
|
<string>List of whitelisted IP subnets</string> |
|
</property> |
|
<layout class="QVBoxLayout" name="verticalLayout"> |
|
<item> |
|
<widget class="QFrame" name="whitelistedIPSubnetBox"> |
|
<property name="autoFillBackground"> |
|
<bool>true</bool> |
|
</property> |
|
<property name="frameShape"> |
|
<enum>QFrame::Panel</enum> |
|
</property> |
|
<property name="frameShadow"> |
|
<enum>QFrame::Raised</enum> |
|
</property> |
|
<layout class="QVBoxLayout" name="verticalLayout_31"> |
|
<item> |
|
<widget class="QTreeView" name="whitelistedIPSubnetList"> |
|
<property name="rootIsDecorated"> |
|
<bool>false</bool> |
|
</property> |
|
<property name="uniformRowHeights"> |
|
<bool>true</bool> |
|
</property> |
|
<property name="itemsExpandable"> |
|
<bool>false</bool> |
|
</property> |
|
<property name="sortingEnabled"> |
|
<bool>true</bool> |
|
</property> |
|
<attribute name="headerVisible"> |
|
<bool>false</bool> |
|
</attribute> |
|
</widget> |
|
</item> |
|
<item> |
|
<layout class="QHBoxLayout" name="horizontalLayout"> |
|
<item> |
|
<widget class="QLineEdit" name="txtIPSubnet"> |
|
<property name="placeholderText"> |
|
<string>Example: 172.17.32.0/24, fdff:ffff:c8::/40</string> |
|
</property> |
|
</widget> |
|
</item> |
|
</layout> |
|
</item> |
|
<item> |
|
<layout class="QHBoxLayout" name="horizontalLayout_12"> |
|
<item> |
|
<widget class="QPushButton" name="buttonWhitelistIPSubnet"> |
|
<property name="text"> |
|
<string>Add subnet</string> |
|
</property> |
|
</widget> |
|
</item> |
|
<item> |
|
<widget class="QPushButton" name="buttonDeleteIPSubnet"> |
|
<property name="text"> |
|
<string>Delete</string> |
|
</property> |
|
</widget> |
|
</item> |
|
</layout> |
|
</item> |
|
</layout> |
|
</widget> |
|
</item> |
|
<item> |
|
<widget class="QDialogButtonBox" name="buttonBox"> |
|
<property name="standardButtons"> |
|
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> |
|
</property> |
|
</widget> |
|
</item> |
|
</layout> |
|
</widget> |
|
<tabstops> |
|
<tabstop>whitelistedIPSubnetList</tabstop> |
|
<tabstop>txtIPSubnet</tabstop> |
|
<tabstop>buttonWhitelistIPSubnet</tabstop> |
|
<tabstop>buttonDeleteIPSubnet</tabstop> |
|
</tabstops> |
|
<resources/> |
|
<connections> |
|
<connection> |
|
<sender>buttonBox</sender> |
|
<signal>rejected()</signal> |
|
<receiver>IPSubnetWhitelistOptionsDialog</receiver> |
|
<slot>reject()</slot> |
|
<hints> |
|
<hint type="sourcelabel"> |
|
<x>179</x> |
|
<y>427</y> |
|
</hint> |
|
<hint type="destinationlabel"> |
|
<x>179</x> |
|
<y>224</y> |
|
</hint> |
|
</hints> |
|
</connection> |
|
</connections> |
|
</ui>
|
|
|