QCAD
Open Source 2D CAD
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
RCommandLine Class Reference

Copyright (c) 2011-2014 by Andrew Mustun. More...

#include <RCommandLine.h>

List of all members.

Signals

void clearHistory ()
void commandConfirmed (const QString &command)
void completeCommand (const QString &command)

Public Member Functions

void appendCommand (const QString &cmd)
QString getLastCommand ()
 RCommandLine (QWidget *parent=0)
 Copyright (c) 2011-2014 by Andrew Mustun.

Protected Member Functions

virtual bool event (QEvent *event)
virtual void keyPressEvent (QKeyEvent *event)

Private Attributes

QStringList history
QStringList::iterator it

Detailed Description

Copyright (c) 2011-2014 by Andrew Mustun.

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 wrapped for script environments.

Constructor & Destructor Documentation

RCommandLine::RCommandLine ( QWidget *  parent = 0)

Copyright (c) 2011-2014 by Andrew Mustun.

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.


Member Function Documentation

void RCommandLine::appendCommand ( const QString &  cmd)
void RCommandLine::clearHistory ( )
signal
void RCommandLine::commandConfirmed ( const QString &  command)
signal
void RCommandLine::completeCommand ( const QString &  command)
signal
bool RCommandLine::event ( QEvent *  event)
protectedvirtual
QString RCommandLine::getLastCommand ( )
void RCommandLine::keyPressEvent ( QKeyEvent *  event)
protectedvirtual

Member Data Documentation

QStringList RCommandLine::history
private
QStringList::iterator RCommandLine::it
private

The documentation for this class was generated from the following files: