feat: tab menu search bar

This commit is contained in:
parker
2025-07-15 15:01:30 +01:00
parent 4e110b30c2
commit a6ceaec122
4 changed files with 94 additions and 0 deletions

View File

@@ -5,6 +5,9 @@
#include <boost/dll/import.hpp>
#include "Interface.h"
#include "Gui/Network/TabMenu.h"
#include <iostream>
#include <QTimer>
int main(int argc, char **argv)
{
@@ -26,8 +29,19 @@ int main(int argc, char **argv)
QApplication app (argc, argv);
QPoint cursorPos = QCursor::pos();
EnzoUI interface;
interface.show();
enzo::ui::TabMenu tabMenu(&interface);
QTimer::singleShot(1000, [&]{
QPoint cursorPos = QCursor::pos();
std::cout << cursorPos.x() << " " << cursorPos.y() << "\n";
tabMenu.showOnMouse();
});
return app.exec();
}