diff options
author | Friedemann Kleint <Friedemann.Kleint@nokia.com> | 2010-03-29 14:54:25 +0200 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@nokia.com> | 2010-03-29 14:54:25 +0200 |
commit | 6903f13bf3f5e929c265310c67023090590daba0 (patch) | |
tree | 034fdc373f9bab6fdd43d2b349a9e76473930038 /src/plugins/cpaster/pasteview.ui | |
parent | 7a1546d48575d0cb5d63c77d14258ce524c0365a (diff) |
CPaster: Revive pastebin.com
-Pass simplified type based on mimetype to paste for highlighting.
-Remove QHttp from CodePaster and pastebin.com in favour of QNetwork.
-Implement new pastebin.com protocol
-Implement listing via parsing the HTML-page for pastebin.com
Diffstat (limited to 'src/plugins/cpaster/pasteview.ui')
-rw-r--r-- | src/plugins/cpaster/pasteview.ui | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/src/plugins/cpaster/pasteview.ui b/src/plugins/cpaster/pasteview.ui index 3efe66c7ce..b7764d29d2 100644 --- a/src/plugins/cpaster/pasteview.ui +++ b/src/plugins/cpaster/pasteview.ui @@ -38,7 +38,7 @@ </item> <item row="1" column="1"> <widget class="QLineEdit" name="uiUsername"> - <property name="text"> + <property name="placeholderText"> <string><Username></string> </property> </widget> @@ -55,7 +55,7 @@ </item> <item row="2" column="1"> <widget class="QLineEdit" name="uiDescription"> - <property name="text"> + <property name="placeholderText"> <string><Description></string> </property> </widget> @@ -83,7 +83,7 @@ <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;"> +</style></head><body style=" font-family:'DejaVu Sans'; font-size:10pt; 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;"><span style=" font-family:'Sans Serif'; font-size:9pt;">&lt;Comment&gt;</span></p></body></html></string> </property> </widget> @@ -133,7 +133,7 @@ p, li { white-space: pre-wrap; } </widget> </item> <item> - <widget class="QTextEdit" name="uiPatchView"> + <widget class="CodePaster::ColumnIndicatorTextEdit" name="uiPatchView"> <property name="sizePolicy"> <sizepolicy hsizetype="Expanding" vsizetype="Expanding"> <horstretch>0</horstretch> @@ -165,6 +165,13 @@ p, li { white-space: pre-wrap; } </item> </layout> </widget> + <customwidgets> + <customwidget> + <class>CodePaster::ColumnIndicatorTextEdit</class> + <extends>QTextEdit</extends> + <header>columnindicatortextedit.h</header> + </customwidget> + </customwidgets> <tabstops> <tabstop>uiUsername</tabstop> <tabstop>uiDescription</tabstop> |