#include <handbook.h>
Inheritance diagram for Handbook:


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. | |
|
||||||||||||
|
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 } |
|
|
Referenced by closeEvent(). |
|
|
Definition at line 55 of file handbook.cpp. References closed().
00056 {
00057 closed();
00058 QWidget::closeEvent( e );
00059 }
|
|
|
Definition at line 46 of file handbook.h. Referenced by Handbook(). |
|
|
Definition at line 45 of file handbook.h. Referenced by Handbook(). |
|
|
Window icon.
Definition at line 49 of file handbook.h. Referenced by Handbook(). |
1.3.4