Skip to main content

CommandPickerDialog

CommandPickerDialog

Modal dialog that lists available commands and lets the user pick one. More…

#include <CommandPickerDialog.hpp>

Inherits from QDialog

Public Functions

Name
CommandPickerDialog(QWidget * parent =[nullptr])
std::optional< std::string > selectedCommandName() const
Returns the selected command name, or nullopt if cancelled.

Detailed Description

class CommandPickerDialog;

Modal dialog that lists available commands and lets the user pick one.

Populated by commands::getAvailableCommands(). Shows the command description when a command is selected. Returns the chosen command name on accept.

Public Functions Documentation

function CommandPickerDialog

explicit CommandPickerDialog(
    QWidget * parent =nullptr
)

function selectedCommandName

std::optional< std::string > selectedCommandName() const

Returns the selected command name, or nullopt if cancelled.


Updated on 2026-11-13 at 20:25:41 +0000