Aimsun Next Scripting
22
|
Public Types | |
enum | G2DViewTimeWidgetMode { eActive , eInactiveWithUpdates , eInactiveWithoutUpdates } |
Public Slots | |
void | stopTimer () |
Public Member Functions | |
G2DViewWindow (QWidget *parent, const QString &caption, Qt::WindowFlags wflags) | |
~G2DViewWindow () | |
void | invalidate () |
void | setMode (GKViewMode *amode, GKObject *originator=0) |
GKViewMode * | getMode () const |
void | readModes (GKViewMode *modeDeleted=0) |
void | setTimer (const GKTimeDuration &aStep, uint msegs) |
const GKTimeDuration & | getRefreshInterval () const |
uint | getRefreshSpeed () const |
void | panTheRest (const GKPoint &point) |
void | cut () |
void | copy () |
void | paste () |
void | clear () |
![]() | |
if (base) | |
Py_END_ALLOW_THREADS End | GViewWindow (QWidget *parent, Qt::WindowFlags wflags) |
virtual void | setMode (GKViewMode *, GKObject *=NULL) |
GView * | getView () const |
Additional Inherited Members | |
![]() | |
ConvertToSubClassCode Py_BEGIN_ALLOW_THREADS GViewWindow * | base = (GViewWindow*)sipCpp |
sipType = 0 | |
A window that contains a 2D View and some extra controls to modify the following view settings:
G2DViewWindow::G2DViewWindow | ( | QWidget * | parent, |
const QString & | caption, | ||
Qt::WindowFlags | wflags | ||
) |
G2DViewWindow::~G2DViewWindow | ( | ) |
void G2DViewWindow::clear | ( | ) |
void G2DViewWindow::copy | ( | ) |
void G2DViewWindow::cut | ( | ) |
GKViewMode * G2DViewWindow::getMode | ( | ) | const |
Returns the active view mode in the view, None if no mode is active.
const GKTimeDuration & G2DViewWindow::getRefreshInterval | ( | ) | const |
uint G2DViewWindow::getRefreshSpeed | ( | ) | const |
void G2DViewWindow::invalidate | ( | ) |
Invalidates the G2DView.
void G2DViewWindow::panTheRest | ( | const GKPoint & | point | ) |
void G2DViewWindow::paste | ( | ) |
void G2DViewWindow::readModes | ( | GKViewMode * | modeDeleted = 0 | ) |
Read (or reread) all the modes in the model. It supports an argument containing a deleted mode to do not take into account.
|
virtual |
Set the mode to be use in the view.
Reimplemented from GViewWindow.
void G2DViewWindow::setTimer | ( | const GKTimeDuration & | aStep, |
uint | msegs | ||
) |
Timer programming: It's an automatic timer that moves the Now (in the time context) from the begining to the end of the period (in the time context) in steps of "aStep" every "msegs" miliseconds.
|
slot |