Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members

FX::FXPrintDialog Class Reference

Printer selection dialog. More...

#include <FXPrintDialog.h>

Inheritance diagram for FX::FXPrintDialog:

FX::FXDialogBox FX::FXTopWindow FX::FXShell FX::FXComposite FX::FXWindow FX::FXDrawable FX::FXId FX::FXObject List of all members.

Public Types

enum  {
  ID_TO_PRINTER = FXDialogBox::ID_LAST,
  ID_TO_FILE,
  ID_PRINTER_NAME,
  ID_FILE_NAME,
  ID_LANDSCAPE,
  ID_PORTRAIT,
  ID_MEDIA,
  ID_COLLATE_NORMAL,
  ID_COLLATE_REVERSED,
  ID_PAGES_ALL,
  ID_PAGES_EVEN,
  ID_PAGES_ODD,
  ID_PAGES_RANGE,
  ID_PAGES_FIRST,
  ID_PAGES_LAST,
  ID_BROWSE_FILE,
  ID_PROPERTIES,
  ID_COLOR_PRINTER,
  ID_GRAY_PRINTER,
  ID_NUM_COPIES
}

Public Member Functions

 FXPrintDialog (FXWindow *owner, const FXString &name, FXuint opts=0, FXint x=0, FXint y=0, FXint w=0, FXint h=0)
virtual void create ()
void setPrinter (const FXPrinter &pr)
void getPrinter (FXPrinter &pr)
virtual void save (FXStream &store) const
virtual void load (FXStream &store)
virtual ~FXPrintDialog ()

Detailed Description

Printer selection dialog.


Member Enumeration Documentation

anonymous enum
 

Enumeration values:
ID_TO_PRINTER 
ID_TO_FILE 
ID_PRINTER_NAME 
ID_FILE_NAME 
ID_LANDSCAPE 
ID_PORTRAIT 
ID_MEDIA 
ID_COLLATE_NORMAL 
ID_COLLATE_REVERSED 
ID_PAGES_ALL 
ID_PAGES_EVEN 
ID_PAGES_ODD 
ID_PAGES_RANGE 
ID_PAGES_FIRST 
ID_PAGES_LAST 
ID_BROWSE_FILE 
ID_PROPERTIES 
ID_COLOR_PRINTER 
ID_GRAY_PRINTER 
ID_NUM_COPIES 


Constructor & Destructor Documentation

FX::FXPrintDialog::FXPrintDialog FXWindow owner,
const FXString name,
FXuint  opts = 0,
FXint  x = 0,
FXint  y = 0,
FXint  w = 0,
FXint  h = 0
 

Construct print dialog.

virtual FX::FXPrintDialog::~FXPrintDialog  )  [virtual]
 

Destructor.


Member Function Documentation

virtual void FX::FXPrintDialog::create  )  [virtual]
 

Create dialog.

Reimplemented from FX::FXTopWindow.

void FX::FXPrintDialog::setPrinter const FXPrinter pr  ) 
 

Set printer info.

void FX::FXPrintDialog::getPrinter FXPrinter pr  ) 
 

Get printer info.

virtual void FX::FXPrintDialog::save FXStream store  )  const [virtual]
 

Save dialog to a stream.

Reimplemented from FX::FXTopWindow.

virtual void FX::FXPrintDialog::load FXStream store  )  [virtual]
 

Load dialog from a stream.

Reimplemented from FX::FXTopWindow.

Copyright © 1997-2005 Jeroen van der Zijp