Removed unneeded "draw" button from CharacterSetExplorer.

This commit is contained in:
Mark Long 2016-10-24 00:55:37 -05:00
parent 7b80c8dbda
commit 0562d3109f
3 changed files with 3 additions and 14 deletions

View File

@ -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()
{

View File

@ -20,7 +20,6 @@ public:
void setCharSet(CharacterSet &charset);
public slots:
void handleDrawButton();
void handleInsertCharButton();
void handleTextChanged(QString string);

View File

@ -50,18 +50,14 @@
</item>
<item>
<widget class="QPushButton" name="insertChar">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>Insert Char...</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="drawButton">
<property name="text">
<string>Draw</string>
</property>
</widget>
</item>
</layout>
</item>
</layout>