• Skip to content
  • Skip to link menu
KDE 4.6 API Reference
  • KDE API Reference
  • kdelibs
  • KDE Home
  • Contact Us
 

KDEUI

Public Slots | Public Member Functions | Properties

KPixmapSequenceWidget Class Reference

A simple widget showing a fixed size pixmap sequence. More...

#include <KPixmapSequenceWidget>

Inheritance diagram for KPixmapSequenceWidget:
Inheritance graph
[legend]

List of all members.

Public Slots

void setInterval (int msecs)
void setSequence (const KPixmapSequence &seq)

Public Member Functions

 KPixmapSequenceWidget (QWidget *parent=0)
 ~KPixmapSequenceWidget ()
int interval () const
KPixmapSequence sequence () const
QSize sizeHint () const

Properties

int interval

Detailed Description

A simple widget showing a fixed size pixmap sequence.

The KPixmapSequenceWidget uses the KPixmapSequenceOverlayPainter to show a sequence of pixmaps. It is intended as a simple wrapper around the KPixmapSequenceOverlayPainter in case a widget is more appropriate than an event filter.

Author:
Sebastian Trueg <trueg@kde.org>
Since:
4.4

Definition at line 43 of file kpixmapsequencewidget.h.


Constructor & Destructor Documentation

KPixmapSequenceWidget::KPixmapSequenceWidget ( QWidget *  parent = 0)

Constructor.

Definition at line 34 of file kpixmapsequencewidget.cpp.

KPixmapSequenceWidget::~KPixmapSequenceWidget ( )

Destructor.

Definition at line 43 of file kpixmapsequencewidget.cpp.


Member Function Documentation

int KPixmapSequenceWidget::interval ( ) const

The interval between frames.

See also:
setInterval, KPixmapSequenceOverlayPainter::interval
KPixmapSequence KPixmapSequenceWidget::sequence ( ) const

The sequence used to draw the overlay.

See also:
setSequence

Definition at line 49 of file kpixmapsequencewidget.cpp.

void KPixmapSequenceWidget::setInterval ( int  msecs) [slot]

Set the interval between frames.

The default is 200.

See also:
interval, KPixmapSequenceOverlayPainter::setInterval

Definition at line 83 of file kpixmapsequencewidget.cpp.

void KPixmapSequenceWidget::setSequence ( const KPixmapSequence &  seq) [slot]

Set the sequence to be used.

By default the KDE busy sequence is used.

Definition at line 70 of file kpixmapsequencewidget.cpp.

QSize KPixmapSequenceWidget::sizeHint ( void  ) const

Definition at line 61 of file kpixmapsequencewidget.cpp.


Property Documentation

int KPixmapSequenceWidget::interval [read, write]

Definition at line 46 of file kpixmapsequencewidget.h.


The documentation for this class was generated from the following files:
  • kpixmapsequencewidget.h
  • kpixmapsequencewidget.cpp

KDEUI

Skip menu "KDEUI"
  • Main Page
  • Modules
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.7.3
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal