-
-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathqefiloadoptioneditorview.h
More file actions
40 lines (30 loc) · 833 Bytes
/
qefiloadoptioneditorview.h
File metadata and controls
40 lines (30 loc) · 833 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#ifndef QEFILOADOPTIONEDITORVIEW_H
#define QEFILOADOPTIONEDITORVIEW_H
#include <QWidget>
#include <QFormLayout>
#include <QLabel>
#include <QLineEdit>
#include <QPushButton>
#include <QSpinBox>
#include <QList>
#include <QSharedPointer>
#include <qefi.h>
class QEFILoadOptionEditorView: public QWidget
{
Q_OBJECT
QFormLayout *m_topLevelLayout;
QSpinBox *m_idSpinBox;
QLineEdit *m_nameTextEdit;
QLineEdit *m_optionalDataTextEdit;
QList<QEFIDevicePath *> m_dps;
public:
QEFILoadOptionEditorView(QEFILoadOption *option = nullptr,
QWidget *parent = nullptr);
~QEFILoadOptionEditorView();
QByteArray generateLoadOption();
quint16 getBootEntryID();
public slots:
void createDPClicked(bool checked);
void clearDPClicked(bool checked);
};
#endif // QEFILOADOPTIONEDITORVIEW_H