mirror of
https://github.com/LongSoft/UEFITool.git
synced 2025-06-02 00:08:21 -04:00
Version 0.12.0
- bug with wrong file tail creation solved - "Replace" and "Replace body" actions added - "Change compression" menu and actions removed, will be returned later - minor refactoring and bugfixes done
This commit is contained in:
parent
5e1b476c86
commit
862fc6b242
12 changed files with 652 additions and 439 deletions
19
treeitem.h
19
treeitem.h
|
@ -31,7 +31,9 @@ public:
|
|||
// Action types
|
||||
enum ActionTypes {
|
||||
NoAction = 50,
|
||||
Modify,
|
||||
Create,
|
||||
Insert,
|
||||
Replace,
|
||||
Remove,
|
||||
Rebuild
|
||||
};
|
||||
|
@ -104,17 +106,12 @@ public:
|
|||
UINT8 action() const;
|
||||
UINT8 compression() const;
|
||||
|
||||
// Action can be changed
|
||||
void setAction(const UINT8 action);
|
||||
// Compression can be changed
|
||||
void setCompression(const UINT8 algorithm);
|
||||
|
||||
// Text values can be changed after item construction
|
||||
void setTypeName(const QString &text);
|
||||
// Some values can be changed after item construction
|
||||
void setAction(const UINT8 action);
|
||||
void setTypeName(const QString &text);
|
||||
void setSubtypeName(const QString &text);
|
||||
void setName(const QString &text);
|
||||
void setText(const QString &text);
|
||||
void setInfo(const QString &text);
|
||||
|
||||
private:
|
||||
// Set default names after construction
|
||||
|
@ -129,9 +126,9 @@ private:
|
|||
QByteArray itemHeader;
|
||||
QByteArray itemBody;
|
||||
QByteArray itemTail;
|
||||
QString itemTypeName;
|
||||
QString itemName;
|
||||
QString itemTypeName;
|
||||
QString itemSubtypeName;
|
||||
QString itemName;
|
||||
QString itemText;
|
||||
QString itemInfo;
|
||||
TreeItem *parentItem;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue