mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-09 08:21:29 +12:00
Search for threads.
This commit is contained in:
parent
9403948ce3
commit
a426d32a36
1 changed files with 10 additions and 0 deletions
|
@ -3,6 +3,7 @@
|
||||||
#include <QSplitter>
|
#include <QSplitter>
|
||||||
#include <QApplication>
|
#include <QApplication>
|
||||||
#include <QFontDatabase>
|
#include <QFontDatabase>
|
||||||
|
#include <QCompleter>
|
||||||
|
|
||||||
inline QString qstr(const std::string& _in) { return QString::fromUtf8(_in.data(), _in.size()); }
|
inline QString qstr(const std::string& _in) { return QString::fromUtf8(_in.data(), _in.size()); }
|
||||||
extern bool user_asked_for_frame_capture;
|
extern bool user_asked_for_frame_capture;
|
||||||
|
@ -28,6 +29,15 @@ debugger_frame::debugger_frame(QWidget *parent) : QDockWidget(tr("Debugger"), pa
|
||||||
m_choice_units->setSizeAdjustPolicy(QComboBox::AdjustToContents);
|
m_choice_units->setSizeAdjustPolicy(QComboBox::AdjustToContents);
|
||||||
m_choice_units->setMaxVisibleItems(30);
|
m_choice_units->setMaxVisibleItems(30);
|
||||||
m_choice_units->setMaximumWidth(500);
|
m_choice_units->setMaximumWidth(500);
|
||||||
|
m_choice_units->setEditable(true);
|
||||||
|
m_choice_units->setInsertPolicy(QComboBox::NoInsert);
|
||||||
|
m_choice_units->lineEdit()->setPlaceholderText("Choose a thread");
|
||||||
|
connect(m_choice_units->lineEdit(), &QLineEdit::editingFinished, [&] {
|
||||||
|
m_choice_units->clearFocus();
|
||||||
|
});
|
||||||
|
m_choice_units->completer()->setCompletionMode(QCompleter::PopupCompletion);
|
||||||
|
m_choice_units->completer()->setMaxVisibleItems(30);
|
||||||
|
m_choice_units->completer()->setFilterMode(Qt::MatchContains);
|
||||||
|
|
||||||
m_go_to_addr = new QPushButton(tr("Go To Address"), this);
|
m_go_to_addr = new QPushButton(tr("Go To Address"), this);
|
||||||
m_go_to_pc = new QPushButton(tr("Go To PC"), this);
|
m_go_to_pc = new QPushButton(tr("Go To PC"), this);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue