feat(cpn): Add two more new model actions: template and prompt (#1963)
* Add new model actions to application settings * Add new model prompt action * Tweak wording * Add new model action template * Open individual model yml files * Tidy up after importing template * Add create default and edit to prompt options * Fix edit mode to display the edit dialog after model creation when selected in settings
This commit is contained in:
@@ -451,10 +451,14 @@ class AppData: public CompStoreObj
|
||||
enum NewModelAction {
|
||||
MODEL_ACT_NONE,
|
||||
MODEL_ACT_WIZARD,
|
||||
MODEL_ACT_EDITOR
|
||||
MODEL_ACT_EDITOR,
|
||||
MODEL_ACT_TEMPLATE,
|
||||
MODEL_ACT_PROMPT
|
||||
};
|
||||
Q_ENUM(NewModelAction)
|
||||
|
||||
static QStringList newModelActionsList() { return { tr("None"), tr("Wizard"), tr("Editor"), tr("Template"), tr("Prompt") } ; }
|
||||
|
||||
explicit AppData();
|
||||
void init() override;
|
||||
void initAll();
|
||||
|
||||
Reference in New Issue
Block a user