summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Rettberg2019-03-28 22:36:39 +0100
committerSimon Rettberg2019-03-28 22:36:39 +0100
commitd618be2eb184060c2a4c2085cce82d23de4c1085 (patch)
treef0771435eb2741380b76e3c2466eb3a23856898b
parentAdd button to open beamergui (diff)
downloadvmchooser2-d618be2eb184060c2a4c2085cce82d23de4c1085.tar.gz
vmchooser2-d618be2eb184060c2a4c2085cce82d23de4c1085.tar.xz
vmchooser2-d618be2eb184060c2a4c2085cce82d23de4c1085.zip
No need to QTextBrowser, use QTextEditv23
-rw-r--r--src/ui/dialog.ui15
1 files changed, 12 insertions, 3 deletions
diff --git a/src/ui/dialog.ui b/src/ui/dialog.ui
index 751067b..b278b9e 100644
--- a/src/ui/dialog.ui
+++ b/src/ui/dialog.ui
@@ -127,7 +127,7 @@ margin-bottom:0px;}</string>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_9">
<item>
- <widget class="QTextBrowser" name="helpTextBrowser">
+ <widget class="QTextEdit" name="helpTextBrowser">
<property name="html">
<string notr="true">&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
@@ -135,6 +135,9 @@ p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'Sans';&quot;&gt;Loading...&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
+ <property name="readOnly">
+ <bool>true</bool>
+ </property>
</widget>
</item>
</layout>
@@ -159,7 +162,7 @@ p, li { white-space: pre-wrap; }
</property>
<layout class="QHBoxLayout" name="horizontalLayout_10">
<item>
- <widget class="QTextBrowser" name="newsTextBrowser">
+ <widget class="QTextEdit" name="newsTextBrowser">
<property name="html">
<string notr="true">&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
@@ -167,6 +170,9 @@ p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'Sans';&quot;&gt;Loading...&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
+ <property name="readOnly">
+ <bool>true</bool>
+ </property>
</widget>
</item>
</layout>
@@ -487,7 +493,7 @@ border:1px solid #999;
</layout>
</item>
<item row="3" column="0">
- <widget class="QTextBrowser" name="textBrowser">
+ <widget class="QTextEdit" name="textBrowser">
<property name="html">
<string notr="true">&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
@@ -495,6 +501,9 @@ p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'Sans';&quot;&gt;Click on an item on the left side for more information&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
+ <property name="readOnly">
+ <bool>true</bool>
+ </property>
</widget>
</item>
</layout>