PrintWidget Class Reference

GUI Widget of Urpo printing. More...

#include <printwidget.h>

List of all members.

Public Slots

void setStatus (QString message=QString(), bool busy=false)
 Set status information.
void setReady (bool ready)
 Set ready to print.
void browseFile ()
void doPrint ()
 Press browse button.
void doCancel ()
 Press print button.


void cancel ()
 User press Cancel button.
void reconnect ()
 User press Reconnect button.
void print (QString file, QString options)
 User press Print button.

Public Member Functions

 PrintWidget (QWidget *parent=0)
void setPrinters (QStringList printers)
 Set printers.

Detailed Description

GUI Widget of Urpo printing.

Arto Hyv├Ąttinen

Definition at line 43 of file printwidget.h.

Member Function Documentation

void PrintWidget::setPrinters ( QStringList  printers  ) 

Set printers.

Set printers and enable printing if printer exists

  • printers List of printer names

Definition at line 141 of file printwidget.cpp.

void PrintWidget::setReady ( bool  ready  )  [slot]

Set ready to print.

Enable print button and set status message to ready

  • ready Is ready to print

Definition at line 156 of file printwidget.cpp.

void PrintWidget::setStatus ( QString  message = QString(),
bool  busy = false 
) [slot]

Set status information.

  • message Message to show. Use html tags for red error color
  • busy Show busy progress bar

Definition at line 123 of file printwidget.cpp.

The documentation for this class was generated from the following files:
Generated on Mon Sep 27 18:46:05 2010 for Urpo by  doxygen 1.6.3