AcuDialog

AcuDialog is a Python module that provides a dialog with different types of menus on it.

General Structure

You will answer questions in this dialog and then return it. AcuDialog presents a main window to you to answer some questions.

This window shows a rich set of menus for different types and functionalities: Integer, Real, Boolean, String, TextArea, Enumeration, File, Directory, Function, Information, Slider, Space, Password, Font and Color. Each menu displays a label, followed by a widget to obtain your input. They are named as followings:
MenuBool
An on/off boolean menu
MenuColor
A menu which allows you to select a color
MenuDir
A menu which allows you to select a directory
MenuEnum
An enumerated menu, select from a list
MenuFile
A menu which allows you to select a file
MenuInt
An integer menu
MenuPasswd
A password menu
MenuReal
A floating point menu
MenuSlider
A slider menu
MenuSpace
A space menu which places an empty row between menus
MenuStr
A string menu
MenuTarea
A text area menu

Also, you can categorize a group of related menus in a tab separating them from the menus placed in the other tabs.

In short, each menu has a name, which is displayed as its label and three help arguments: tooltip, whatsthis and helpURL.

The values displayed in the menu is extracted automatically from the data base or settings (based on the arguments passed to menu functions), and upon change by you, it is placed back into the data base or settings. When the menu is first executed, the data base or settings is checked for value, if there is no par defined, it is initialized by the default value.

This documentation shows how you can add customized menus to an object of AcuDialog and define customized functionality for each change in menu's value after you click the OK button in the dialog.