ArthurFrame Class Reference

#include <arthurwidgets.h>

List of all members.

Public Slots

void setPreferImage (bool pi)
void setDescriptionEnabled (bool enabled)
void showSource ()

Signals

void descriptionEnabledChanged (bool)

Public Member Functions

 ArthurFrame (QWidget *parent)
virtual void paint (QPainter *)
void paintDescription (QPainter *p)
void loadDescription (const QString &filename)
void setDescription (const QString &htmlDesc)
void loadSourceFile (const QString &fileName)
bool preferImage () const

Protected Member Functions

void paintEvent (QPaintEvent *)
void resizeEvent (QResizeEvent *)

Protected Attributes

QPixmap m_tile
bool m_show_doc
bool m_prefer_image
QTextDocument * m_document
QString m_sourceFileName


Detailed Description

Definition at line 68 of file arthurwidgets.h.


Constructor & Destructor Documentation

ArthurFrame::ArthurFrame ( QWidget *  parent  ) 

Definition at line 58 of file arthurwidgets.cpp.


Member Function Documentation

void ArthurFrame::descriptionEnabledChanged ( bool   )  [signal]

void ArthurFrame::loadDescription ( const QString &  filename  ) 

Definition at line 226 of file arthurwidgets.cpp.

void ArthurFrame::loadSourceFile ( const QString &  fileName  ) 

Definition at line 296 of file arthurwidgets.cpp.

virtual void ArthurFrame::paint ( QPainter *   )  [inline, virtual]

Definition at line 73 of file arthurwidgets.h.

void ArthurFrame::paintDescription ( QPainter *  p  ) 

Definition at line 244 of file arthurwidgets.cpp.

void ArthurFrame::paintEvent ( QPaintEvent *  e  )  [protected]

Definition at line 114 of file arthurwidgets.cpp.

bool ArthurFrame::preferImage (  )  const [inline]

Definition at line 83 of file arthurwidgets.h.

void ArthurFrame::resizeEvent ( QResizeEvent *  e  )  [protected]

Definition at line 208 of file arthurwidgets.cpp.

void ArthurFrame::setDescription ( const QString &  htmlDesc  ) 

Definition at line 238 of file arthurwidgets.cpp.

void ArthurFrame::setDescriptionEnabled ( bool  enabled  )  [slot]

Definition at line 217 of file arthurwidgets.cpp.

void ArthurFrame::setPreferImage ( bool  pi  )  [inline, slot]

Definition at line 90 of file arthurwidgets.h.

void ArthurFrame::showSource (  )  [slot]

Definition at line 301 of file arthurwidgets.cpp.


Member Data Documentation

QTextDocument* ArthurFrame::m_document [protected]

Definition at line 114 of file arthurwidgets.h.

bool ArthurFrame::m_prefer_image [protected]

Definition at line 113 of file arthurwidgets.h.

bool ArthurFrame::m_show_doc [protected]

Definition at line 112 of file arthurwidgets.h.

QString ArthurFrame::m_sourceFileName [protected]

Definition at line 116 of file arthurwidgets.h.

QPixmap ArthurFrame::m_tile [protected]

Definition at line 110 of file arthurwidgets.h.


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

Generated on Wed Jun 3 09:01:11 2009 for rcube by  doxygen 1.5.9