super(parent);
// Undo Button
QGroupBox undoGroup = new QGroupBox(tr("Undo"));
QHBoxLayout undoLayout = new QHBoxLayout();
showUndo = new QRadioButton(tr("Show"));
hideUndo = new QRadioButton(tr("Hide"));
undoLayout.addWidget(showUndo);
undoLayout.addWidget(hideUndo);
undoLayout.setStretch(1, 100);
undoGroup.setLayout(undoLayout);
// Redo Button
QGroupBox redoGroup = new QGroupBox(tr("Redo"));
QHBoxLayout redoLayout = new QHBoxLayout();
showRedo = new QRadioButton(tr("Show"));
hideRedo = new QRadioButton(tr("Hide"));
redoLayout.addWidget(showRedo);
redoLayout.addWidget(hideRedo);
redoLayout.setStretch(1, 100);
redoGroup.setLayout(redoLayout);
// Paste button
QGroupBox pasteGroup = new QGroupBox(tr("Paste"));
QHBoxLayout pasteLayout = new QHBoxLayout();
showPaste = new QRadioButton(tr("Show"));
hidePaste = new QRadioButton(tr("Hide"));
pasteLayout.addWidget(showPaste);
pasteLayout.addWidget(hidePaste);
pasteLayout.setStretch(1, 100);
pasteGroup.setLayout(pasteLayout);
// Copy button
QGroupBox copyGroup = new QGroupBox(tr("Copy"));
QHBoxLayout copyLayout = new QHBoxLayout();
showCopy = new QRadioButton(tr("Show"));
hideCopy = new QRadioButton(tr("Hide"));
copyLayout.addWidget(showCopy);
copyLayout.addWidget(hideCopy);
copyLayout.setStretch(1, 100);
copyGroup.setLayout(copyLayout);
// Cut Button
QGroupBox cutGroup = new QGroupBox(tr("Cut"));
QHBoxLayout cutLayout = new QHBoxLayout();
showCut = new QRadioButton(tr("Show"));
hideCut = new QRadioButton(tr("Hide"));
cutLayout.addWidget(showCut);
cutLayout.addWidget(hideCut);
cutLayout.setStretch(1, 100);
cutGroup.setLayout(cutLayout);
// Notebook Column
QGroupBox underlineGroup = new QGroupBox(tr("Underline"));
QHBoxLayout underlineLayout = new QHBoxLayout();
showUnderline = new QRadioButton(tr("Show"));
hideUnderline = new QRadioButton(tr("Hide"));
underlineLayout.addWidget(showUnderline);
underlineLayout.addWidget(hideUnderline);
underlineLayout.setStretch(1, 100);
underlineGroup.setLayout(underlineLayout);
// Bold Button
QGroupBox boldGroup = new QGroupBox(tr("Bold"));
QHBoxLayout boldLayout = new QHBoxLayout();
showBold = new QRadioButton(tr("Show"));
hideBold = new QRadioButton(tr("Hide"));
boldLayout.addWidget(showBold);
boldLayout.addWidget(hideBold);
boldLayout.setStretch(1, 100);
boldGroup.setLayout(boldLayout);
// Italic Button
QGroupBox italicGroup = new QGroupBox(tr("Italic"));
QHBoxLayout italicLayout = new QHBoxLayout();
showItalic = new QRadioButton(tr("Show"));
hideItalic = new QRadioButton(tr("Hide"));
italicLayout.addWidget(showItalic);
italicLayout.addWidget(hideItalic);
italicLayout.setStretch(1, 100);
italicGroup.setLayout(italicLayout);
// Strikethrough Button
QGroupBox strikethroughGroup = new QGroupBox(tr("Strikethrough"));
QHBoxLayout strikethroughLayout = new QHBoxLayout();
showStrikethrough = new QRadioButton(tr("Show"));
hideStrikethrough = new QRadioButton(tr("Hide"));
strikethroughLayout.addWidget(showStrikethrough);
strikethroughLayout.addWidget(hideStrikethrough);
strikethroughLayout.setStretch(1, 100);
strikethroughGroup.setLayout(strikethroughLayout);
// Hline Button
QGroupBox hlineGroup = new QGroupBox(tr("Horizontal Line"));
QHBoxLayout hlineLayout = new QHBoxLayout();
showHline = new QRadioButton(tr("Show"));
hideHline = new QRadioButton(tr("Hide"));
hlineLayout.addWidget(showHline);
hlineLayout.addWidget(hideHline);
hlineLayout.setStretch(1, 100);
hlineGroup.setLayout(hlineLayout);
// Outdent Button
QGroupBox outdentGroup = new QGroupBox(tr("Outdent"));
QHBoxLayout outdentLayout = new QHBoxLayout();
showOutdent = new QRadioButton(tr("Show"));
hideOutdent = new QRadioButton(tr("Hide"));
outdentLayout.addWidget(showOutdent);
outdentLayout.addWidget(hideOutdent);
outdentLayout.setStretch(1, 100);
outdentGroup.setLayout(outdentLayout);
// Indent Button
QGroupBox indentGroup = new QGroupBox(tr("Indent"));
QHBoxLayout indentLayout = new QHBoxLayout();
showIndent = new QRadioButton(tr("Show"));
hideIndent = new QRadioButton(tr("Hide"));
indentLayout.addWidget(showIndent);
indentLayout.addWidget(hideIndent);
indentLayout.setStretch(1, 100);
indentGroup.setLayout(indentLayout);
// Bullet List Button
QGroupBox bulletListGroup = new QGroupBox(tr("Bullet List"));
QHBoxLayout bulletListLayout = new QHBoxLayout();
showBulletList = new QRadioButton(tr("Show"));
hideBulletList = new QRadioButton(tr("Hide"));
bulletListLayout.addWidget(showBulletList);
bulletListLayout.addWidget(hideBulletList);
bulletListLayout.setStretch(1, 100);
bulletListGroup.setLayout(bulletListLayout);
// Number List Button
QGroupBox numberListGroup = new QGroupBox(tr("Numbered List"));
QHBoxLayout numberListLayout = new QHBoxLayout();
showNumberList = new QRadioButton(tr("Show"));
hideNumberList = new QRadioButton(tr("Hide"));
numberListLayout.addWidget(showNumberList);
numberListLayout.addWidget(hideNumberList);
numberListLayout.setStretch(1, 100);
numberListGroup.setLayout(numberListLayout);
// Font drop down list
QGroupBox fontGroup = new QGroupBox(tr("Fonts"));
QHBoxLayout fontLayout = new QHBoxLayout();
showFont = new QRadioButton(tr("Show"));
hideFont = new QRadioButton(tr("Hide"));
fontLayout.addWidget(showFont);
fontLayout.addWidget(hideFont);
fontLayout.setStretch(1, 100);
fontGroup.setLayout(fontLayout);
// Font sizes drop down list
QGroupBox fontSizeGroup = new QGroupBox(tr("Font Size"));
QHBoxLayout fontSizeLayout = new QHBoxLayout();
showFontSize = new QRadioButton(tr("Show"));
hideFontSize = new QRadioButton(tr("Hide"));
fontSizeLayout.addWidget(showFontSize);
fontSizeLayout.addWidget(hideFontSize);
fontSizeLayout.setStretch(1, 100);
fontSizeGroup.setLayout(fontSizeLayout);
// Font color button
QGroupBox fontColorGroup = new QGroupBox(tr("Font Color"));
QHBoxLayout fontColorLayout = new QHBoxLayout();
showFontColor = new QRadioButton(tr("Show"));
hideFontColor = new QRadioButton(tr("Hide"));
fontColorLayout.addWidget(showFontColor);
fontColorLayout.addWidget(hideFontColor);
fontColorLayout.setStretch(1, 100);
fontColorGroup.setLayout(fontColorLayout);
// highlight button
QGroupBox fontHighlightGroup = new QGroupBox(tr("Text Highlight"));
QHBoxLayout fontHighlightLayout = new QHBoxLayout();
showFontHighlight = new QRadioButton(tr("Show"));
hideFontHighlight = new QRadioButton(tr("Hide"));
fontHighlightLayout.addWidget(showFontHighlight);
fontHighlightLayout.addWidget(hideFontHighlight);
fontHighlightLayout.setStretch(1, 100);
fontHighlightGroup.setLayout(fontHighlightLayout);
// Align Left
QGroupBox alignLeftGroup = new QGroupBox(tr("Align Left"));
QHBoxLayout alignLeftLayout = new QHBoxLayout();
showAlignLeft = new QRadioButton(tr("Show"));
hideAlignLeft = new QRadioButton(tr("Hide"));
alignLeftLayout.addWidget(showAlignLeft);
alignLeftLayout.addWidget(hideAlignLeft);
alignLeftLayout.setStretch(1, 100);
alignLeftGroup.setLayout(alignLeftLayout);
// Align Center
QGroupBox alignCenterGroup = new QGroupBox(tr("Align Center"));
QHBoxLayout alignCenterLayout = new QHBoxLayout();
showAlignCenter = new QRadioButton(tr("Show"));
hideAlignCenter = new QRadioButton(tr("Hide"));
alignCenterLayout.addWidget(showAlignCenter);
alignCenterLayout.addWidget(hideAlignCenter);
alignCenterLayout.setStretch(1, 100);
alignCenterGroup.setLayout(alignCenterLayout);
// Align Right
QGroupBox alignRightGroup = new QGroupBox(tr("Align Right"));
QHBoxLayout alignRightLayout = new QHBoxLayout();
showAlignRight = new QRadioButton(tr("Show"));
hideAlignRight = new QRadioButton(tr("Hide"));
alignRightLayout.addWidget(showAlignRight);
alignRightLayout.addWidget(hideAlignRight);
alignRightLayout.setStretch(1, 100);
alignRightGroup.setLayout(alignRightLayout);