217 lines
6.3 KiB
XML
217 lines
6.3 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>blacklist</class>
|
|
<widget class="QWidget" name="blacklist">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>819</width>
|
|
<height>295</height>
|
|
</rect>
|
|
</property>
|
|
<widget class="QToolBar" name="blacklistContextMenuToolbar">
|
|
<action name="actionBlacklistNew">
|
|
<property name="text">
|
|
<string>Add new entry</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionBlacklistDelete">
|
|
<property name="text">
|
|
<string>Delete</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionBlacklistClipboard">
|
|
<property name="text">
|
|
<string>Copy address to clipboard</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionBlacklistEnable">
|
|
<property name="text">
|
|
<string>Enable</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionBlacklistDisable">
|
|
<property name="text">
|
|
<string>Disable</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionBlacklistSetAvatar">
|
|
<property name="text">
|
|
<string>Set avatar...</string>
|
|
</property>
|
|
</action>
|
|
<addaction name="actionBlacklistNew"/>
|
|
<addaction name="actionBlacklistDelete"/>
|
|
<addaction name="actionBlacklistClipboard"/>
|
|
<addaction name="actionBlacklistEnable"/>
|
|
<addaction name="actionBlacklistDisable"/>
|
|
<addaction name="actionBlacklistSetAvatar"/>
|
|
</widget>
|
|
<layout class="QGridLayout" name="gridLayout_6">
|
|
<item row="0" column="0" colspan="2">
|
|
<widget class="QRadioButton" name="radioButtonBlacklist">
|
|
<property name="text">
|
|
<string>Use a Blacklist (Allow all incoming messages except those on the Blacklist)</string>
|
|
</property>
|
|
<property name="checked">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0" colspan="2">
|
|
<widget class="QRadioButton" name="radioButtonWhitelist">
|
|
<property name="text">
|
|
<string>Use a Whitelist (Block all incoming messages except those on the Whitelist)</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="0">
|
|
<widget class="QPushButton" name="pushButtonAddBlacklist">
|
|
<property name="text">
|
|
<string>Add new entry</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="1">
|
|
<spacer name="horizontalSpacer_8">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>689</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
<item row="3" column="0" colspan="2">
|
|
<widget class="STableWidget" name="tableWidgetBlacklist">
|
|
<property name="alternatingRowColors">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="selectionMode">
|
|
<enum>QAbstractItemView::SingleSelection</enum>
|
|
</property>
|
|
<property name="selectionBehavior">
|
|
<enum>QAbstractItemView::SelectRows</enum>
|
|
</property>
|
|
<property name="sortingEnabled">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="contextMenuPolicy">
|
|
<enum>Qt::CustomContextMenu</enum>
|
|
</property>
|
|
<attribute name="horizontalHeaderCascadingSectionResizes">
|
|
<bool>true</bool>
|
|
</attribute>
|
|
<attribute name="horizontalHeaderDefaultSectionSize">
|
|
<number>400</number>
|
|
</attribute>
|
|
<attribute name="horizontalHeaderHighlightSections">
|
|
<bool>false</bool>
|
|
</attribute>
|
|
<attribute name="horizontalHeaderShowSortIndicator" stdset="0">
|
|
<bool>false</bool>
|
|
</attribute>
|
|
<attribute name="horizontalHeaderStretchLastSection">
|
|
<bool>true</bool>
|
|
</attribute>
|
|
<attribute name="verticalHeaderVisible">
|
|
<bool>false</bool>
|
|
</attribute>
|
|
<column>
|
|
<property name="text">
|
|
<string>Name or Label</string>
|
|
</property>
|
|
</column>
|
|
<column>
|
|
<property name="text">
|
|
<string>Address</string>
|
|
</property>
|
|
</column>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<customwidgets>
|
|
<customwidget>
|
|
<class>STableWidget</class>
|
|
<extends>QTableWidget</extends>
|
|
<header>bitmessageqt/settingsmixin.h</header>
|
|
</customwidget>
|
|
</customwidgets>
|
|
<resources>
|
|
<include location="bitmessage_icons.qrc"/>
|
|
</resources>
|
|
<connections>
|
|
<connection>
|
|
<sender>radioButtonBlacklist</sender>
|
|
<signal>clicked()</signal>
|
|
<receiver>blacklist</receiver>
|
|
<slot>click_radioButtonBlacklist</slot>
|
|
</connection>
|
|
<connection>
|
|
<sender>radioButtonWhitelist</sender>
|
|
<signal>clicked()</signal>
|
|
<receiver>blacklist</receiver>
|
|
<slot>click_radioButtonWhitelist</slot>
|
|
</connection>
|
|
<connection>
|
|
<sender>pushButtonAddBlacklist</sender>
|
|
<signal>clicked()</signal>
|
|
<receiver>blacklist</receiver>
|
|
<slot>click_pushButtonAddBlacklist</slot>
|
|
</connection>
|
|
<connection>
|
|
<sender>tableWidgetBlacklist</sender>
|
|
<signal>itemChanged(QTableWidgetItem*)</signal>
|
|
<receiver>blacklist</receiver>
|
|
<slot>tableWidgetBlacklistItemChanged</slot>
|
|
</connection>
|
|
<connection>
|
|
<sender>actionBlacklistNew</sender>
|
|
<signal>triggered()</signal>
|
|
<receiver>blacklist</receiver>
|
|
<slot>on_action_BlacklistNew</slot>
|
|
</connection>
|
|
<connection>
|
|
<sender>actionBlacklistDelete</sender>
|
|
<signal>triggered()</signal>
|
|
<receiver>blacklist</receiver>
|
|
<slot>on_action_BlacklistDelete</slot>
|
|
</connection>
|
|
<connection>
|
|
<sender>actionBlacklistClipboard</sender>
|
|
<signal>triggered()</signal>
|
|
<receiver>blacklist</receiver>
|
|
<slot>on_action_BlacklistClipboard</slot>
|
|
</connection>
|
|
<connection>
|
|
<sender>actionBlacklistEnable</sender>
|
|
<signal>triggered()</signal>
|
|
<receiver>blacklist</receiver>
|
|
<slot>on_action_BlacklistEnable</slot>
|
|
</connection>
|
|
<connection>
|
|
<sender>actionBlacklistDisable</sender>
|
|
<signal>triggered()</signal>
|
|
<receiver>blacklist</receiver>
|
|
<slot>on_action_BlacklistDisable</slot>
|
|
</connection>
|
|
<connection>
|
|
<sender>actionBlacklistSetAvatar</sender>
|
|
<signal>triggered()</signal>
|
|
<receiver>blacklist</receiver>
|
|
<slot>on_action_BlacklistSetAvatar</slot>
|
|
</connection>
|
|
<connection>
|
|
<sender>tableWidgetBlacklist</sender>
|
|
<signal>customContextMenuRequested(QPoint)</signal>
|
|
<receiver>blacklist</receiver>
|
|
<slot>on_context_menuBlacklist</slot>
|
|
</connection>
|
|
</connections>
|
|
</ui>
|