mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-05 06:26:49 +00:00
[Qt] UI improvements (#3558)
* Qt: Show tooltips in description box * Qt: implement description subscription * Qt: add gamelist resize for ctrl-+/-/wheel (simple zoom) * Qt: handle strict mode in gui tab * Qt: more highdpi stuff * Qt: remove old tooltips from settings_dialog * Qt: conform cpublit tooltip to new subscription model
This commit is contained in:
parent
b90a7dc66a
commit
b3efa75206
23 changed files with 374 additions and 230 deletions
|
|
@ -1,19 +1,20 @@
|
|||
|
||||
#include "memory_string_searcher.h"
|
||||
|
||||
#include <QLabel>
|
||||
|
||||
memory_string_searcher::memory_string_searcher(QWidget* parent)
|
||||
: QDialog(parent)
|
||||
{
|
||||
setWindowTitle(tr("String Searcher"));
|
||||
setAttribute(Qt::WA_DeleteOnClose);
|
||||
setFixedSize(QSize(545, 64));
|
||||
setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint);
|
||||
|
||||
m_addr_line = new QLineEdit(this);
|
||||
m_addr_line->setFixedWidth(460);
|
||||
m_addr_line->setFixedWidth(QLabel("This is the very length of the lineedit due to hidpi reasons.").sizeHint().width());
|
||||
m_addr_line->setPlaceholderText(tr("Search..."));
|
||||
|
||||
QPushButton* button_search = new QPushButton(tr("&Search"), this);
|
||||
button_search->setFixedWidth(60);
|
||||
|
||||
QHBoxLayout* hbox_panel = new QHBoxLayout();
|
||||
hbox_panel->addWidget(m_addr_line);
|
||||
|
|
@ -22,6 +23,8 @@ memory_string_searcher::memory_string_searcher(QWidget* parent)
|
|||
setLayout(hbox_panel);
|
||||
|
||||
connect(button_search, &QAbstractButton::clicked, this, &memory_string_searcher::OnSearch);
|
||||
|
||||
layout()->setSizeConstraint(QLayout::SetFixedSize);
|
||||
};
|
||||
|
||||
void memory_string_searcher::OnSearch()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue