#include <Entwicklung/moneypenny/src/guiprintermanualsetup.h>
Collaboration diagram for GuiPrinterManualSetup:
show()
method and the rest is done by the class itself.
helpRequest
, back
, showSmallHelp
, on_pushButton_help_clicked
).
Definition at line 53 of file guiprintermanualsetup.h.
|
ORable bitmasks for en-/disabling widgets. You can use
Definition at line 259 of file guiprintermanualsetup.h. |
|
Constructs a new printer manual setup dialog.
Definition at line 60 of file guiprintermanualsetup.cpp. References back(), LPS_DB_DOCUMENT_NAME, m_db, and m_translationRecommended. |
|
This destructor 'takes care' of manually allocated memory. Definition at line 73 of file guiprintermanualsetup.cpp. References m_db. |
|
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 GuiPrinterManualSetup(). |
|
This method en-/disables widgets according to the appropriate bitmask.
Definition at line 88 of file guiprintermanualsetup.cpp. References DetailsFlag, DriversFlag, ManufacturersFlag, ModelsFlag, PortsFlag, and SaveSettingsFlag. Referenced by on_comboBox_ports_activated(), on_listBox_drivers_highlighted(), on_listBox_manufacturers_highlighted(), on_listBox_models_highlighted(), and show(). |
|
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 is called if comboBox_ports is activated. It enables the pushButton_saveSettings.
Definition at line 402 of file guiprintermanualsetup.cpp. References AllFlags, enableWidgets(), and SaveSettingsFlag. |
|
This slot is called if an item in listBox_drivers is highlighted. It fills the comboBox_ports with the on this machine founded ports to connect a printer.
Definition at line 219 of file guiprintermanualsetup.cpp. References AllFlags, enableWidgets(), and SaveSettingsFlag. |
|
This slot is called if an item in listBox_manufacturers is highlighted. It fills the listBox_models with the associated models outof the database.
Definition at line 115 of file guiprintermanualsetup.cpp. References AllFlags, DetailsFlag, DriversFlag, enableWidgets(), PrinterSetupDb::getModels(), m_db, ModelsFlag, PortsFlag, and SaveSettingsFlag. |
|
This slot is called if an item in listBox_models is highlighted. It fills the listBox_drivers with the associated drivers outof the database.
Definition at line 158 of file guiprintermanualsetup.cpp. References AllFlags, DetailsFlag, DriversFlag, enableWidgets(), PrinterSetupDb::getDriversByModel(), m_db, m_translationRecommended, PortsFlag, and SaveSettingsFlag. |
|
This slot is called when the user clicks on pushButton_driverDetails ("More Driver Information"). It opens a popup with details about the selected driver. Definition at line 423 of file guiprintermanualsetup.cpp. References m_translationRecommended, and showPrinterDriverDetails. |
|
This slot calls the right help page for manual printer setup. Definition at line 249 of file guiprintermanualsetup.cpp. References helpRequest(). |
|
This slot is called, when the user clicks on the "Save Settings" button. Then the current printer configuration is saved and the user may decide whether to print a test page or not.
Definition at line 263 of file guiprintermanualsetup.cpp. References PrinterSetupDb::getDriverByModel(), installPrinter, m_db, m_translationRecommended, and testPrintRequest. |
|
Reads the ports using lpinfo and puts the results into comboBoxPorts.
Definition at line 442 of file guiprintermanualsetup.cpp. References LinuxPrinterSetup::sudo(). Referenced by show(). Here is the call graph for this function: |
|
Shows the widget and its child widgets. This method might take a while until it returns because the XML printer driver database is loaded.
Definition at line 324 of file guiprintermanualsetup.cpp. References enableWidgets(), PrinterSetupDb::getManufacturers(), LPS_DB_FILE, LPS_PRINTER_NAME, m_db, ManufacturersFlag, NoneFlag, readPorts(), 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 a QDom document for our database. Definition at line 274 of file guiprintermanualsetup.h. Referenced by GuiPrinterManualSetup(), on_listBox_manufacturers_highlighted(), on_listBox_models_highlighted(), on_pushButton_saveSettings_clicked(), show(), and ~GuiPrinterManualSetup(). |
|
The translation of the word "recommended". Set on show. Definition at line 280 of file guiprintermanualsetup.h. Referenced by GuiPrinterManualSetup(), on_listBox_models_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) |