Added several actions that were left out while switching to module.
- save copy as - export - copy as c string - copy as raw cpp string
This commit is contained in:
parent
3e4917428d
commit
e5dd27ff1a
3 changed files with 39 additions and 3 deletions
|
|
@ -37,6 +37,30 @@ void QueryToolModule::init()
|
|||
wa.setIcon(":/icons/script_save.png");
|
||||
registerWidgetAction(wa);
|
||||
}
|
||||
{
|
||||
LWidgetAction wa("Save copy of SQL as", SLOT(saveCopyAs()));
|
||||
wa.setMenuLocation("File/Save");
|
||||
//wa.setIcon(":/icons/script_save.png");
|
||||
registerWidgetAction(wa);
|
||||
}
|
||||
{
|
||||
LWidgetAction wa("&Export data", SLOT(exportData()));
|
||||
wa.setMenuLocation("File/Export");
|
||||
wa.setIcon(":/icons/table_save.png");
|
||||
registerWidgetAction(wa);
|
||||
}
|
||||
{
|
||||
LWidgetAction wa("Copy as C string", SLOT(copyQueryAsCString()));
|
||||
wa.setMenuLocation("Edit/Copy");
|
||||
wa.setIcon(":/icons/token_shortland_character.png");
|
||||
registerWidgetAction(wa);
|
||||
}
|
||||
{
|
||||
LWidgetAction wa("Copy as raw C++ string", SLOT(copyQueryAsRawCppString()));
|
||||
wa.setMenuLocation("Edit/Copy");
|
||||
wa.setIcon(":/icons/token_shortland_character.png");
|
||||
registerWidgetAction(wa);
|
||||
}
|
||||
{
|
||||
LWidgetAction wa("Execute", SLOT(execute()));
|
||||
wa.setMenuLocation("Query/1");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue