Add locate for Variable Types and Variable Statics.

This commit is contained in:
Ernie Pasveer
2022-05-09 15:58:47 -05:00
parent adbec09732
commit 7fa329b549
14 changed files with 638 additions and 10 deletions
+5 -2
View File
@@ -11,6 +11,9 @@
SeerFunctionBrowserWidget::SeerFunctionBrowserWidget (QWidget* parent) : QWidget(parent) {
// Set the state.
_id = Seer::createID();
// Construct the UI.
setupUi(this);
@@ -39,7 +42,7 @@ void SeerFunctionBrowserWidget::handleText (const QString& text) {
QApplication::setOverrideCursor(Qt::BusyCursor);
if (text.startsWith("^done,symbols={") && text.endsWith("}")) {
if (text.startsWith(QString::number(_id) + "^done,symbols={") && text.endsWith("}")) {
functionTreeWidget->clear();
functionTreeWidget->setSortingEnabled(false);
@@ -150,7 +153,7 @@ void SeerFunctionBrowserWidget::handleSearchLineEdit () {
functionTreeWidget->resizeColumnToContents(5);
if (functionSearchLineEdit->text() != "") {
emit refreshFunctionList(functionSearchLineEdit->text());
emit refreshFunctionList(_id, functionSearchLineEdit->text());
}
}