SqlEditor Class Reference

Execute Query dialog. Simple SQL editor. It allows simple editing capabilities for user. There is a simple syntax highlighting (see SqlHighlighter class). More...

#include <sqleditor.h>

List of all members.

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)


Detailed Description

Execute Query dialog. Simple SQL editor. It allows simple editing capabilities for user. There is a simple syntax highlighting (see SqlHighlighter class).

Author:
Petr Vanek <petr@scribus.info>

Constructor & Destructor Documentation

SqlEditor::SqlEditor ( QWidget *  parent = 0  ) 

SqlEditor::~SqlEditor (  )  [inline]


Member Function Documentation

void SqlEditor::saveOnExit (  ) 

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.

Parameters:
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.


The documentation for this class was generated from the following files:

Generated on Sat Jul 26 09:05:56 2008 for Sqliteman by  doxygen 1.5.5