|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<ui version="4.0">
|
|
|
|
<class>BanListOptionsDialog</class>
|
|
|
|
<widget class="QDialog" name="BanListOptionsDialog">
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>0</x>
|
|
|
|
<y>0</y>
|
|
|
|
<width>360</width>
|
|
|
|
<height>450</height>
|
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
<property name="windowTitle">
|
|
|
|
<string>List of banned IP addresses</string>
|
|
|
|
</property>
|
|
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
|
|
<item>
|
|
|
|
<widget class="QFrame" name="bannedIPBox">
|
|
|
|
<property name="enabled">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="autoFillBackground">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
<property name="frameShape">
|
|
|
|
<enum>QFrame::Panel</enum>
|
|
|
|
</property>
|
|
|
|
<property name="frameShadow">
|
|
|
|
<enum>QFrame::Raised</enum>
|
|
|
|
</property>
|
|
|
|
<property name="lineWidth">
|
|
|
|
<number>1</number>
|
|
|
|
</property>
|
|
|
|
<property name="midLineWidth">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<layout class="QVBoxLayout" name="verticalLayout_21">
|
|
|
|
<item>
|
|
|
|
<widget class="QTreeView" name="bannedIPList">
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="selectionMode">
|
|
|
|
<enum>QAbstractItemView::ExtendedSelection</enum>
|
|
|
|
</property>
|
|
|
|
<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_18">
|
|
|
|
<item>
|
|
|
|
<widget class="QLineEdit" name="txtIP"/>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QPushButton" name="buttonBanIP">
|
|
|
|
<property name="text">
|
|
|
|
<string>Ban IP</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QPushButton" name="buttonDeleteIP">
|
|
|
|
<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>bannedIPList</tabstop>
|
|
|
|
<tabstop>txtIP</tabstop>
|
|
|
|
<tabstop>buttonBanIP</tabstop>
|
|
|
|
<tabstop>buttonDeleteIP</tabstop>
|
|
|
|
</tabstops>
|
|
|
|
<resources/>
|
|
|
|
<connections>
|
|
|
|
<connection>
|
|
|
|
<sender>buttonBox</sender>
|
|
|
|
<signal>rejected()</signal>
|
|
|
|
<receiver>BanListOptionsDialog</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>
|