Printer configurator |
dialogs.ycp |
Main dialogs. |
|
|
Main dialogs.
Imports
- CUPS
- Label
- Mode
- Popup
- Printer
- PrinterTest
- Printerdb
- Printerlib
- Report
- Spooler
- Wizard
- Wizard_hw
Includes
- printer/helps.ycp
- printer/misc.ycp
Local Functions
|
|
|
local ReadDialog () -> symbol
|
|
Read settings dialog
- Return value:
|
`abort if aborted and `next otherwise |
local WriteDialog () -> symbol
|
|
Write settings dialog
- Return value:
|
`abort if aborted and `next otherwise |
local AnyToInteger (any a) -> integer
|
|
Casts value type to integer if you know what I am talking about.
// FIXME drop for new interpreter
- Parameters:
- Return value:
local DisplayPrinterPopup (map info, string vdb, string mdb) -> void
|
|
Display printer information popup
- Parameters:
info |
map containing info about printer from SuSE database |
vdb |
string database key of printer vendor |
mdb |
string database key of printer model |
local runManufModelDialog () -> symbol
|
|
Ask about the manufacuturer and the model of the printer.
Uses global printer
- Return value:
local runDownloadPpdFile () -> symbol
|
|
Run dialog
- Return value:
local runInstalledPrinterDialog () -> symbol
|
|
Run dialog
- Return value:
local runPpdSelectDialog () -> symbol
|
|
Dialog for choosing configuration.
- Return value:
local runNameDialog (boolean allow_auto) -> symbol
|
|
Configuration of printer names.
- Parameters:
allow_auto |
boolean true if should be allowed to omit printer name |
- Return value:
local choosePrinterOrClass () -> string
|
|
Choose one printer from list of printers
- Return value:
local runMembersDialog () -> symbol
|
|
Members of class
- Return value:
local runOptionsDialog () -> symbol
|
|
Configuration of the filter. It is quite complicated because there can
be depended options so change of value (lower list) can change content
of options (upper list).
- Return value:
local createEditDialog () -> void
|
|
Create contents for edit dialog. Calls Setwizardcontents at the end.
local runEditDialog () -> symbol
|
|
Complex edit dialog for printer...
- Return value:
local runAdvancedDialog () -> symbol
|
|
Start dialog with advanced spooler settings
- Return value:
local runCupsUsbDeviceTypeDialog () -> symbol
|
|
Dialog for choosing what kind of devices to use
- Return value:
local detectConfigType () -> symbol
|
|
Decide how to configure autodetected printer
- Return value:
local runQueuesProposalDialog () -> symbol
|
|
Show printer details in one window
- Return value:
local getAutoprobedSelectionBox (integer current_sel) -> list
|
|
Create contents of table of autodetected printers.
- Parameters:
current_sel |
currently selected item |
- Return value:
|
list of items, `ids are indexes to autoprobed_printers list |
local runProbeDialog () -> symbol
|
|
Restart detection of printers.
- Return value:
local runDetectedDialog () -> symbol
|
|
Common detected hardware dialog.
- Return value:
local runComplexDialog () -> symbol
|
|
Complex dialog.
- Return value:
local getInstType () -> symbol
|
|
Detect installation type
- Return value:
local markQueueYaST () -> symbol
|
|
Mark the queue as the queue maintained by YaST
- Return value:
local storePrinter () -> symbol
|
|
We need this wrapper because of wizard sequencer.
- Return value:
|
`next for wizard sequencer |
|