mirror of
https://github.com/redstrate/Novus.git
synced 2025-04-24 04:57:45 +00:00
hexpart: Reformat code, misc cleanup
This commit is contained in:
parent
15a025b610
commit
9481c3e120
2 changed files with 4 additions and 0 deletions
|
@ -15,3 +15,5 @@ void HexPart::loadFile(physis_Buffer buffer)
|
||||||
setDocument(QHexDocument::fromMemory<QMemoryRefBuffer>(reinterpret_cast<char *>(buffer.data), buffer.size));
|
setDocument(QHexDocument::fromMemory<QMemoryRefBuffer>(reinterpret_cast<char *>(buffer.data), buffer.size));
|
||||||
setReadOnly(true);
|
setReadOnly(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#include "moc_hexpart.cpp"
|
|
@ -10,6 +10,8 @@
|
||||||
|
|
||||||
class HexPart : public QHexView
|
class HexPart : public QHexView
|
||||||
{
|
{
|
||||||
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
explicit HexPart(QWidget *parent = nullptr);
|
explicit HexPart(QWidget *parent = nullptr);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue