2018-11-04 16:37:23 -05:00
|
|
|
#ifndef WINDOW_H
|
|
|
|
#define WINDOW_H
|
|
|
|
|
2018-11-04 21:19:00 -05:00
|
|
|
#include "common.h"
|
2018-11-04 16:37:23 -05:00
|
|
|
#include <QMainWindow>
|
|
|
|
#include <QListWidget>
|
|
|
|
|
|
|
|
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<int64_t, std::unordered_multiset<int64_t>> linkedTextHandles;
|
|
|
|
|
|
|
|
private slots:
|
|
|
|
void on_linkButton_clicked();
|
|
|
|
void on_unlinkButton_clicked();
|
|
|
|
|
|
|
|
private:
|
|
|
|
QListWidget* threadLinkList;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // WINDOW_H
|