Browse Source

Update About Dialog text

Aqua-sama 3 weeks ago
parent
commit
600c649c3d
Signed by: Aqua-sama <aqua@iserlohn-fortress.net> GPG Key ID: 5378B8349C1D5ADA
4 changed files with 26 additions and 13 deletions
  1. 6
    1
      LICENSE.md
  2. 1
    7
      README.md
  3. 14
    3
      lib/about/aboutdialog.cpp
  4. 5
    2
      lib/about/aboutdialog.ui

+ 6
- 1
LICENSE.md View File

@@ -29,6 +29,11 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
29 29
 - url: https://github.com/itay-grudev/SingleApplication
30 30
 - license: MIT
31 31
 
32
-## breakpad
32
+## KDE Frameworks (optional)
33
+- url: https://community.kde.org/Frameworks
34
+- license: LGPL-2.1
35
+- source code: https://cgit.kde.org/
36
+
37
+## Breakpad (optional)
33 38
 - url: https://chromium.googlesource.com/breakpad/breakpad
34 39
 - license: BSD-3-Clause

+ 1
- 7
README.md View File

@@ -31,13 +31,7 @@ you exercise your freedom.
31 31
 It's a small boat. It says poi.
32 32
 
33 33
 ### Sounds dumb, how do I use it?
34
-You make it yourself.
35
-
36
-It's a cmake-based project that depends on Qt and Boost, so cmake && make alone
37
-should be sufficient to build from source. Some basic package scripts are
38
-provided in the repository.
39
-
40
-Detailed [build instructions](/smolbote/building.html) also included.
34
+You make it yourself. Detailed [build instructions](/smolbote/building.html) included.
41 35
 
42 36
 ### It doesn't work, what now?
43 37
 Drop me an email at _aqua at iserlohn dash fortress dot net_.

+ 14
- 3
lib/about/aboutdialog.cpp View File

@@ -9,6 +9,7 @@
9 9
 #include "aboutdialog.h"
10 10
 #include "ui_aboutdialog.h"
11 11
 #include <version.h>
12
+#include "config.h"
12 13
 
13 14
 // compiler
14 15
 // clang also defines __GNUC__, so we need to check for clang first
@@ -33,8 +34,7 @@ AboutDialog::AboutDialog(QWidget *parent)
33 34
 
34 35
     ui->aboutLabel->setText(tr("<h2>smolbote %1</h2>"
35 36
                                "<p><i>yet another no-frills browser</i></p>"
36
-                               "<p>This program is free software, see <i>License</i> for more information.</p>"
37
-                               "<p>This program uses free software: Qt5, Boost</p>")
37
+                               "<p>This program is free software, see <i>License</i> for more information.</p>")
38 38
                                 .arg(qApp->applicationVersion()));
39 39
 
40 40
     ui->licenseLabel->setText(tr("<p>Copyright 2017 - 2018 aqua</p>"
@@ -50,7 +50,18 @@ AboutDialog::AboutDialog(QWidget *parent)
50 50
                                  "<p>You can read the full terms of the license on <a href='https://www.gnu.org/licenses/gpl-3.0.en.html'>the GNU website</a>.</p>"));
51 51
 
52 52
     ui->detailsLabel->setText(tr("<p>Version " poi_Version "</p>"
53
-                                 "<p>Compiled with " compiler "</p>"));
53
+                                 "<p>Compiled with " compiler "</p>"
54
+                                 "<p>Libraries: <ul>"
55
+                                 "<li><a href='https://www.qt.io/'>Qt5</a> " QT_VERSION_STR "</li>"
56
+                                 "<li><a href='https://www.boost.org/'>Boost</a></li>"
57
+                                 "<li><a href='https://github.com/itay-grudev/SingleApplication'>SingleApplication</a></li>"
58
+#ifdef CONFIG_USEPLASMA
59
+                                 "<li><a href='https://community.kde.org/Frameworks'>KDE Frameworks</a></li>"
60
+#endif
61
+#ifdef CONFIG_USEBREAKPAD
62
+                                 "<li><a href='https://chromium.googlesource.com/breakpad/breakpad'>Breakpad</a></li>"
63
+#endif
64
+                                 "</ul></p>"));
54 65
 
55 66
 }
56 67
 

+ 5
- 2
lib/about/aboutdialog.ui View File

@@ -81,8 +81,8 @@
81 81
          <rect>
82 82
           <x>0</x>
83 83
           <y>0</y>
84
-          <width>96</width>
85
-          <height>30</height>
84
+          <width>406</width>
85
+          <height>450</height>
86 86
          </rect>
87 87
         </property>
88 88
         <attribute name="label">
@@ -125,6 +125,9 @@
125 125
            <property name="wordWrap">
126 126
             <bool>true</bool>
127 127
            </property>
128
+           <property name="openExternalLinks">
129
+            <bool>true</bool>
130
+           </property>
128 131
           </widget>
129 132
          </item>
130 133
         </layout>

Loading…
Cancel
Save