[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: extragear/network/choqok/libchoqok/ui
From: Mehrdad Momeny <mehrdad.momeny () gmail ! com>
Date: 2010-03-31 23:20:00
Message-ID: 20100331232000.9ADC0AC888 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1109745 by momeny:
Cleaning on PostWidget view
M +6 -2 postwidget.cpp
--- trunk/extragear/network/choqok/libchoqok/ui/postwidget.cpp #1109744:1109745
@@ -74,12 +74,16 @@
//END UI contents;
};
-const QString PostWidget::Private::ownText ("<table \
width=\"100%\"><tr><td><p>%2</p></td><td width='5'><!-- EMPTY HAHA --></td><td \
width=\"48\">%1</td></tr> <tr><td style=\"font-size:small;\" \
align=\"right\">%3</td><td width='5'><!-- EMPTY HAHA --></td><td><!-- empty cell \
--></td></tr></table>");
-const QString PostWidget::Private::otherText ( "<table width=\"100%\"><tr><td \
width=\"48\">%1</td><td width='5'><!-- EMPTY HAHA \
--></td><td><p>%2</p></td></tr><tr><td><!-- empty cell --></td><td><!-- empty cell \
--></td><td style=\"font-size:small;\" align=\"right\">%3</td></tr></table>"); +const \
QString PostWidget::Private::ownText ("<table width=\"100%\" \
><tr><td><p>%2</p></td><td width=\"5\"><!-- empty --></td><td width=\"48\" \
> rowspan='2' align='right'>%1</td></tr><tr><td style=\"font-size:small;\" \
> align=\"right\" valign='bottom' >%3</td></tr></table>");
+
+const QString PostWidget::Private::otherText ( "<table height='100%' \
width=\"100%\"><tr><td rowspan=\"2\"\ +width=\"48\">%1</td><td width='5'><!-- EMPTY \
HAHA --></td><td><p>%2</p></td></tr><tr><td><!-- EMPTY HAHA --></td><td \
style=\"font-size:small;\" align=\"right\" width=\"100%\" \
valign='bottom'>%3</td></tr></table>"); +
const QString PostWidget::baseStyle ("KTextBrowser {border: 1px solid \
rgb(150,150,150);\ border-radius:10px;} KTextBrowser {color:%1; \
background-color:%2}\ KPushButton{border:0px}");
+
const QRegExp PostWidget::mUrlRegExp("((ftps?|https?)://[^\\s<>\"]+[^!,\\.\\s<>'\"\\)\\]])");
QString PostWidget::readStyle;
QString PostWidget::unreadStyle;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic