Skip to content

RCommandLine

Class in GUI Module
Header: #include <src/gui/RCommandLine.h>
Inherits: QLineEdit

All rights reserved.

This file is part of the QCAD project.

QCAD is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

QCAD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with QCAD.

Scriptable: This class is available in script environments.

RCommandLine(QWidget *parent=0)
void appendCommand(const QString &cmd)
QStringList getHistory() const
QString getLastCommand()
void setHistory(QStringList &h)
void triggerCommand(const QString &cmd)
void paste()
virtual bool event(QEvent *event)
virtual void keyPressEvent(QKeyEvent *event)
QStringList history
QStringList::iterator it
void clearHistory()
void commandConfirmed(const QString &command)
void completeCommand(const QString &command)
void escape()

RCommandLine::RCommandLine(QWidget *parent=0)

All rights reserved.

This file is part of the QCAD project.

QCAD is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

QCAD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with QCAD.

void RCommandLine::appendCommand(const QString &cmd)

QStringList RCommandLine::getHistory() const

const

QString RCommandLine::getLastCommand()

void RCommandLine::setHistory(QStringList &h)

void RCommandLine::triggerCommand(const QString &cmd)

inline

void RCommandLine::paste()

virtual bool RCommandLine::event(QEvent *event)

virtual protected

virtual void RCommandLine::keyPressEvent(QKeyEvent *event)

virtual protected

QStringList RCommandLine::history

private

QStringList::iterator RCommandLine::it

private

void RCommandLine::clearHistory()

void RCommandLine::commandConfirmed(const QString &command)

void RCommandLine::completeCommand(const QString &command)

void RCommandLine::escape()