Main Page | Class List | File List | Class Members | File Members | Related Pages

KWebSnapWidget Class Reference

This is the class for the main GUI widget in the main dialog. More...

#include <kwebsnapwidget.h>

List of all members.

Public Slots

virtual void slotHelp ()
virtual void slotConfig ()
virtual void slotQuit ()
virtual void slotAbout ()
virtual void slotStop ()
virtual void slotStart ()
virtual void slotSnapshot ()
virtual void setPreview (const QPixmap &pm)
virtual void setLabel (const QString &text)
virtual void setStop (bool enable)
virtual void setStart (bool enable)
virtual void setConfig (bool enable)

Public Member Functions

 KWebSnapWidget (QWidget *parent=0, const char *name=0, WFlags fl=0)
 ~KWebSnapWidget ()
QPixmap preview ()
int previewWidth ()
int previewHeight ()


Detailed Description

This is the class for the main GUI widget in the main dialog.

This class represents all the GUI in the main dialog. It inherits the class generated by uic from kwebsnapwidget.ui. This class mainly just transfers all the signals from its widgets to KWebSnap. It also provides some slots for affecting the GUI.

Definition at line 49 of file kwebsnapwidget.h.


Constructor & Destructor Documentation

KWebSnapWidget::KWebSnapWidget QWidget *  parent = 0,
const char *  name = 0,
WFlags  fl = 0
 

Default constructor.

Parameters:
parent parent widget
name the name of the widget
fl window flags

Definition at line 36 of file kwebsnapwidget.cpp.

KWebSnapWidget::~KWebSnapWidget  ) 
 

Default destructor.

Definition at line 48 of file kwebsnapwidget.cpp.


Member Function Documentation

QPixmap KWebSnapWidget::preview  ) 
 

Returns the preview pixmap

Returns:
the preview pixmap

Definition at line 88 of file kwebsnapwidget.cpp.

int KWebSnapWidget::previewHeight  ) 
 

Returns the height of the preview pixmap.

Returns:
the preview height

Definition at line 99 of file kwebsnapwidget.cpp.

int KWebSnapWidget::previewWidth  ) 
 

Returns the width of the preview pixmap.

Returns:
the preview width

Definition at line 94 of file kwebsnapwidget.cpp.

void KWebSnapWidget::setConfig bool  enable  )  [virtual, slot]
 

Enables or disables the Config button.

Parameters:
enable the new state of the button

Definition at line 124 of file kwebsnapwidget.cpp.

Referenced by KWebSnap::slotStart(), and KWebSnap::slotStop().

void KWebSnapWidget::setLabel const QString &  text  )  [virtual, slot]
 

Sets the status label to text.

Parameters:
text the new status text

Definition at line 109 of file kwebsnapwidget.cpp.

void KWebSnapWidget::setPreview const QPixmap &  pm  )  [virtual, slot]
 

Sets the preview to pixmap pm.

Parameters:
pm the new preview pixmap

Definition at line 104 of file kwebsnapwidget.cpp.

void KWebSnapWidget::setStart bool  enable  )  [virtual, slot]
 

Enables or disables the Start button.

Parameters:
enable the new state of the button

Definition at line 114 of file kwebsnapwidget.cpp.

Referenced by KWebSnap::slotStart(), and KWebSnap::slotStop().

void KWebSnapWidget::setStop bool  enable  )  [virtual, slot]
 

Enables or disables the Stop button.

Parameters:
enable the new state of the button

Definition at line 119 of file kwebsnapwidget.cpp.

Referenced by KWebSnap::KWebSnap(), KWebSnap::slotStart(), and KWebSnap::slotStop().

void KWebSnapWidget::slotAbout  )  [virtual, slot]
 

About button slot.

Definition at line 68 of file kwebsnapwidget.cpp.

void KWebSnapWidget::slotConfig  )  [virtual, slot]
 

Configure button slot.

Definition at line 58 of file kwebsnapwidget.cpp.

void KWebSnapWidget::slotHelp  )  [virtual, slot]
 

Help button slot.

Definition at line 53 of file kwebsnapwidget.cpp.

void KWebSnapWidget::slotQuit  )  [virtual, slot]
 

Quit button slot.

Definition at line 63 of file kwebsnapwidget.cpp.

void KWebSnapWidget::slotSnapshot  )  [virtual, slot]
 

Snapshot button slot.

Definition at line 83 of file kwebsnapwidget.cpp.

void KWebSnapWidget::slotStart  )  [virtual, slot]
 

Start button slot.

Definition at line 78 of file kwebsnapwidget.cpp.

void KWebSnapWidget::slotStop  )  [virtual, slot]
 

Stop button slot.

Definition at line 73 of file kwebsnapwidget.cpp.


The documentation for this class was generated from the following files:
Generated on Mon Sep 5 12:52:34 2005 for kwebsnap.kdevelop by  doxygen 1.3.9.1