Skip to content

Commit

Permalink
[ui] Slightly improve the about dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
nirvn authored and github-actions[bot] committed Apr 5, 2021
1 parent 3fea7b6 commit cbc2b17
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 19 deletions.
Binary file added images/icons/qgis-full.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions images/images.qrc
Expand Up @@ -69,6 +69,7 @@
<file>flags/ky.svg</file>
<file>icons/qgis-icon-16x16.png</file>
<file>icons/qgis-icon-60x60.png</file>
<file>icons/qgis-full.png</file>
<file>icons/qbrowser_icon.svg</file>
<file>north_arrows/default.png</file>
<file>north_arrows/default.svg</file>
Expand Down
3 changes: 0 additions & 3 deletions src/app/qgsabout.cpp
Expand Up @@ -66,9 +66,6 @@ void QgsAbout::init()

connect( developersMapView, &QgsWebView::linkClicked, this, &QgsAbout::openUrl );

// set the 60x60 icon pixmap
qgisIcon->setPixmap( QPixmap( QgsApplication::appIconPath() ) );

//read the authors file to populate the svn committers list
QStringList lines;

Expand Down
19 changes: 3 additions & 16 deletions src/ui/qgsabout.ui
Expand Up @@ -195,28 +195,15 @@
<widget class="QLabel" name="qgisIcon">
<property name="maximumSize">
<size>
<width>60</width>
<width>200</width>
<height>60</height>
</size>
</property>
<property name="pixmap">
<pixmap>:/images/icons/qgis-icon-60x60.png</pixmap>
<pixmap>:/images/icons/qgis-full.png</pixmap>
</property>
<property name="scaledContents">
<bool>false</bool>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="TextLabel4">
<property name="text">
<string>&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;
p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Lucida Grande'; font-size:13pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;p style=&quot; margin-top:16px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:x-large; font-weight:600;&quot;&gt;&lt;span style=&quot; font-size:x-large;&quot;&gt;QGIS&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
<bool>true</bool>
</property>
</widget>
</item>
Expand Down

0 comments on commit cbc2b17

Please sign in to comment.