#include <sqleditor.h>
Signals | |
| void | showSqlResult (QString command) |
| This signal is emitted when user clicks on the one of "run" actions. It's handled in main window later. | |
| void | sqlScriptStart () |
| It's emitted when the script is started. | |
| void | showSqlScriptResult (QString line) |
| Emitted on demand in the script. Line is appended to the script output. | |
| void | buildTree () |
| Request for complete object tree refresh. It's used in "Run as Script". | |
| void | rebuildViewTree (QString schema, QString name) |
| Rebuild part of the tree. | |
Public Member Functions | |
| SqlEditor (QWidget *parent=0) | |
| ~SqlEditor () | |
| void | saveOnExit () |
| void | setFileName (const QString &fname) |
| QString | fileName () |
| void | setStatusMessage (const QString &message=0) |
| SqlEditor::SqlEditor | ( | QWidget * | parent = 0 |
) |
References toSQLParse::settings::BlockOpenLine, toSQLParse::settings::CommaBefore, toSQLParse::settings::CommentColumn, toSQLParse::settings::EndBlockNewline, toSQLParse::settings::ExpandSpaces, Utils::getIcon(), toSQLParse::settings::IndentLevel, toSQLParse::settings::KeywordUpper, toSQLParse::settings::OperatorSpace, toSQLParse::settings::RightSeparator, and toSQLParse::setSetting().
| SqlEditor::~SqlEditor | ( | ) | [inline] |
| void SqlEditor::saveOnExit | ( | ) |
Referenced by LiteManWindow::closeEvent().
| void SqlEditor::setFileName | ( | const QString & | fname | ) |
| QString SqlEditor::fileName | ( | ) | [inline] |
| void SqlEditor::setStatusMessage | ( | const QString & | message = 0 |
) |
| void SqlEditor::showSqlResult | ( | QString | command | ) | [signal] |
This signal is emitted when user clicks on the one of "run" actions. It's handled in main window later.
| command | current SQL statement in the editor. |
| void SqlEditor::sqlScriptStart | ( | ) | [signal] |
It's emitted when the script is started.
| void SqlEditor::showSqlScriptResult | ( | QString | line | ) | [signal] |
Emitted on demand in the script. Line is appended to the script output.
| void SqlEditor::buildTree | ( | ) | [signal] |
Request for complete object tree refresh. It's used in "Run as Script".
| void SqlEditor::rebuildViewTree | ( | QString | schema, | |
| QString | name | |||
| ) | [signal] |
Rebuild part of the tree.
1.5.5