1#include <Gui/AboutDialog/RadiumHelpDialog.hpp>
2#include <Gui/Utils/KeyMappingManager.hpp>
4#include "ui_RadiumHelpDialog.h"
8RadiumHelpDialog::RadiumHelpDialog( QWidget* parent ) :
9 QDialog( parent ), ui( new Ui::RadiumHelpDialog ) {
11 auto kmappingMngr = Gui::KeyMappingManager::getInstance();
13 ui->keymapping->document()->setDefaultStyleSheet(
14 "table { border-collapse: collapse; }"
15 "table tr th {padding-top: .4em; padding-bottom: .2em; text-align: left; border-bottom: "
17 "table tr td {padding-top: .4em; padding-bottom: .2em; padding-left:1em; border-bottom: "
19 keyMappingHelp +=
"<h1> UI action mapping </h1>\n";
20 keyMappingHelp += kmappingMngr->getHelpText();
21 keyMappingHelp +=
"<br/>\n";
22 ui->keymapping->setText( keyMappingHelp.
c_str() );
27RadiumHelpDialog::~RadiumHelpDialog() =
default;
hepler function to manage enum as underlying types in VariableSet