[Qt] style adjustments 3

rename some members and clean headers
This commit is contained in:
Megamouse 2017-09-06 19:00:49 +02:00 committed by Ani
parent 0cbbd3a5b1
commit a95e01290e
8 changed files with 127 additions and 136 deletions

View file

@ -8,15 +8,15 @@ memory_string_searcher::memory_string_searcher(QWidget* parent)
setAttribute(Qt::WA_DeleteOnClose);
setFixedSize(QSize(545, 64));
le_addr = new QLineEdit(this);
le_addr->setFixedWidth(460);
le_addr->setPlaceholderText(tr("Search..."));
m_addr_line = new QLineEdit(this);
m_addr_line->setFixedWidth(460);
m_addr_line->setPlaceholderText(tr("Search..."));
button_search = new QPushButton(tr("&Search"), this);
QPushButton* button_search = new QPushButton(tr("&Search"), this);
button_search->setFixedWidth(60);
hbox_panel = new QHBoxLayout();
hbox_panel->addWidget(le_addr);
QHBoxLayout* hbox_panel = new QHBoxLayout();
hbox_panel->addWidget(m_addr_line);
hbox_panel->addWidget(button_search);
setLayout(hbox_panel);
@ -26,7 +26,7 @@ memory_string_searcher::memory_string_searcher(QWidget* parent)
void memory_string_searcher::OnSearch()
{
const QString wstr = le_addr->text();
const QString wstr = m_addr_line->text();
const char *str = wstr.toStdString().c_str();
const u32 len = wstr.length();