This class implements the history for the Python console. More...
#include <PythonConsole.h>
Public Member Functions | |
void | append (const QString &) |
ConsoleHistory () | |
void | first () |
bool | isEmpty () const |
bool | more () |
bool | next () |
bool | prev () |
QString | value () const |
const QStringList & | values () const |
~ConsoleHistory () |
This class implements the history for the Python console.
Definition at line 66 of file PythonConsole.h.
ConsoleHistory::ConsoleHistory | ( | ) |
Definition at line 1125 of file PythonConsole.cpp.
ConsoleHistory::~ConsoleHistory | ( | ) |
Definition at line 1130 of file PythonConsole.cpp.
void ConsoleHistory::append | ( | const QString & | item | ) |
Definition at line 1183 of file PythonConsole.cpp.
Referenced by Gui::PythonConsole::keyPressEvent(), and Gui::PythonConsole::printStatement().
void ConsoleHistory::first | ( | ) |
Definition at line 1134 of file PythonConsole.cpp.
bool ConsoleHistory::isEmpty | ( | void | ) | const |
Definition at line 1170 of file PythonConsole.cpp.
Referenced by Gui::PythonConsole::contextMenuEvent(), Gui::PythonConsole::keyPressEvent(), and Gui::PythonConsole::onCopyHistory().
bool ConsoleHistory::more | ( | ) |
Definition at line 1139 of file PythonConsole.cpp.
bool ConsoleHistory::next | ( | ) |
Definition at line 1144 of file PythonConsole.cpp.
Referenced by Gui::PythonConsole::keyPressEvent().
bool ConsoleHistory::prev | ( | ) |
Definition at line 1157 of file PythonConsole.cpp.
Referenced by Gui::PythonConsole::keyPressEvent().
QString ConsoleHistory::value | ( | ) | const |
Definition at line 1175 of file PythonConsole.cpp.
Referenced by Gui::PythonConsole::keyPressEvent().
const QStringList & ConsoleHistory::values | ( | ) | const |
Definition at line 1189 of file PythonConsole.cpp.
Referenced by Gui::PythonConsole::createMimeDataFromSelection(), and Gui::PythonConsole::onSaveHistoryAs().