![]() | Class layout | ![]() |
![]() ![]() Introduction ![]() ![]() ![]() no help | ![]() | layout Class Referencemain widget class more... Public Member Functions
Public Attributes
Detailed DescriptionThis class is the main widget of the windows from which the macro was executed. It is directly accessible via the classname "layout".
layout->filename="/var/layouts/samples1.gds"; Most methods of this call require a user dialog. A direct access of the drawing is possible via the member drawing. drawingField Member Documentation
|
caption | the title of the window. |
label | this string will be displayed inside the window. |
execute macro
Another macro is executed. The execution of this macro stopped until the termination of the new started macro.
filename | filename of the macro. |
file open
It opened a file dialog. The selected file will be loaded.
file import
It opened a file dialog. The selected file will be imported.(= add to the existing file)
set cellname
You will be prompted to enter a name for the current displayed cell.
file save
The actual file will be saved. If filename is empty, you will be prompted to enter a filename.
file save as
You will be prompted to enter a filename. The actuell file will be saved.
A printer dialog will be opened.
set shortcut
Use this function to modify any existing shortcut. It returns true, if the modification was successful.
get text
The user will be prompted to enter a text.
caption | the title of the window. |
lable | this string will be displayed inside the window. |
get integer
The user will be prompted to enter a integer.
caption | the title of the window. |
lable | this string will be displayed inside the window. |
get double
The user will be prompted to enter a double.
caption | the title of the window. |
lable | this string will be displayed inside the window. |
show message in statusbar
A message will be displayed in the statusbar for 2 seconds.
lable | this string will be displayed in the statusbar. |
set cell
You will be prompted to select a cell. The cell will be displayed.
screenshot
The screen will be saved. You will be prompted to enter a filename.
screenshot
The screen will be saved in the file with the name filename. The type is selected by the extension.
group selected elements
All selected elements are moved to a new cell. A correlating cellref will be added.
delete
After a confirmation the current display cell will be deleted. If there are no more cell in the drawing, a new empty cell will be created.
new cell
A new empty cell will be added.
debug mode
True if the debug mode is on.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
© 2008 Jürgen Thies