#ifndef WINDOW_H #define WINDOW_H #include #include #include #include #include namespace Ui { class Window; } class Window : public QMainWindow { Q_OBJECT public: explicit Window(QWidget *parent = nullptr); ~Window(); Ui::Window* ui; std::mutex m; std::unordered_map> linkedTextHandles; private slots: void on_linkButton_clicked(); void on_unlinkButton_clicked(); private: QListWidget* threadLinkList; }; #endif // WINDOW_H