#include <Entwicklung/moneypenny/src/guiprinterautosetup.h>
Collaboration diagram for GuiPrinterAutoSetup:
show()
method and the rest is done by the class itself. helpRequest()
, back()
, showSmallHelp()
, on_pushButton_help_clicked()
).
Definition at line 62 of file guiprinterautosetup.h.
|
ORable bitmasks for en-/disabling widgets. You can use
Definition at line 293 of file guiprinterautosetup.h. |
|
Constructs a new printer auto setup dialog
Definition at line 63 of file guiprinterautosetup.cpp. References back(), LPS_DB_DOCUMENT_NAME, m_domDoc, and m_translationRecommended. |
|
This destructor 'takes care' of manually allocated memory Definition at line 78 of file guiprinterautosetup.cpp. References m_domDoc. |
|
This signal is fired, when the user clicks on the "Back" button. It is handled by the sourrounding UI and shall bring the user back to the page that she/he visited before. Referenced by GuiPrinterAutoSetup(). |
|
This method en-/disables widgets according to the appropriate bitmask.
Definition at line 700 of file guiprinterautosetup.cpp. References BackButtonFlag, DriversFlag, HelpButtonFlag, ManualSetupButtonFlag, PrintersFlag, RestartButtonFlag, and SaveSettingsButtonFlag. Referenced by on_listBox_printers_highlighted(), on_pushButton_restart_clicked(), and show(). |
|
This function finds all connected parallel port printers and shows them in the printer list box.
Definition at line 576 of file guiprinterautosetup.cpp. References LinuxPrinterSetup::PrinterDevice::connectionType, LinuxPrinterSetup::PrinterDevice::drivers, fixManufacturer(), PrinterSetupDb::getDrivers(), LPS_PARPORT_DEVICE_DIR, m_domDoc, m_printerMap, PrinterSetupDb::manufacturerExists(), LinuxPrinterSetup::PrinterDevice::nativeManufacturer, LinuxPrinterSetup::PrinterDevice::nativeProduct, and LinuxPrinterSetup::ParPortConnection. Referenced by on_pushButton_restart_clicked(). Here is the call graph for this function: |
|
This function finds all connected USB printers and shows them in the printer list box.
Definition at line 477 of file guiprinterautosetup.cpp. References LinuxPrinterSetup::PrinterDevice::connectionType, LinuxPrinterSetup::PrinterDevice::drivers, fixManufacturer(), PrinterSetupDb::getDrivers(), LPS_USB_DEVICE_PATH, m_domDoc, m_printerMap, PrinterSetupDb::manufacturerExists(), LinuxPrinterSetup::PrinterDevice::nativeManufacturer, LinuxPrinterSetup::PrinterDevice::nativeProduct, and LinuxPrinterSetup::UsbConnection. Referenced by on_pushButton_restart_clicked(). Here is the call graph for this function: |
|
Some PPD files are known to contain unusable manufacturer names that need to be renamed due to compatibility with the printer driver database. A famous example:
Definition at line 728 of file guiprinterautosetup.cpp. Referenced by findParPortPrinters(), and findUsbPrinters(). |
|
This signal is fired, when the user clicks on the "Help" button. The user will be presented with a help page where afore the printer auto setup dialog could be seen.
Referenced by on_pushButton_help_clicked(). |
|
This slot method is called when the user clicks on the "Show all devices" check box. From now on, calls to
Definition at line 423 of file guiprinterautosetup.cpp. References LPS_APP_NAME, and on_pushButton_restart_clicked(). |
|
This slot method is called when the user changes the selection in the driver list box. This event enables certain features of the program like the "Save Settings" button.
Definition at line 249 of file guiprinterautosetup.cpp. |
|
This slot method is called when the user changes the selection in the printer list box. The reaction to this event is, that the driver list box gets filled with appropriate drivers that might work with the selected printer.
Definition at line 273 of file guiprinterautosetup.cpp. References AllFlags, DriversFlag, enableWidgets(), PrinterSetupDb::getDrivers(), m_domDoc, m_printerMap, m_translationRecommended, and SaveSettingsButtonFlag. |
|
This slot method is called when the user clicks on the push button "More Driver Information". It opens a popup with details about the selected driver.
Definition at line 446 of file guiprinterautosetup.cpp. References m_translationRecommended, and showPrinterDriverDetails. |
|
This slot method sends a signal to the surrounding GUI that the help page for automatic printer setup shall be displayed. Definition at line 236 of file guiprinterautosetup.cpp. References helpRequest(). |
|
This slot method sends a signal to the surrounding GUI that the manual printer setup dialog shall be shown Definition at line 464 of file guiprinterautosetup.cpp. References raiseWidget(). |
|
This slot method is called when the user clicks on the "Restart Autodetection" button. On the other side, this method is also always called from within the show function to initialize the printer detection process. Definition at line 354 of file guiprinterautosetup.cpp. References AllFlags, DriversFlag, enableWidgets(), findParPortPrinters(), findUsbPrinters(), m_printerMap, NoneFlag, PrintersFlag, and SaveSettingsButtonFlag. Referenced by on_checkBox_showAllDevices_stateChanged(), and show(). |
|
This slot method is called, when the user clicks on the "Save Settings" button. The current printer configuration is 'saved' and the user is presented with the opportunity to print a test page.
Definition at line 154 of file guiprinterautosetup.cpp. References PrinterSetupDb::getModel(), installPrinter, LPS_PRINTER_NAME, m_domDoc, m_printerMap, m_translationRecommended, LinuxPrinterSetup::ParPortConnection, and testPrintRequest. |
|
This signal is fired when the user clicks on the button to switch to the manual printer setup. It is a hint at the sourrounding GUI to open the manual printer setup dialog. The widgetNumber argument will be
Referenced by on_pushButton_manualSetup_clicked(). |
|
Shows the widget and its child widgets. This method might take a while until it returns because the XML printer driver database is loaded and the printer detection is performed. Definition at line 93 of file guiprinterautosetup.cpp. References BackButtonFlag, enableWidgets(), HelpButtonFlag, LPS_DB_FILE, m_domDoc, NoneFlag, on_pushButton_restart_clicked(), and showSmallHelp(). |
|
This signal is fired, whenever this GUI is shown. A small help/info will be seen in the bottom left corner.
Referenced by show(). |
|
This function installs a printer with the name printerName , connected to the device deviceUri and the driver file ppdFilePath .
m_printername with underscores, otherwise lpadmin will fail.
Definition at line 312 of file globalsprintersetup.cpp. Referenced by on_pushButton_saveSettings_clicked(). |
|
This function tries to find the appropriate XML information file for the driverName in the filesystem. If the file exists, it's information is extracted and presentated in a message box. Such information includes detailed information of the driver capabilities.
xsltproc which does the transformation of the XML file into a displayable string.
Definition at line 187 of file globalsprintersetup.cpp. Referenced by on_pushButton_driverDetails_clicked(). |
|
This function pops up a yes/no message box, that asks if one wants to print test page. If "yes" is chosen, the page is send to the printer that's supposed to actually print it. You must supply the widget from which this function is called, because it's mouse cursor is set to a sandclock/wait symbol.
Definition at line 252 of file globalsprintersetup.cpp. Referenced by on_pushButton_saveSettings_clicked(). |
|
a pointer to the DOM object that handles the underlying DB
Definition at line 329 of file guiprinterautosetup.h. Referenced by findParPortPrinters(), findUsbPrinters(), GuiPrinterAutoSetup(), on_listBox_printers_highlighted(), on_pushButton_saveSettings_clicked(), show(), and ~GuiPrinterAutoSetup(). |
|
contains all printers found during autodetection
Definition at line 328 of file guiprinterautosetup.h. Referenced by findParPortPrinters(), findUsbPrinters(), on_listBox_printers_highlighted(), on_pushButton_restart_clicked(), and on_pushButton_saveSettings_clicked(). |
|
Definition at line 330 of file guiprinterautosetup.h. Referenced by GuiPrinterAutoSetup(), on_listBox_printers_highlighted(), on_pushButton_driverDetails_clicked(), and on_pushButton_saveSettings_clicked(). |
To get more information, please visit our project site hosted at | |
To support this project, please click on this image: |
Copyright © 2005-2006 Linux Printer Setup | Documentation generated by Doxygen 1.4.4 | LPS 1.0 (Disclaimer) |