convert all text to the markdown format

This commit is contained in:
Andrei Yankovich 2020-10-20 14:22:26 +03:00
parent 0002890864
commit 88759a2643
4 changed files with 99 additions and 42 deletions

View File

@ -1,5 +1,7 @@
#include "heartpage.h"
#include <infoblock.h>
HeartAbout::HeartAbout()
{
@ -13,26 +15,24 @@ HeartAbout::~HeartAbout() {
QString HeartAbout::data() const
{
return tr(""
"QuasarApp Heart - it is base backend for C++/Qt projects. This library support work with databases and work with lite network requests. <br><br>"
"<h2> Futures </h2> <br> <br>"
"<br> "
"<br> * [YES]Support ssl sockets <"
"<br> * [YES] Support initialize database "
"<br> * [YES] Support work in database "
"<br> * [STILL NO] Support decentralized network mode "
"<br> This library consists of two levels (AbstractNode level and DataBaseNode level)."
"<br> "
"<br> <h3> AbstractNode level (0) </h3>"
"<br> <h4> Description </h4>"
"<br>The AbstractNode level implement only base functions of create a new work threads and parsing packages."
"<br>For more information see QuasarApp Heart documentation, QH namespace."
"<br>"
"<br> <h3> DataBaseNode level (1)</h3>"
"<br> <h4> Description</h4>"
"**QuasarApp Heart** - it is base backend for C++/Qt projects. This library support work with databases and work with lite network requests. \n"
"## Futures \n"
"\n "
"\n * [YES]Support ssl sockets "
"\n * [YES] Support initialize database "
"\n * [YES] Support work in database "
"\n * [STILL NO] Support decentralized network mode "
"\n This library consists of two levels (AbstractNode level and DataBaseNode level)."
"\n "
"\n ### AbstractNode level (0) "
"\n #### Description "
"\n The AbstractNode level implement only base functions of create a new work threads and parsing packages."
"\n For more information see QuasarApp Heart documentation, QH namespace."
"\n "
"\n ### DataBaseNode level (1)"
"\n #### Description"
"The DataBaseNode level implement methods and packages for work with databases."
" This level using Qt classes for wrking with database,"
" so for more information about suport databases see "
"<a href='https://doc.qt.io/qt-5/sql-driver.html'>Qt Documentation</a>.");
" This level using Qt classes for wrking with database.");
}
QString HeartAbout::title() const {
@ -40,7 +40,11 @@ QString HeartAbout::title() const {
}
QString HeartAbout::backgroud() const {
return resourcesPath() + "/heart_banner.png";
return resourcesPath() + "/heart.png";
}
QList<BaseFront::Link> HeartAbout::links() const {
return {{"More information about suport databases", "https://doc.qt.io/qt-5/sql-driver.html"}};
}
HeartExamples::HeartExamples()
@ -53,10 +57,10 @@ HeartExamples::~HeartExamples() {
}
QString HeartExamples::data() const {
return tr("<br>"
return tr(""
"QuasarApp Heart - has very detailed examples of how the library works,"
" as well as a complete description of all the functions in the official technical documentation."
" <br><br> But if you want to get only a short example of how to use it, you can visit the official page on <a href='https://github.com/QuasarApp/Heart'>github</a>.<br><br>");
" as well as a complete description of all the functions in the official technical documentation. \n"
" But if you want to get only a short example of how to use it, you can visit the official page on github.");
}
QString HeartExamples::title() const {
@ -67,6 +71,10 @@ QString HeartExamples::backgroud() const {
return resourcesPath() + "/HeartExamples.png";
}
QList<BaseFront::Link> HeartExamples::links() const {
return {{"official page on github", "https://github.com/QuasarApp/Heart"}};
}
HeartDocs::HeartDocs() {
}
@ -76,9 +84,9 @@ HeartDocs::~HeartDocs() {
}
QString HeartDocs::data() const {
return tr("<br>"
"QuasarApp Heart - if you want get more information see "
"the <a href='docs/heart/html/index.html'>technical documentation</a>. <br><br><br><br>"
return tr("\n"
"**QuasarApp Heart** - if you want get more information see technical documentation."
"\n"
);
}
@ -89,3 +97,8 @@ QString HeartDocs::title() const {
QString HeartDocs::backgroud() const {
return resourcesPath() + "/docs.png";
}
QList<BaseFront::Link> HeartDocs::links() const {
return {{"technical documentation", "docs/heart/html/index.html"}};
}

View File

@ -14,6 +14,7 @@ public:
QString data() const override;
QString title() const override;
QString backgroud() const override;
QList<BaseFront::Link> links() const override;
};
class HeartExamples: public AbstractPage
@ -27,6 +28,8 @@ public:
QString data() const override;
QString title() const override;
QString backgroud() const override;
QList<BaseFront::Link> links() const override;
};
class HeartDocs: public AbstractPage
@ -40,5 +43,7 @@ public:
QString data() const override;
QString title() const override;
QString backgroud() const override;
QList<BaseFront::Link> links() const override;
};
#endif // HEARTPAGE_H

View File

@ -6,15 +6,15 @@ QuasarAppPage::QuasarAppPage() {
QString QuasarAppPage::data() const {
auto sourceText = tr("The <b>QuasarApp</b> is developing open source mobile and desktop"
" applications.<br><br>"
auto sourceText = tr("The **QuasarApp** is developing open source mobile and desktop"
" applications.\n"
"Our company has been created on 2017 year and have"
" experians of develepment android and desctop applications and games."
"<br><br>");
"\n");
sourceText += tr("During our existence,"
" we have accumulated more than 40 software components and ready-made solutions"
" for the most diverse tasks.<br>"
" for the most diverse tasks. \n"
"This approach allows us now to create final products with impressive speed."
" If you have an idea for the application, we will hear you."
);
@ -37,12 +37,12 @@ QuasarAppSupportPlatforms::QuasarAppSupportPlatforms()
}
QString QuasarAppSupportPlatforms::data() const {
auto sourceText = tr("At the moment, we can offer support for our solutions for the following platforms:<br><br>");
auto sourceText = tr("At the moment, we can offer support for our solutions for the following platforms:\n");
sourceText += tr("- <i> Linux </i><br>"
"- <i> Windows </i><br>"
"- <i> Android </i><br>"
"- <i> Web </i>");
sourceText += tr("* Linux "
"* Windows "
"* Android "
"* Web ");
return sourceText;
}
@ -64,13 +64,13 @@ QasarAppOrder::QasarAppOrder()
QString QasarAppOrder::data() const {
auto sourceText = tr("We are always happy to help you realize your best and most fantastic ideas."
"<br><br>"
"If you have an idea for the application, then you can leave a request to create a project with us on GitHub."
"\n"
"If you have an idea for the application, then you can leave a request to create a project with us on GitHub. \n"
" All that is required of you is a detailed description of what needs to be done. Further,"
" our specialists will decide when work will begin on the project and how much resources will be allocated to the project."
"<br><br>"
"\n\n"
"That how many resources will be allocated for the development depends on how much this project will collect cash donations."
"<br><br>"
"\n\n"
"You can also request a private project exclusively for you, but such a project can no longer be free.");
return sourceText;

View File

@ -13,7 +13,33 @@
<name>CQtDeployerAbout</name>
<message>
<location filename="../Models/cqtdeployerpage.cpp" line="11"/>
<source>&amp;nbsp;&amp;nbsp;## What is CQtDeployer &amp;nbsp;&amp;nbsp;The CQtDeployer is application for extract all depends library of executable and create launch script for your application.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Key differences of this program:&amp;nbsp;&amp;nbsp;* Performance: this program deploys the application several times faster (up to 10 seconds)&amp;nbsp;&amp;nbsp;* Flexibility: this application&apos;s got flags that help you to configure the deployment for your or your project&apos;s needs&amp;nbsp;&amp;nbsp;* Crossdeploy: this application&apos;s support windows and linux distrebutives, This means that you can use it not only to deploy a project for your platform, but also to deploy a project on Linux for Windows and vice versa.&amp;nbsp;&amp;nbsp;* Fast create installers : Upon completion of the deployment, you will receive a self-contained installer of your distribution.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;## Supported platforms:&amp;nbsp;&amp;nbsp;* Linux classic&amp;nbsp;&amp;nbsp;* Linux snap &amp;nbsp;&amp;nbsp;* Windows &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;## Support processors architectures:&amp;nbsp;&amp;nbsp;* x86 &amp;nbsp;&amp;nbsp;* x86-64 &amp;nbsp;&amp;nbsp;* ARM &amp;nbsp;&amp;nbsp;* ARM64 &amp;nbsp;&amp;nbsp;</source>
<source>
## What is CQtDeployer
The CQtDeployer is application for extract all depends library of executable and create launch script for your application.
Key differences of this program:
* Performance: this program deploys the application several times faster (up to 10 seconds)
* Flexibility: this application&apos;s got flags that help you to configure the deployment for your or your project&apos;s needs
* Crossdeploy: this application&apos;s support windows and linux distrebutives, This means that you can use it not only to deploy a project for your platform, but also to deploy a project on Linux for Windows and vice versa.
* Fast create installers : Upon completion of the deployment, you will receive a self-contained installer of your distribution.
## Supported platforms:
* Linux classic
* Linux snap
* Windows
## Support processors architectures:
* x86
* x86-64
* ARM
* ARM64
</source>
<translation type="unfinished"></translation>
</message>
<message>
@ -31,7 +57,8 @@
<name>CQtDeployerDocs</name>
<message>
<location filename="../Models/cqtdeployerpage.cpp" line="93"/>
<source>The source code for CQtDeployer components is provided under Gplv3 licenses and is freely available on GitHub. &amp;nbsp;&amp;nbsp;</source>
<source>The source code for CQtDeployer components is provided under Gplv3 licenses and is freely available on GitHub.
</source>
<translation type="unfinished"></translation>
</message>
<message>
@ -54,7 +81,19 @@
<name>CQtDeployerExamples</name>
<message>
<location filename="../Models/cqtdeployerpage.cpp" line="57"/>
<source>The utility transfers the path to the executable files of the deployed programs using the option -bin. The transferred programs are analyzed and get a list of dependencies. If the programs being deployed depend on Qt, then a list of modules is formed based on the dependencies. Qt plugins are deployed depending on the qt modules used. Then qml plugins are copied, if necessary, and standard qt translations. After completing all the steps described, scripts are formed to launch the application.&amp;nbsp;&amp;nbsp; ### For example: &amp;nbsp;&amp;nbsp; #### Linux &amp;nbsp;&amp;nbsp; ```cqtdeployer -bin myApp -qmake /media/D/Qt/5.15.2/gcc_64/bin/qmake -qmlDir . ```&amp;nbsp;&amp;nbsp; #### Windows&amp;nbsp;&amp;nbsp; ``` cqtdeployer -bin myApp.exe -qmake /media/D/Qt/5.12.5/gcc_64/bin/qmake.exe -qmlDir . ```&amp;nbsp;&amp;nbsp; #### Where:&amp;nbsp;&amp;nbsp; * cqtdeployer is a utility call (befor version 1.4 windows version used %cqtdeployer% command).&amp;nbsp;&amp;nbsp; * -bin - the option for transferring the paths of the application executable files.&amp;nbsp;&amp;nbsp; * myApp.exe and myApp - the path to the application executable file itself&amp;nbsp;&amp;nbsp; * -qmake - the option for transferring qmake paths for qt deployment.&amp;nbsp;&amp;nbsp; * -qmlDir - the option for transferring paths to qml files of the application.&amp;nbsp;&amp;nbsp;</source>
<source>The utility transfers the path to the executable files of the deployed programs using the option -bin. The transferred programs are analyzed and get a list of dependencies. If the programs being deployed depend on Qt, then a list of modules is formed based on the dependencies. Qt plugins are deployed depending on the qt modules used. Then qml plugins are copied, if necessary, and standard qt translations. After completing all the steps described, scripts are formed to launch the application.
### For example:
#### Linux
cqtdeployer -bin myApp -qmake /media/D/Qt/5.15.2/gcc_64/bin/qmake -qmlDir .
#### Windows
cqtdeployer -bin myApp.exe -qmake /media/D/Qt/5.12.5/gcc_64/bin/qmake.exe -qmlDir .
#### Where:
* cqtdeployer is a utility call (befor version 1.4 windows version used %cqtdeployer% command).
* -bin - the option for transferring the paths of the application executable files.
* myApp.exe and myApp - the path to the application executable file itself
* -qmake - the option for transferring qmake paths for qt deployment.
* -qmlDir - the option for transferring paths to qml files of the application.
</source>
<translation type="unfinished"></translation>
</message>
<message>