mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-21 11:16:35 +01:00
e471bfd5d4
- you can add subscriptions in AdBlock dialog or with abp: scheme links - however, AdBlock rules are not yet optimized for performance so you shouldn't add too much subscriptions performance optimizations will come in next commits - support for element hiding is still yet to come too closes #266
95 lines
2.3 KiB
XML
95 lines
2.3 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>AdBlockAddSubscriptionDialog</class>
|
|
<widget class="QDialog" name="AdBlockAddSubscriptionDialog">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>557</width>
|
|
<height>162</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>Add Subscription</string>
|
|
</property>
|
|
<layout class="QFormLayout" name="formLayout">
|
|
<item row="1" column="0" colspan="2">
|
|
<widget class="QComboBox" name="comboBox"/>
|
|
</item>
|
|
<item row="2" column="0">
|
|
<widget class="QLabel" name="label">
|
|
<property name="text">
|
|
<string>Title:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="1">
|
|
<widget class="QLineEdit" name="title"/>
|
|
</item>
|
|
<item row="3" column="0">
|
|
<widget class="QLabel" name="label_2">
|
|
<property name="text">
|
|
<string>Address:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="1">
|
|
<widget class="QLineEdit" name="url"/>
|
|
</item>
|
|
<item row="4" column="1">
|
|
<widget class="QDialogButtonBox" name="buttonBox">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="standardButtons">
|
|
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="0" colspan="2">
|
|
<widget class="QLabel" name="label_3">
|
|
<property name="text">
|
|
<string>Add new subscription to AdBlock:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<resources/>
|
|
<connections>
|
|
<connection>
|
|
<sender>buttonBox</sender>
|
|
<signal>accepted()</signal>
|
|
<receiver>AdBlockAddSubscriptionDialog</receiver>
|
|
<slot>accept()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>248</x>
|
|
<y>254</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>157</x>
|
|
<y>274</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>buttonBox</sender>
|
|
<signal>rejected()</signal>
|
|
<receiver>AdBlockAddSubscriptionDialog</receiver>
|
|
<slot>reject()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>316</x>
|
|
<y>260</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>286</x>
|
|
<y>274</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
</connections>
|
|
</ui>
|