Feature: execute commands on chat messages using the context menu (#3738)
This commit is contained in:
@@ -13,6 +13,13 @@ class CommandModel : public SignalVectorModel<Command>
|
||||
{
|
||||
explicit CommandModel(QObject *parent);
|
||||
|
||||
enum Column {
|
||||
Trigger = 0,
|
||||
CommandFunc = 1,
|
||||
ShowInMessageContextMenu = 2,
|
||||
COUNT,
|
||||
};
|
||||
|
||||
protected:
|
||||
// turn a vector item into a model row
|
||||
virtual Command getItemFromRow(std::vector<QStandardItem *> &row,
|
||||
|
||||
Reference in New Issue
Block a user