Skip to content
Permalink
Browse files
about box: use webview for version info and use ok button
  • Loading branch information
jef-n committed Jan 18, 2013
1 parent 087e929 commit 7809cbdb2991042dc758f0df9830d1c4f08fbf4e
Showing with 7 additions and 10 deletions.
  1. +7 −10 src/ui/qgsabout.ui
@@ -20,7 +20,7 @@
<item row="1" column="0">
<widget class="QDialogButtonBox" name="buttonBox">
<property name="standardButtons">
<set>QDialogButtonBox::Close</set>

This comment has been minimized.

Copy link
@NathanW2

NathanW2 Jan 20, 2013

Member

Using Close here makes more sense as we are not asking the user to confirm something which is what OK is implying.

This comment has been minimized.

Copy link
@jef-n

jef-n Jan 21, 2013

Author Member

But OK closes the dialog now, which "Close" didn't.

<set>QDialogButtonBox::Ok</set>
</property>
</widget>
</item>
@@ -141,15 +141,11 @@ p, li { white-space: pre-wrap; }
</layout>
</item>
<item row="1" column="0">
<widget class="QTextEdit" name="txtVersion">
<property name="frameShape">
<enum>QFrame::NoFrame</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Plain</enum>
</property>
<property name="readOnly">
<bool>true</bool>
<widget class="QWebView" name="txtVersion">
<property name="url">
<url>
<string>about:blank</string>
</url>
</property>
</widget>
</item>
@@ -294,6 +290,7 @@ p, li { white-space: pre-wrap; }
</tabstops>
<resources>
<include location="../../images/images.qrc"/>
<include location="../../images/images.qrc"/>
</resources>
<connections>
<connection>

0 comments on commit 7809cbd

Please sign in to comment.