• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • tdeui
 

tdeui

Public Slots | Public Member Functions | Protected Member Functions | List of all members
KArrowButton Class Reference

#include <karrowbutton.h>

Inherits TQPushButton.

Public Slots

void setArrowType (TQt::ArrowType a)
 

Public Member Functions

 KArrowButton (TQWidget *parent=0, TQt::ArrowType arrow=TQt::UpArrow, const char *name=0)
 
virtual ~KArrowButton ()
 
virtual TQSize sizeHint () const
 
TQt::ArrowType arrowType () const
 
int arrowTp () const
 
void setArrowTp (int tp)
 

Protected Member Functions

virtual void drawButton (TQPainter *)
 
virtual void virtual_hook (int id, void *data)
 

Detailed Description

Draws a button with an arrow.

Draws a button which shows an arrow pointing into a certain direction. The arrow's alignment on the button depends on the direction it's pointing to, e.g. a left arrow is aligned at the left border, a upwards arrow at the top border. This class honors the currently configured TDEStyle when drawing the arrow.

Author
Frerich Raabe

Definition at line 38 of file karrowbutton.h.

Constructor & Destructor Documentation

◆ KArrowButton()

KArrowButton::KArrowButton ( TQWidget *  parent = 0,
TQt::ArrowType  arrow = TQt::UpArrow,
const char *  name = 0 
)

Constructs an arrow button.

Parameters
parentThis button's parent
arrowThe direction the arrrow should be pointing in
nameAn internal name for this widget

Definition at line 30 of file karrowbutton.cpp.

◆ ~KArrowButton()

KArrowButton::~KArrowButton ( )
virtual

Destructor.

Definition at line 38 of file karrowbutton.cpp.

Member Function Documentation

◆ arrowTp()

int KArrowButton::arrowTp ( ) const
inline

Definition at line 71 of file karrowbutton.h.

◆ arrowType()

TQt::ArrowType KArrowButton::arrowType ( ) const

Returns the arrow type.

Since
3.4

Definition at line 55 of file karrowbutton.cpp.

◆ drawButton()

void KArrowButton::drawButton ( TQPainter *  p)
protectedvirtual

Reimplemented from TQPushButton.

Definition at line 60 of file karrowbutton.cpp.

◆ setArrowTp()

void KArrowButton::setArrowTp ( int  tp)
inline

Definition at line 72 of file karrowbutton.h.

◆ setArrowType

void KArrowButton::setArrowType ( TQt::ArrowType  a)
slot

Defines in what direction the arrow is pointing to.

Will repaint the button if necessary.

Parameters
aThe direction this arrow should be pointing in

Definition at line 48 of file karrowbutton.cpp.

◆ sizeHint()

TQSize KArrowButton::sizeHint ( void  ) const
virtual

Reimplemented from TQPushButton.

Definition at line 43 of file karrowbutton.cpp.

◆ virtual_hook()

void KArrowButton::virtual_hook ( int  id,
void *  data 
)
protectedvirtual

Definition at line 110 of file karrowbutton.cpp.


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

tdeui

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

tdeui

Skip menu "tdeui"
  • arts
  • dcop
  • dnssd
  • interfaces
  •   kspeech
  •     interface
  •     library
  •   tdetexteditor
  • kate
  • kded
  • kdoctools
  • kimgio
  • kjs
  • libtdemid
  • libtdescreensaver
  • tdeabc
  • tdecmshell
  • tdecore
  • tdefx
  • tdehtml
  • tdeinit
  • tdeio
  •   bookmarks
  •   httpfilter
  •   kpasswdserver
  •   kssl
  •   tdefile
  •   tdeio
  •   tdeioexec
  • tdeioslave
  •   http
  • tdemdi
  •   tdemdi
  • tdenewstuff
  • tdeparts
  • tdeprint
  • tderandr
  • tderesources
  • tdespell2
  • tdesu
  • tdeui
  • tdeunittest
  • tdeutils
  • tdewallet
Generated for tdeui by doxygen 1.9.4
This website is maintained by Timothy Pearson.