Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

Handbook Class Reference

#include <handbook.h>

Inheritance diagram for Handbook:

Inheritance graph
[legend]
Collaboration diagram for Handbook:

Collaboration graph
[legend]
List of all members.

Detailed Description

Handbook window widget.

Definition at line 33 of file handbook.h.

Signals

void closed ()

Public Member Functions

 Handbook (QWidget *parent=0, const char *name=0)
void closeEvent (QCloseEvent *e)

Private Attributes

QGridLayout * grid
QTextBrowser * browser
QPixmap * windowIcon
 Window icon.


Constructor & Destructor Documentation

Handbook::Handbook QWidget parent = 0,
const char *  name = 0
 

Definition at line 31 of file handbook.cpp.

References browser, DEFAULT_HEIGHT, DEFAULT_WIDTH, grid, HANDBOOK_PATH, IMAGE_PATH, and windowIcon.

00032                                        : 
00033                     QWidget(parent,name)
00034 {
00035   //--
00036   //set window title
00037   setCaption( tr("Album Shaper Handbook"));  
00038   //--
00039   browser = new QTextBrowser( this ); 
00040   browser->setFrameStyle( QFrame::Panel | QFrame::Sunken );
00041   browser->mimeSourceFactory()->setFilePath( QStringList(HANDBOOK_PATH) );
00042   browser->setSource( "index.html");
00043   
00044   grid = new QGridLayout( this, 1, 1, 0);
00045   grid->addWidget( browser, 0, 0 );
00046   
00047   resize( DEFAULT_WIDTH, DEFAULT_HEIGHT );
00048   
00049   setCaption( tr("Album Shaper Handbook") );
00050   windowIcon = new QPixmap(QString(IMAGE_PATH)+"albumShaperIcon.png");
00051   setIcon( *windowIcon );
00052 
00053 }


Member Function Documentation

void Handbook::closed  )  [signal]
 

Referenced by closeEvent().

void Handbook::closeEvent QCloseEvent *  e  ) 
 

Definition at line 55 of file handbook.cpp.

References closed().

00056 {
00057   closed();
00058   QWidget::closeEvent( e );
00059 }


Member Data Documentation

QTextBrowser* Handbook::browser [private]
 

Definition at line 46 of file handbook.h.

Referenced by Handbook().

QGridLayout* Handbook::grid [private]
 

Definition at line 45 of file handbook.h.

Referenced by Handbook().

QPixmap* Handbook::windowIcon [private]
 

Window icon.

Definition at line 49 of file handbook.h.

Referenced by Handbook().


The documentation for this class was generated from the following files:
Generated on Thu Nov 13 00:11:07 2003 for AlbumShaper by doxygen 1.3.4