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
+29 -1
View File
@@ -6,13 +6,41 @@ class Better_Radiobutton : public QWidget
{
Q_OBJECT
public:
/**
* @brief Construct a new Better_Radiobutton object
*
* @param parent A pointer to the parent widget
*/
explicit Better_Radiobutton(QWidget *parent = nullptr);
explicit Better_Radiobutton(std::vector<QString> names, QWidget *partent = nullptr);
/**
* @brief Construct a new Better_Radiobutton object
*
* @param names A list of names for the radiobuttons
* @param parent A pointer to the parent widget
*/
explicit Better_Radiobutton(std::vector<QString> names, QWidget *parent = nullptr);
/**
* @brief Add a radiobutton to the group
*
* @param name The name of the radiobutton
*/
void add_radiobutton(QString name);
/**
* @brief Get the name of the currently checked radiobutton
*
* @return QString The name of the checked radiobutton
*/
QString isChecked() const;
signals:
/**
* @brief Emitted when a radiobutton is toggled
*
* @param name The name of the radiobutton
* @param checked Whether the radiobutton is checked
*/
void toggled(QString name, bool checked);
private: