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.

Signals

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.

Author:
Arto Hyvättinen
Date:
2010-06-17
Version:
0.1

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 140 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 155 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 122 of file printwidget.cpp.


The documentation for this class was generated from the following files:
 All Classes Functions Enumerations Enumerator
Generated on Mon Jun 21 21:38:16 2010 for Urpo by  doxygen 1.6.3