#include "btaboutdialog.h"
#include <QApplication>
#include <QColor>
#include <QDebug>
#include <QDesktopServices>
#include <QDialogButtonBox>
#include <QDir>
#include <QFile>
#include <QFont>
#include <QFontMetrics>
#include <QHBoxLayout>
#include <QIODevice>
#include <QLabel>
#include <QPalette>
#include <QPlainTextEdit>
#include <QTabWidget>
#include <QTextBrowser>
#include <QTextStream>
#include <QtGlobal>
#include <QUrl>
#include <QVBoxLayout>
#include <QWidget>
#include <utility>
#include "../util/btconnect.h"
#include "../util/bticons.h"
#include "../util/directory.h"
#include "messagedialog.h"
#include <swversion.h>
Go to the source code of this file.
◆ MAKE_CONTR
#define MAKE_CONTR |
( |
|
c, |
|
|
|
n, |
|
|
|
r |
|
) |
| |
Value: "<li>" n " (";\
(c) += ")</li>"
QStringList r(content.left(bodyIndex))
Definition at line 59 of file btaboutdialog.cpp.
◆ MAKE_CONTR2
#define MAKE_CONTR2 |
( |
|
c, |
|
|
|
n, |
|
|
|
r, |
|
|
|
r2 |
|
) |
| |
Value: "<li>" n " (";\
(c) += ", ";\
(c) += (r2);\
(c) += ")</li>"
Definition at line 62 of file btaboutdialog.cpp.
◆ MAKE_HTML
#define MAKE_HTML |
( |
|
t, |
|
|
|
x |
|
) |
| "<html><head>" MAKE_STYLE(t) "</head><body>" + (x) + "</body></html>" |
◆ MAKE_LINK
#define MAKE_LINK |
( |
|
c, |
|
|
|
u, |
|
|
|
t |
|
) |
| "<a href=\"" u "\">"; (c) += (t); (c) += "</a>" |
◆ MAKE_LINK_STATIC
#define MAKE_LINK_STATIC |
( |
|
u, |
|
|
|
t |
|
) |
| "<a href=\"" u "\">" t "</a>" |
◆ MAKE_STYLE
Value: "<style type=\"text/css\">"\
"body{"\
"background-color:" + (t)->palette().color(QPalette::Window).name() + ";"\
"color:" + (t)->palette().color(QPalette::WindowText).name() +\
"}"\
"h3{font-weight:bold;text-align:center}"\
"a{text-decoration:underline}"\
"a:link{color:" + (t)->palette().color(QPalette::Link).name() + "}"\
"a:visited{color:" + (t)->palette().color(QPalette::LinkVisited).name() + "}"\
"</style>"
Definition at line 46 of file btaboutdialog.cpp.