GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
QwtArrowButton(3) Qwt User's Guide QwtArrowButton(3)

QwtArrowButton -

#include <qwt_arrow_button.h>


QwtArrowButton (int num, Qt::ArrowType, QWidget *parent=NULL)
 
virtual ~QwtArrowButton ()
 
Qt::ArrowType arrowType () const
 
virtual QSize minimumSizeHint () const
 
int num () const
 
virtual QSize sizeHint () const
 


virtual QSize arrowSize (Qt::ArrowType, const QSize &boundingSize) const
 
virtual void drawArrow (QPainter *, const QRect &, Qt::ArrowType) const
 
virtual void drawButtonLabel (QPainter *p)
 
virtual void keyPressEvent (QKeyEvent *)
 
virtual QRect labelRect () const
 
virtual void paintEvent (QPaintEvent *event)
 

Arrow Button.
A push button with one or more filled triangles on its front. An Arrow button can have 1 to 3 arrows in a row, pointing up, down, left or right.

Parameters:
num Number of arrows
 
arrowType see Qt::ArowType in the Qt docs.
 
parent Parent widget

Calculate the size for a arrow that fits into a rect of a given size
Parameters:
arrowType Arrow type
 
boundingSize Bounding size
Returns:
Size of the arrow

Draw an arrow int a bounding rect
Parameters:
painter Painter
 
r Rectangle where to paint the arrow
 
arrowType Arrow type

Draw the button label. Parameters:
painter Painter
See also:
The Qt Manual on QPushButton

Returns:
the bounding rect for the label

Paint event handler
Parameters:
event Paint event

Returns:
a size hint

Generated automatically by Doxygen for Qwt User's Guide from the source code.
Tue Nov 20 2012 Version 5.2.3

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.