[Pymoul-svn] SF.net SVN: pymoul: [141] pymoul/trunk/src/moul/qt
Status: Alpha
Brought to you by:
tiran
|
From: <ti...@us...> - 2007-02-05 16:17:10
|
Revision: 141
http://pymoul.svn.sourceforge.net/pymoul/?rev=141&view=rev
Author: tiran
Date: 2007-02-05 08:16:28 -0800 (Mon, 05 Feb 2007)
Log Message:
-----------
Use text browser instead of text edit to display text.
More about text
Modified Paths:
--------------
pymoul/trunk/src/moul/qt/localization.py
pymoul/trunk/src/moul/qt/mainwindow.py
pymoul/trunk/src/moul/qt/ui/mainwindow.py
pymoul/trunk/src/moul/qt/ui/mainwindow.ui
Modified: pymoul/trunk/src/moul/qt/localization.py
===================================================================
--- pymoul/trunk/src/moul/qt/localization.py 2007-02-05 14:51:30 UTC (rev 140)
+++ pymoul/trunk/src/moul/qt/localization.py 2007-02-05 16:16:28 UTC (rev 141)
@@ -137,7 +137,7 @@
names = ['language', 'age', 'set', 'element', 'doc']
for name in names[names.index(name):]:
if name == 'doc':
- qobj = self.te_doc_view
+ qobj = self.tb_journal_view
else:
qobj = getattr(self.context, 'cb_doc_%s' % name)
qobj.clear()
@@ -190,5 +190,5 @@
element = self._documents_state['elements'][idx-1]
translation = tr[(lang, age, set, element)]
qstr = QtCore.QString(translation)
- self.te_doc_view.setPlainText(qstr)
- self.te_doc_view.setEnabled(True)
+ self.tb_journal_view.setPlainText(qstr)
+ self.tb_journal_view.setEnabled(True)
Modified: pymoul/trunk/src/moul/qt/mainwindow.py
===================================================================
--- pymoul/trunk/src/moul/qt/mainwindow.py 2007-02-05 14:51:30 UTC (rev 140)
+++ pymoul/trunk/src/moul/qt/mainwindow.py 2007-02-05 16:16:28 UTC (rev 141)
@@ -96,6 +96,23 @@
self.on_moulIsRunning)
self._moulrunning_thread.startChecker(5.0) # check now and every 5 seconds
+ about = self.trUtf8("""
+<center>
+<h3>Tool for Myst Online : Uru Live</h3>
+
+<p>(c) 2007 Christian Heimes</p>
+
+<p><a href="http://pymoul.sourceforge.net">http://pymoul.sourceforge.net</a></p>
+</center>
+
+<p align="justify">If you like the tool please consider to <a href="%1">donate</a> some money to sponsor my work. The tool is created in my free time as an open source project. You can sent money to my PayPal account using your PayPal account, credit card or bank account.</p>
+
+<p>sincerely yours<br>
+Tiran [KI: #00025784]</p>
+ """)
+ about.arg("https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=christian%40cheimes%2ede&item_name=Donate%20for%20Tiran%27s%20open%20source%20activities&page_style=PayPal&no_shipping=2&cn=Your%20note%20for%20me&tax=0¤cy_code=EUR&lc=DE&bn=PP%2dDonationsBF&charset=UTF%2d8")
+ self.tb_abouttext.setHtml(about)
+
def on_moulIsRunning(self, boolean):
"""
@qtslot moulIsRunning(bool): notify if moul is running
@@ -274,7 +291,7 @@
# ************************************************************************
# about tab
def _about_init(self):
- self.te_license.setPlainText(metadata.LICENSE)
+ self.tb_license.setPlainText(metadata.LICENSE)
# ************************************************************************
# time zones
@@ -344,28 +361,28 @@
def on_pingthread_started(self):
self.button_ping.setEnabled(False)
- self.text_ping.clear()
+ self.tb_ping_view.clear()
def on_pingthread_done(self):
self.button_ping.setEnabled(True)
def on_pingthread_server(self, name):
pass
- #self.text_ping.insertPlainText("%s ... " % name)
+ #self.tb_ping_view.insertPlainText("%s ... " % name)
def on_pingthread_dns(self, name, time):
- self.text_ping.insertPlainText("%s ... DNS: %0.3f " % (name, time))
+ self.tb_ping_view.insertPlainText("%s ... DNS: %0.3f " % (name, time))
def on_pingthread_ping(self, name, time):
- self.text_ping.insertPlainText("PING: %0.3f\n" % time)
+ self.tb_ping_view.insertPlainText("PING: %0.3f\n" % time)
def on_pingthread_dnserror(self, name, errcode, errmsg):
LOG.error('dns error: %s, %i, %s' % (name, errcode, errmsg))
- self.text_ping.insertPlainText("%s ... DNS error: %s\n" % (name, errmsg))
+ self.tb_ping_view.insertPlainText("%s ... DNS error: %s\n" % (name, errmsg))
def on_pingthread_pingerror(self, name, errcode, errmsg):
LOG.error('ping error: %s, %i, %s' % (name, errcode, errmsg))
- self.text_ping.insertPlainText("PING error: %s\n" % errmsg)
+ self.tb_ping_view.insertPlainText("PING error: %s\n" % errmsg)
@pyqtSignature("bool")
def on_button_ping_clicked(self, ignore=False):
Modified: pymoul/trunk/src/moul/qt/ui/mainwindow.py
===================================================================
--- pymoul/trunk/src/moul/qt/ui/mainwindow.py 2007-02-05 14:51:30 UTC (rev 140)
+++ pymoul/trunk/src/moul/qt/ui/mainwindow.py 2007-02-05 16:16:28 UTC (rev 141)
@@ -2,7 +2,7 @@
# Form implementation generated from reading ui file './src/moul/qt/ui/mainwindow.ui'
#
-# Created: Mon Feb 5 15:25:54 2007
+# Created: Mon Feb 5 17:13:00 2007
# by: PyQt4 UI code generator 4.1.1
#
# WARNING! All changes made in this file will be lost!
@@ -738,16 +738,15 @@
self.gb_servers.setGeometry(QtCore.QRect(10,0,451,401))
self.gb_servers.setObjectName("gb_servers")
- self.text_ping = QtGui.QTextEdit(self.gb_servers)
- self.text_ping.setGeometry(QtCore.QRect(10,20,431,341))
- self.text_ping.setVerticalScrollBarPolicy(QtCore.Qt.ScrollBarAsNeeded)
- self.text_ping.setHorizontalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOff)
- self.text_ping.setReadOnly(True)
- self.text_ping.setObjectName("text_ping")
-
self.button_ping = QtGui.QPushButton(self.gb_servers)
self.button_ping.setGeometry(QtCore.QRect(370,370,75,24))
self.button_ping.setObjectName("button_ping")
+
+ self.tb_ping_view = QtGui.QTextBrowser(self.gb_servers)
+ self.tb_ping_view.setGeometry(QtCore.QRect(10,20,431,341))
+ self.tb_ping_view.setTextInteractionFlags(QtCore.Qt.TextSelectableByMouse)
+ self.tb_ping_view.setOpenExternalLinks(True)
+ self.tb_ping_view.setObjectName("tb_ping_view")
self.tabwidget.addTab(self.tab_ping,"")
self.tab_browse = QtGui.QWidget()
@@ -765,14 +764,6 @@
self.groupBox_5.setGeometry(QtCore.QRect(10,0,451,371))
self.groupBox_5.setObjectName("groupBox_5")
- self.te_chatlog_view = QtGui.QTextEdit(self.groupBox_5)
- self.te_chatlog_view.setGeometry(QtCore.QRect(10,50,431,311))
- self.te_chatlog_view.setUndoRedoEnabled(False)
- self.te_chatlog_view.setReadOnly(True)
- self.te_chatlog_view.setAcceptRichText(False)
- self.te_chatlog_view.setTextInteractionFlags(QtCore.Qt.TextSelectableByMouse)
- self.te_chatlog_view.setObjectName("te_chatlog_view")
-
self.cb_chatlog = QtGui.QComboBox(self.groupBox_5)
self.cb_chatlog.setGeometry(QtCore.QRect(70,20,323,22))
@@ -782,6 +773,12 @@
sizePolicy.setHeightForWidth(self.cb_chatlog.sizePolicy().hasHeightForWidth())
self.cb_chatlog.setSizePolicy(sizePolicy)
self.cb_chatlog.setObjectName("cb_chatlog")
+
+ self.tb_chatlog_view = QtGui.QTextBrowser(self.groupBox_5)
+ self.tb_chatlog_view.setGeometry(QtCore.QRect(10,50,431,311))
+ self.tb_chatlog_view.setTextInteractionFlags(QtCore.Qt.TextSelectableByMouse)
+ self.tb_chatlog_view.setOpenExternalLinks(True)
+ self.tb_chatlog_view.setObjectName("tb_chatlog_view")
self.tabWidget.addTab(self.tab_sub_chatlogs,"")
self.tab_sub_journals = QtGui.QWidget()
@@ -853,12 +850,11 @@
self.lb_doc_status.setObjectName("lb_doc_status")
self.gridlayout2.addWidget(self.lb_doc_status,1,2,3,1)
- self.te_doc_view = QtGui.QTextEdit(self.gb_documents)
- self.te_doc_view.setGeometry(QtCore.QRect(10,140,431,221))
- self.te_doc_view.setUndoRedoEnabled(False)
- self.te_doc_view.setReadOnly(True)
- self.te_doc_view.setTextInteractionFlags(QtCore.Qt.TextSelectableByMouse)
- self.te_doc_view.setObjectName("te_doc_view")
+ self.tb_journal_view = QtGui.QTextBrowser(self.gb_documents)
+ self.tb_journal_view.setGeometry(QtCore.QRect(10,140,431,221))
+ self.tb_journal_view.setTextInteractionFlags(QtCore.Qt.TextSelectableByMouse)
+ self.tb_journal_view.setOpenExternalLinks(True)
+ self.tb_journal_view.setObjectName("tb_journal_view")
self.tabWidget.addTab(self.tab_sub_journals,"")
self.tabwidget.addTab(self.tab_browse,"")
@@ -872,28 +868,21 @@
self.tab_sub_about = QtGui.QWidget()
self.tab_sub_about.setObjectName("tab_sub_about")
- self.label_6 = QtGui.QLabel(self.tab_sub_about)
- self.label_6.setGeometry(QtCore.QRect(20,10,431,351))
- self.label_6.setTextFormat(QtCore.Qt.PlainText)
- self.label_6.setAlignment(QtCore.Qt.AlignCenter)
- self.label_6.setObjectName("label_6")
+ self.tb_abouttext = QtGui.QTextBrowser(self.tab_sub_about)
+ self.tb_abouttext.setGeometry(QtCore.QRect(10,10,451,361))
+ self.tb_abouttext.setTextInteractionFlags(QtCore.Qt.TextBrowserInteraction)
+ self.tb_abouttext.setOpenExternalLinks(True)
+ self.tb_abouttext.setObjectName("tb_abouttext")
self.tabwidget_about.addTab(self.tab_sub_about,"")
self.tab_sub_license = QtGui.QWidget()
self.tab_sub_license.setObjectName("tab_sub_license")
- self.te_license = QtGui.QTextEdit(self.tab_sub_license)
- self.te_license.setGeometry(QtCore.QRect(10,10,446,361))
-
- font = QtGui.QFont(self.te_license.font())
- font.setPointSize(7)
- self.te_license.setFont(font)
- self.te_license.setAcceptDrops(False)
- self.te_license.setHorizontalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOff)
- self.te_license.setUndoRedoEnabled(False)
- self.te_license.setReadOnly(True)
- self.te_license.setTextInteractionFlags(QtCore.Qt.TextSelectableByMouse)
- self.te_license.setObjectName("te_license")
+ self.tb_license = QtGui.QTextBrowser(self.tab_sub_license)
+ self.tb_license.setGeometry(QtCore.QRect(10,10,451,361))
+ self.tb_license.setTextInteractionFlags(QtCore.Qt.TextSelectableByMouse)
+ self.tb_license.setOpenExternalLinks(True)
+ self.tb_license.setObjectName("tb_license")
self.tabwidget_about.addTab(self.tab_sub_license,"")
self.tabwidget.addTab(self.tab_about,"")
@@ -978,18 +967,14 @@
self.tab_sub_settings.setTabText(self.tab_sub_settings.indexOf(self.tab_audio), QtGui.QApplication.translate("MainWindow", "Audio", None, QtGui.QApplication.UnicodeUTF8))
self.tabwidget.setTabText(self.tabwidget.indexOf(self.tab_settings), QtGui.QApplication.translate("MainWindow", "Settings", None, QtGui.QApplication.UnicodeUTF8))
self.gb_servers.setTitle(QtGui.QApplication.translate("MainWindow", "Ping servers", None, QtGui.QApplication.UnicodeUTF8))
- self.text_ping.setHtml(QtGui.QApplication.translate("MainWindow", "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
- "p, li { white-space: pre-wrap; }\n"
- "</style></head><body style=\" font-family:\'Sans Serif\'; font-size:9pt; font-weight:400; font-style:normal; text-decoration:none;\">\n"
- "<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:8pt;\"></p></body></html>", None, QtGui.QApplication.UnicodeUTF8))
self.button_ping.setText(QtGui.QApplication.translate("MainWindow", "Ping", None, QtGui.QApplication.UnicodeUTF8))
self.tabwidget.setTabText(self.tabwidget.indexOf(self.tab_ping), QtGui.QApplication.translate("MainWindow", "Servers", None, QtGui.QApplication.UnicodeUTF8))
self.groupBox_5.setTitle(QtGui.QApplication.translate("MainWindow", "Read chatlogs", None, QtGui.QApplication.UnicodeUTF8))
- self.te_chatlog_view.setHtml(QtGui.QApplication.translate("MainWindow", "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
+ self.cb_chatlog.addItem(QtGui.QApplication.translate("MainWindow", "Not implemented", None, QtGui.QApplication.UnicodeUTF8))
+ self.tb_chatlog_view.setHtml(QtGui.QApplication.translate("MainWindow", "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
"p, li { white-space: pre-wrap; }\n"
"</style></head><body style=\" font-family:\'Sans Serif\'; font-size:9pt; font-weight:400; font-style:normal; text-decoration:none;\">\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">Not implemented</p></body></html>", None, QtGui.QApplication.UnicodeUTF8))
- self.cb_chatlog.addItem(QtGui.QApplication.translate("MainWindow", "Not implemented", None, QtGui.QApplication.UnicodeUTF8))
self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_sub_chatlogs), QtGui.QApplication.translate("MainWindow", "Chat logs", None, QtGui.QApplication.UnicodeUTF8))
self.gb_documents.setTitle(QtGui.QApplication.translate("MainWindow", "Browse journals and notes", None, QtGui.QApplication.UnicodeUTF8))
self.label.setText(QtGui.QApplication.translate("MainWindow", "Language", None, QtGui.QApplication.UnicodeUTF8))
@@ -1000,12 +985,15 @@
self.lb_doc_status.setText(QtGui.QApplication.translate("MainWindow", "TextLabel", None, QtGui.QApplication.UnicodeUTF8))
self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_sub_journals), QtGui.QApplication.translate("MainWindow", "Journals", None, QtGui.QApplication.UnicodeUTF8))
self.tabwidget.setTabText(self.tabwidget.indexOf(self.tab_browse), QtGui.QApplication.translate("MainWindow", "Browse", None, QtGui.QApplication.UnicodeUTF8))
- self.label_6.setText(QtGui.QApplication.translate("MainWindow", "Tool for Myst Online : Uru Live\n"
- "\n"
- "(c) 2007 by Christian Heimes\n"
- "\n"
- "http://pymoul.sourceforge.net/", None, QtGui.QApplication.UnicodeUTF8))
+ self.tb_abouttext.setHtml(QtGui.QApplication.translate("MainWindow", "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
+ "p, li { white-space: pre-wrap; }\n"
+ "</style></head><body style=\" font-family:\'Sans Serif\'; font-size:9pt; font-weight:400; font-style:normal; text-decoration:none;\">\n"
+ "<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"></p></body></html>", None, QtGui.QApplication.UnicodeUTF8))
self.tabwidget_about.setTabText(self.tabwidget_about.indexOf(self.tab_sub_about), QtGui.QApplication.translate("MainWindow", "About pyMoul", None, QtGui.QApplication.UnicodeUTF8))
+ self.tb_license.setHtml(QtGui.QApplication.translate("MainWindow", "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
+ "p, li { white-space: pre-wrap; }\n"
+ "</style></head><body style=\" font-family:\'Sans Serif\'; font-size:9pt; font-weight:400; font-style:normal; text-decoration:none;\">\n"
+ "<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"></p></body></html>", None, QtGui.QApplication.UnicodeUTF8))
self.tabwidget_about.setTabText(self.tabwidget_about.indexOf(self.tab_sub_license), QtGui.QApplication.translate("MainWindow", "License", None, QtGui.QApplication.UnicodeUTF8))
self.tabwidget.setTabText(self.tabwidget.indexOf(self.tab_about), QtGui.QApplication.translate("MainWindow", "About", None, QtGui.QApplication.UnicodeUTF8))
Modified: pymoul/trunk/src/moul/qt/ui/mainwindow.ui
===================================================================
--- pymoul/trunk/src/moul/qt/ui/mainwindow.ui 2007-02-05 14:51:30 UTC (rev 140)
+++ pymoul/trunk/src/moul/qt/ui/mainwindow.ui 2007-02-05 16:16:28 UTC (rev 141)
@@ -1574,31 +1574,6 @@
<property name="title" >
<string>Ping servers</string>
</property>
- <widget class="QTextEdit" name="text_ping" >
- <property name="geometry" >
- <rect>
- <x>10</x>
- <y>20</y>
- <width>431</width>
- <height>341</height>
- </rect>
- </property>
- <property name="verticalScrollBarPolicy" >
- <enum>Qt::ScrollBarAsNeeded</enum>
- </property>
- <property name="horizontalScrollBarPolicy" >
- <enum>Qt::ScrollBarAlwaysOff</enum>
- </property>
- <property name="readOnly" >
- <bool>true</bool>
- </property>
- <property name="html" >
- <string><html><head><meta name="qrichtext" content="1" /><style type="text/css">
-p, li { white-space: pre-wrap; }
-</style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal; text-decoration:none;">
-<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'MS Shell Dlg 2'; font-size:8pt;"></p></body></html></string>
- </property>
- </widget>
<widget class="QPushButton" name="button_ping" >
<property name="geometry" >
<rect>
@@ -1612,6 +1587,22 @@
<string>Ping</string>
</property>
</widget>
+ <widget class="QTextBrowser" name="tb_ping_view" >
+ <property name="geometry" >
+ <rect>
+ <x>10</x>
+ <y>20</y>
+ <width>431</width>
+ <height>341</height>
+ </rect>
+ </property>
+ <property name="textInteractionFlags" >
+ <enum>Qt::TextSelectableByMouse</enum>
+ </property>
+ <property name="openExternalLinks" >
+ <bool>true</bool>
+ </property>
+ </widget>
</widget>
</widget>
<widget class="QWidget" name="tab_browse" >
@@ -1649,34 +1640,6 @@
<property name="title" >
<string>Read chatlogs</string>
</property>
- <widget class="QTextEdit" name="te_chatlog_view" >
- <property name="geometry" >
- <rect>
- <x>10</x>
- <y>50</y>
- <width>431</width>
- <height>311</height>
- </rect>
- </property>
- <property name="undoRedoEnabled" >
- <bool>false</bool>
- </property>
- <property name="readOnly" >
- <bool>true</bool>
- </property>
- <property name="html" >
- <string><html><head><meta name="qrichtext" content="1" /><style type="text/css">
-p, li { white-space: pre-wrap; }
-</style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal; text-decoration:none;">
-<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Not implemented</p></body></html></string>
- </property>
- <property name="acceptRichText" >
- <bool>false</bool>
- </property>
- <property name="textInteractionFlags" >
- <enum>Qt::TextSelectableByMouse</enum>
- </property>
- </widget>
<widget class="QComboBox" name="cb_chatlog" >
<property name="geometry" >
<rect>
@@ -1700,6 +1663,28 @@
</property>
</item>
</widget>
+ <widget class="QTextBrowser" name="tb_chatlog_view" >
+ <property name="geometry" >
+ <rect>
+ <x>10</x>
+ <y>50</y>
+ <width>431</width>
+ <height>311</height>
+ </rect>
+ </property>
+ <property name="html" >
+ <string><html><head><meta name="qrichtext" content="1" /><style type="text/css">
+p, li { white-space: pre-wrap; }
+</style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal; text-decoration:none;">
+<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Not implemented</p></body></html></string>
+ </property>
+ <property name="textInteractionFlags" >
+ <enum>Qt::TextSelectableByMouse</enum>
+ </property>
+ <property name="openExternalLinks" >
+ <bool>true</bool>
+ </property>
+ </widget>
</widget>
</widget>
<widget class="QWidget" name="tab_sub_journals" >
@@ -1838,7 +1823,7 @@
</item>
</layout>
</widget>
- <widget class="QTextEdit" name="te_doc_view" >
+ <widget class="QTextBrowser" name="tb_journal_view" >
<property name="geometry" >
<rect>
<x>10</x>
@@ -1847,15 +1832,12 @@
<height>221</height>
</rect>
</property>
- <property name="undoRedoEnabled" >
- <bool>false</bool>
- </property>
- <property name="readOnly" >
- <bool>true</bool>
- </property>
<property name="textInteractionFlags" >
<enum>Qt::TextSelectableByMouse</enum>
</property>
+ <property name="openExternalLinks" >
+ <bool>true</bool>
+ </property>
</widget>
</widget>
</widget>
@@ -1881,27 +1863,26 @@
<attribute name="title" >
<string>About pyMoul</string>
</attribute>
- <widget class="QLabel" name="label_6" >
+ <widget class="QTextBrowser" name="tb_abouttext" >
<property name="geometry" >
<rect>
- <x>20</x>
+ <x>10</x>
<y>10</y>
- <width>431</width>
- <height>351</height>
+ <width>451</width>
+ <height>361</height>
</rect>
</property>
- <property name="text" >
- <string>Tool for Myst Online : Uru Live
-
-(c) 2007 by Christian Heimes
-
-http://pymoul.sourceforge.net/</string>
+ <property name="html" >
+ <string><html><head><meta name="qrichtext" content="1" /><style type="text/css">
+p, li { white-space: pre-wrap; }
+</style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal; text-decoration:none;">
+<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"></p></body></html></string>
</property>
- <property name="textFormat" >
- <enum>Qt::PlainText</enum>
+ <property name="textInteractionFlags" >
+ <enum>Qt::TextBrowserInteraction</enum>
</property>
- <property name="alignment" >
- <set>Qt::AlignCenter</set>
+ <property name="openExternalLinks" >
+ <bool>true</bool>
</property>
</widget>
</widget>
@@ -1909,35 +1890,27 @@
<attribute name="title" >
<string>License</string>
</attribute>
- <widget class="QTextEdit" name="te_license" >
+ <widget class="QTextBrowser" name="tb_license" >
<property name="geometry" >
<rect>
<x>10</x>
<y>10</y>
- <width>446</width>
+ <width>451</width>
<height>361</height>
</rect>
</property>
- <property name="font" >
- <font>
- <pointsize>7</pointsize>
- </font>
+ <property name="html" >
+ <string><html><head><meta name="qrichtext" content="1" /><style type="text/css">
+p, li { white-space: pre-wrap; }
+</style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal; text-decoration:none;">
+<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"></p></body></html></string>
</property>
- <property name="acceptDrops" >
- <bool>false</bool>
- </property>
- <property name="horizontalScrollBarPolicy" >
- <enum>Qt::ScrollBarAlwaysOff</enum>
- </property>
- <property name="undoRedoEnabled" >
- <bool>false</bool>
- </property>
- <property name="readOnly" >
- <bool>true</bool>
- </property>
<property name="textInteractionFlags" >
<enum>Qt::TextSelectableByMouse</enum>
</property>
+ <property name="openExternalLinks" >
+ <bool>true</bool>
+ </property>
</widget>
</widget>
</widget>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|