diff options
author | Maurice Kalinowski <maurice.kalinowski@nokia.com> | 2009-07-13 08:32:46 +0200 |
---|---|---|
committer | Maurice Kalinowski <maurice.kalinowski@nokia.com> | 2009-07-27 20:55:19 +0200 |
commit | 3629e091c448f4a7418f3fd7dad830c5b4df8933 (patch) | |
tree | 827af3a3992b8fa2eaf8e3770ca74b4a7888d311 /src/plugins/cpaster/pastebindotcomsettings.ui | |
parent | 6e38027b4ff72ac177f91e34f03326a92f924d77 (diff) |
refactor and add support for pastebin.com
- created protocol class as basis for different paste servers
- removed custom classes and replaced functionality with
simple QHttp* usage
- removed poster and fetcher classes copied from cpaster
application. It not getting updated anyways in creator
- Known issue: Listing does not update, when user changes
protocol
- TODO: add pastebin.ca support. Code is done already, just
needs to be placed inside plugin.
Diffstat (limited to 'src/plugins/cpaster/pastebindotcomsettings.ui')
-rw-r--r-- | src/plugins/cpaster/pastebindotcomsettings.ui | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/src/plugins/cpaster/pastebindotcomsettings.ui b/src/plugins/cpaster/pastebindotcomsettings.ui new file mode 100644 index 0000000000..10a19e05d1 --- /dev/null +++ b/src/plugins/cpaster/pastebindotcomsettings.ui @@ -0,0 +1,66 @@ +<?xml version="1.0" encoding="UTF-8"?> +<ui version="4.0"> + <class>PasteBinComSettingsWidget</class> + <widget class="QWidget" name="PasteBinComSettingsWidget"> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>400</width> + <height>300</height> + </rect> + </property> + <property name="windowTitle"> + <string>Form</string> + </property> + <layout class="QVBoxLayout" name="verticalLayout"> + <item> + <layout class="QFormLayout" name="formLayout"> + <item row="0" column="0"> + <widget class="QLabel" name="label"> + <property name="text"> + <string>Server Prefix:</string> + </property> + </widget> + </item> + <item row="0" column="1"> + <widget class="QLineEdit" name="lineEdit"/> + </item> + <item row="1" column="1"> + <widget class="QLabel" name="label_2"> + <property name="text"> + <string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'MS Shell Dlg 2'; font-size:8.25pt; font-weight:400; font-style:normal;"> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><a href="http://pastebin.com"><span style=" text-decoration: underline; color:#0000ff;">pastebin.com</span></a><span style=" font-size:8pt;"> allows to send posts to custom subdomains (eg. qtcreator.pastebin.com). Fill in the desired prefix.</span></p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:8pt;">Note that the plugin will use this for posting as well as fetching.</span></p></body></html></string> + </property> + <property name="textFormat"> + <enum>Qt::RichText</enum> + </property> + <property name="wordWrap"> + <bool>true</bool> + </property> + </widget> + </item> + </layout> + </item> + <item> + <spacer name="verticalSpacer"> + <property name="orientation"> + <enum>Qt::Vertical</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>20</width> + <height>135</height> + </size> + </property> + </spacer> + </item> + </layout> + </widget> + <resources/> + <connections/> +</ui> |