|
Aimsun Next Scripting
22
|
Public Member Functions | |
| DialogSnipper (GKObject *iObject) | |
| DialogSnipper (QDialog *widget) | |
| void | toImage (const QString &iFileName, const QString &iWidgetName) |
| void | setTabByName (const QString &iTabName1, const QString &iTabName2) |
| void | setCombo (const QString &comboName, int index) |
| QString | getComboNames () const |
| QString | getButtonNames () const |
| QString | getToolButtonNames () const |
| QString | getTimeEditNames () const |
| QString | getCheckBoxNames () const |
| QString | getTimeDurationNames () const |
| void | clickButton (const QString &buttonName) |
| void | toggleButton (const QString &buttonName) |
| void | setTimeEdit (const QString &editName, const QTime &time) |
| void | setCheckBox (const QString &checkboxName, bool value) |
| void | setTimeDuration (const QString &editName, const GKTimeDuration &duration) |
| void | resize (int x, int y) |
| void | setGraphTitle (const QString &name, const QString &title) |
| void | setGraphXLabel (const QString &name, const QString &label) |
| void | setGraphYLabel (const QString &name, const QString &label) |
| void | setGraphBackGround (const QString &name, const QString &color) |
| void | enableGrid (const QString &name, bool x, bool y) |
| void | drawGraphLine (const QString &name, double factor, const QString &color, double thickness) |
| void | drawGEHArea (const QString &name, double gehValue, const QString &color, int density) |
| DialogSnipper::DialogSnipper | ( | QDialog * | widget | ) |
Instantiate Dialog Snipper for a QDialog
| void DialogSnipper::clickButton | ( | const QString & | buttonName | ) |
Click the button with buttonName
| void DialogSnipper::drawGEHArea | ( | const QString & | name, |
| double | gehValue, | ||
| const QString & | color, | ||
| int | density | ||
| ) |
Draw the GEH area for the graph with name
| void DialogSnipper::drawGraphLine | ( | const QString & | name, |
| double | factor, | ||
| const QString & | color, | ||
| double | thickness | ||
| ) |
Draw a cone with constant factor around the perfect regression line for the graph with name
| void DialogSnipper::enableGrid | ( | const QString & | name, |
| bool | x, | ||
| bool | y | ||
| ) |
Enable horizontal and/or vertical grid for the graph with name
| QString DialogSnipper::getButtonNames | ( | ) | const |
Get a coma-separated list with all the button names
| QString DialogSnipper::getCheckBoxNames | ( | ) | const |
Get a coma-separated list with all the check-box names
| QString DialogSnipper::getComboNames | ( | ) | const |
Get a coma-separated list with all the combo names
| QString DialogSnipper::getTimeDurationNames | ( | ) | const |
Get a coma-separated list with all the time-duration names
| QString DialogSnipper::getTimeEditNames | ( | ) | const |
Get a coma-separated list with all the time-edit names
| QString DialogSnipper::getToolButtonNames | ( | ) | const |
Get a coma-separated list with all the tool-button names
| void DialogSnipper::resize | ( | int | x, |
| int | y | ||
| ) |
Resize the dialog to x,y
| void DialogSnipper::setCheckBox | ( | const QString & | checkboxName, |
| bool | value | ||
| ) |
Set the check-box with checkboxName to value
| void DialogSnipper::setCombo | ( | const QString & | comboName, |
| int | index | ||
| ) |
Set combo with comboName to the specified index
| void DialogSnipper::setGraphBackGround | ( | const QString & | name, |
| const QString & | color | ||
| ) |
Set the background of the graph with name to color
| void DialogSnipper::setGraphTitle | ( | const QString & | name, |
| const QString & | title | ||
| ) |
Set the title of the graph with name to title
| void DialogSnipper::setGraphXLabel | ( | const QString & | name, |
| const QString & | label | ||
| ) |
Set the x-label of the graph with name to label
| void DialogSnipper::setGraphYLabel | ( | const QString & | name, |
| const QString & | label | ||
| ) |
Set the y-label of the graph with name to label
| void DialogSnipper::setTabByName | ( | const QString & | iTabName1, |
| const QString & | iTabName2 | ||
| ) |
Set focus on tab with iTabName1, and subtab iTabName2 if any
| void DialogSnipper::setTimeDuration | ( | const QString & | editName, |
| const GKTimeDuration & | duration | ||
| ) |
Set the time-duration with editName to duration
| void DialogSnipper::setTimeEdit | ( | const QString & | editName, |
| const QTime & | time | ||
| ) |
Set the time-edit with editName to time ("hh:mm")
| void DialogSnipper::toggleButton | ( | const QString & | buttonName | ) |
Toggle the button with buttonName
| void DialogSnipper::toImage | ( | const QString & | iFileName, |
| const QString & | iWidgetName | ||
| ) |
Create image of dialog if iWidgetName is empty, or the widget with iWidgetName in the dialog if iWidgetName is defined.
1.9.4