class pSpecial : public QWidget

Panel of special buttons.

Inheritance:

pSpecial


Public Fields

QPushButton* configb
QPushButton* playlstb
QPushButton* progb
PixButton* vol_dnb
PixButton* vol_upb

Public Methods

void changeFont( QFont& f )
void changePalette( QPalette& p )
inline void moveAll( QPoint pos )
inline void moveAll( int x, int y )
void moving(QPoint)
[signal]
void newPlayMode(int)
[signal]
signals: void newTimeMode(int)
[signal]
void pmenuOpen()
[public slot]
void pmenuOpen(QPoint)
[public slot]
void pressed(QPoint)
[signal]
pSpecial( QWidget *parent, bool compact=false )
public slots: void tmenuOpen()
[public slot]
void tmenuOpen(QPoint)
[public slot]
inline QPoint xEndPt(void)
inline QPoint yEndPt(void)
~pSpecial( void )

Documentation

pSpecial contains a set of special control buttons. Two of these are for volume control. The others are designed for configuration and such.

Two of the buttons are actually private members of this class. They are connected to two popup menus which select the time display mode and paly mode. The menus emit their state via the two signals of this class.

PixButton* vol_dnb

PixButton* vol_upb
PixButtons for use in volume control.

QPushButton* configb

QPushButton* playlstb

QPushButton* progb
Buttons to be connected to dialog boxes. configb, playlstb, and progb are intended for configuration, catalog editing, and player programming, respectively.

pSpecial( QWidget *parent, bool compact=false )
Class Constructor
Parameters:
parent - The parent object of this widget.
compact - Flag to indicate label style. compact=true tells pSpecial to use short, abbreviated button labels.

~pSpecial( void )
Class Destructor

inline void moveAll( int x, int y )
Moves the object, performing some internal bookkeeping at the same time.

inline void moveAll( QPoint pos )
Overloaded version.

inline QPoint xEndPt(void)
Returns:
The point in the x-direction where this widget ends.

inline QPoint yEndPt(void)
Returns:
The point in the y-direction where this widget ends.

void changePalette( QPalette& p )
Changes the palette of this object to p.

void changeFont( QFont& f )
Changes the font used on the button labels.

public slots: void tmenuOpen()
Public Slot

Slot to open the time mode menu. Provided so that other objects can connect to it.

void tmenuOpen(QPoint)
Public Slot

Overloaded version. Contains the position at which to open the menu.

void pmenuOpen()
Public Slot

Slot to open the play mode menu. Provided so that other objects can connect to it.

void pmenuOpen(QPoint)
Public Slot

Overloaded version. Contains the position at which to open the menu.

signals: void newTimeMode(int)
Signal

Signal to indicate a change in the time display mode. Emits a TimeMode enum. Used by the time mode menu.

void newPlayMode(int)
Signal

Signal to indicate a change in the play mode. Emits a PlayMode enum. Used by the play mode menu.

void pressed(QPoint)
Signal

Emitted when a mouse press-event occurs anywhere else on the panel outside of one of the widgets. Contains the current mouse position, in global screen coordinates.

void moving(QPoint)
Signal

Emitted when a mouse move-event occurs anywhere else on the panel outside of one of the widgets. Contains the current mouse position, in global screen coordinates.


This class has no child classes.
See Also:
PixButton, PixData

alphabetic index hierarchy of classes


Copyright 1997 by John Weiss [John.Weiss@colorado.edu] "generated by doc++"?! More like mangled ...

generated by doc++