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