Scribus
Open source desktop publishing at your fingertips
About Class Reference
Inheritance diagram for About:
Collaboration diagram for About:

Public Types

enum  AboutMode { Default = 0, CheckUpdates = 1 }
 

Public Slots

virtual void setVisible (bool visible)
 

Public Member Functions

 About (QWidget *parent, AboutMode mode=About::Default)
 Constructor for About dialog box. More...
 

Protected Slots

void runUpdateCheck ()
 

Protected Member Functions

virtual void showEvent (QShowEvent *event)
 
QString trAuthorTitle (QString title)
 
QString trTranslationTitle (QString title)
 
QString trLinksTitle (QString title)
 
QString parseAuthorFile (QString fileName)
 
QString parseTranslationFile (QString fileName)
 
QString parseLinksFile (QString fileName)
 

Protected Attributes

QLabel * pixmapLabel1
 
QLabel * buildID
 
QPushButton * okButton
 
QPushButton * checkForUpdateButton
 
QTabWidget * tabWidget2
 
QWidget * tab
 
QWidget * tab_2
 
QWidget * tab_3
 
QWidget * tab_4
 
QWidget * tab_5
 
QWidget * tab_Licence
 
QTextBrowser * authorView
 
QTextBrowser * transView
 
QTextBrowser * onlineView
 
QTextBrowser * updateView
 
QTextBrowser * textViewLicence
 
QVBoxLayout * aboutLayout
 
QVBoxLayout * updateLayout
 
QVBoxLayout * licenceLayout
 
QHBoxLayout * tabLayout
 
QVBoxLayout * tabLayout1
 
QHBoxLayout * tabLayout_2
 
QHBoxLayout * tabLayout_4
 
QHBoxLayout * layout2
 
bool m_firstShow
 
AboutMode m_mode
 

Constructor & Destructor Documentation

About::About ( QWidget *  parent,
AboutMode  diaMode = About::Default 
)

Constructor for About dialog box.

Author
Franz Schmid
Date
Parameters
parentQWidget pointer to parent window
diaModea dialog mode. See AboutMode.
Return values
Aboutdialog

AUTHORS tab

TRANSLATION tab

ONLINE tab (03/04/2004 petr vanek)

UPDATE tab

LICENCE tab

Member Function Documentation

QString About::parseAuthorFile ( QString  fileName)
protected

parse a text file and return an author list in an html table: left the names and right the contact address the html table can be "split" in sections

Parameters
QStringfileName the file to be parsed
Returns
QString the html table
QString About::parseLinksFile ( QString  fileName)
protected

parse a text file and return a links list in html format: left the names and right the contact address the html table can be "split" in sections

Parameters
QStringfileName the file to be parsed
Returns
QString the html table
QString About::parseTranslationFile ( QString  fileName)
protected

parse a text file and return an author list in an html table: left the names and right the contact address the html table can be "split" in sections

Parameters
QStringfileName the file to be parsed
Returns
QString the html table

The documentation for this class was generated from the following files: