mirror of
https://github.com/rizinorg/cutter.git
synced 2025-01-07 12:35:26 +00:00
31 lines
618 B
C
31 lines
618 B
C
|
#ifndef LAYOUT_MANAGER_H
|
||
|
#define LAYOUT_MANAGER_H
|
||
|
|
||
|
#include <QDialog>
|
||
|
#include <memory>
|
||
|
#include "core/Cutter.h"
|
||
|
#include "common/CutterLayout.h"
|
||
|
|
||
|
namespace Ui {
|
||
|
class LayoutManager;
|
||
|
}
|
||
|
|
||
|
class LayoutManager : public QDialog
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
|
||
|
public:
|
||
|
LayoutManager(QMap<QString, Cutter::CutterLayout> &layouts, QWidget *parent);
|
||
|
~LayoutManager();
|
||
|
|
||
|
private:
|
||
|
void refreshNameList(QString selection = "");
|
||
|
void renameCurrentLayout();
|
||
|
void deleteLayout();
|
||
|
void updateButtons();
|
||
|
std::unique_ptr<Ui::LayoutManager> ui;
|
||
|
QMap<QString, Cutter::CutterLayout> &layouts;
|
||
|
};
|
||
|
|
||
|
#endif // LAYOUT_MANAGER_H
|