diff --git a/src/ui/widgets/CharacterSetExplorer.cpp b/src/ui/widgets/CharacterSetExplorer.cpp index c175231..61d7ca9 100644 --- a/src/ui/widgets/CharacterSetExplorer.cpp +++ b/src/ui/widgets/CharacterSetExplorer.cpp @@ -7,7 +7,6 @@ CharacterSetExplorer::CharacterSetExplorer(QWidget *parent) : { m_unpackedScreen.fill(0,8192); ui->setupUi(this); - connect(ui->drawButton, SIGNAL(clicked(bool)), SLOT(handleDrawButton())); connect(ui->insertChar, SIGNAL(clicked(bool)), SLOT(handleInsertCharButton())); connect(ui->inputText, SIGNAL(textChanged(QString)), SLOT(handleTextChanged(QString))); } @@ -22,11 +21,6 @@ CharacterSetExplorer::~CharacterSetExplorer() delete ui; } -void CharacterSetExplorer::handleDrawButton() -{ - handleTextChanged(ui->inputText->text()); -} - void CharacterSetExplorer::handleInsertCharButton() { diff --git a/src/ui/widgets/CharacterSetExplorer.h b/src/ui/widgets/CharacterSetExplorer.h index 6911847..1b1d322 100644 --- a/src/ui/widgets/CharacterSetExplorer.h +++ b/src/ui/widgets/CharacterSetExplorer.h @@ -20,7 +20,6 @@ public: void setCharSet(CharacterSet &charset); public slots: - void handleDrawButton(); void handleInsertCharButton(); void handleTextChanged(QString string); diff --git a/src/ui/widgets/CharacterSetExplorer.ui b/src/ui/widgets/CharacterSetExplorer.ui index eaf870e..68f4d98 100644 --- a/src/ui/widgets/CharacterSetExplorer.ui +++ b/src/ui/widgets/CharacterSetExplorer.ui @@ -50,18 +50,14 @@ + + false + Insert Char... - - - - Draw - - -