Helper class for VuoConsole.
Definition at line 19 of file VuoConsoleWindow.hh.
Public Member Functions | |
VuoConsoleWindow (VuoConsole *console, QWidget *screenMate) | |
Initializes a window that is ready to have its model populated and be shown. | |
void | setModel (const QStringList &logs) |
Sets the data model for the list of logs. | |
QStringList | getModel (void) |
Retrieves the data model for the list of logs. | |
QList< QVariant > | getSelectedIndices (void) |
Retrieves the row indices that are currently selected in the list of logs. | |
VuoRecentFileMenu * | getRecentFileMenu (void) |
Returns the "File > Open Recent" menu associated with this console window. | |
VuoConsoleWindow::VuoConsoleWindow | ( | VuoConsole * | console, |
QWidget * | screenMate | ||
) |
Initializes a window that is ready to have its model populated and be shown.
Definition at line 20 of file VuoConsoleWindow.cc.
QStringList VuoConsoleWindow::getModel | ( | void | ) |
Retrieves the data model for the list of logs.
Definition at line 63 of file VuoConsoleWindow.cc.
VuoRecentFileMenu * VuoConsoleWindow::getRecentFileMenu | ( | void | ) |
Returns the "File > Open Recent" menu associated with this console window.
Definition at line 200 of file VuoConsoleWindow.cc.
QList< QVariant > VuoConsoleWindow::getSelectedIndices | ( | void | ) |
Retrieves the row indices that are currently selected in the list of logs.
Definition at line 71 of file VuoConsoleWindow.cc.
void VuoConsoleWindow::setModel | ( | const QStringList & | logs | ) |
Sets the data model for the list of logs.
Definition at line 55 of file VuoConsoleWindow.cc.