Add doxygen documentation to client ui

This commit is contained in:
2026-02-14 14:32:35 +01:00
parent 3c0d01df15
commit 9836d40a49
6 changed files with 151 additions and 3 deletions
+5 -1
View File
@@ -1,6 +1,10 @@
#include "hex_spinbox.hpp"
HexSpinBox::HexSpinBox(QWidget *parent, bool showPrefix, const QString &format) : QSpinBox(parent), format(format)
HexSpinBox::HexSpinBox(QWidget *parent) : HexSpinBox(false, QStringLiteral("%X"), parent)
{
}
HexSpinBox::HexSpinBox(bool showPrefix, const QString &format, QWidget *parent) : QSpinBox(parent), format(format)
{
// Validates hex strings up to 8 chars with or w/out leading "0x" prefix.
// For arbitrary prefix/suffix, the regex could be built dynamically