From 0562d3109fae0168327d95db7663b9fc32716a04 Mon Sep 17 00:00:00 2001 From: Mark Long Date: Mon, 24 Oct 2016 00:55:37 -0500 Subject: [PATCH] Removed unneeded "draw" button from CharacterSetExplorer. --- src/ui/widgets/CharacterSetExplorer.cpp | 6 ------ src/ui/widgets/CharacterSetExplorer.h | 1 - src/ui/widgets/CharacterSetExplorer.ui | 10 +++------- 3 files changed, 3 insertions(+), 14 deletions(-) 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 - - -