12 #include <mrpt/config.h> 16 #include <QVBoxLayout> 23 const bool showStandardInfo)
26 auto lay =
new QVBoxLayout();
29 auto label =
new QLabel(buildText,
this);
30 lay->addWidget(label);
32 auto tabs =
new QTabWidget(
this);
35 tabs->addTab(widgetForTabs(infoText, tabs), tr(
"Information"));
36 tabs->addTab(widgetForTabs(
license(), tabs), tr(
"License"));
37 tabs->addTab(widgetForTabs(
tutorial(), tabs), tr(
"Tutorial"));
46 auto text = QString::fromStdString(str);
47 auto action =
new QTextEdit(parent);
48 action->setText(text);
52 #endif // MRPT_HAS_Qt5 std::string license() const
std::string tutorial() const
std::string information(const std::string &guiLibName, const std::string &guiLibVersion) const
GLsizei const GLchar ** string
QTextEdit * widgetForTabs(const std::string &str, QTabWidget *parent) const
CAboutBoxQt(const std::string &appName, const std::string &additionalInfo, const bool showStandardInfo)
std::string MRPTBuildVersion() const