Files
sqlitebrowser/src/sqltextedit.h
T
mgrojo 946d408aaf Improvements for working in the SQL Execution area using keyboard
This addresses two issued mentioned in #2215
# It's possible to focus out of the SQL Editor using Ctrl+PgDown (not used
by QScintilla)
# Ctrl+Tab and Ctrl+Shift+Tab works in all the widgets in the area and
provides the same functionality that the one provided by QTabWidget
(switch for- and backwards through the tabs)
2020-05-02 21:45:20 +02:00

31 lines
461 B
C++

#ifndef SQLTEXTEDIT_H
#define SQLTEXTEDIT_H
#include "ExtendedScintilla.h"
class SqlUiLexer;
/**
* @brief The SqlTextEdit class
* This class is based on the QScintilla widget
*/
class SqlTextEdit : public ExtendedScintilla
{
Q_OBJECT
public:
explicit SqlTextEdit(QWidget *parent = nullptr);
static SqlUiLexer* sqlLexer;
private:
void transferFocus();
public slots:
void reloadSettings();
void toggleBlockComment();
};
#endif