mirror of
https://github.com/Alukym/VMProtect-Source.git
synced 2025-06-24 11:37:51 -05:00
Initial commit
This commit is contained in:
26
VMProtect/templates_window.h
Normal file
26
VMProtect/templates_window.h
Normal file
@ -0,0 +1,26 @@
|
||||
#ifndef TEMPLATES_WINDOW_H
|
||||
#define TEMPLATES_WINDOW_H
|
||||
|
||||
class TemplatesWindow : public QDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
TemplatesWindow(QWidget *parent = NULL);
|
||||
static void setModel(TemplatesModel *model) { templates_model_ = model; }
|
||||
private slots:
|
||||
void helpClicked();
|
||||
void contextMenuRequested(const QPoint &p);
|
||||
void delClicked();
|
||||
void renameClicked();
|
||||
void templateIndexChanged();
|
||||
private:
|
||||
ProjectTemplate *selectedTemplate() const;
|
||||
static TemplatesModel *templates_model_;
|
||||
QPushButton *closeButton_;
|
||||
QAction *renameAct_;
|
||||
QAction *delAct_;
|
||||
QMenu *contextMenu_;
|
||||
QTreeView *templateTree_;
|
||||
};
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user