28 #ifndef __TERRALIB_QTWIDGETS_CEDITOR_IOWIDGET_H__ 29 #define __TERRALIB_QTWIDGETS_CEDITOR_IOWIDGET_H__ 32 #include "../Config.h" 35 #include <QPlainTextEdit> 56 QString prompt()
const;
62 void setPrompt(
const QString &prompt);
65 void keyPressEvent(QKeyEvent *e);
72 void handleLeft(QKeyEvent *event);
92 QString getCommand()
const;
98 bool isWritable(
const QTextCursor &cursor);
104 int getIndex(
const QTextCursor &cursor);
128 void command(QString command);
142 void append(QString text);
147 #endif // __TERRALIB_QTWIDGETS_CEDITOR_IOWIDGET_H__