• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • kdepim
  • Sitemap
  • Contact Us
 

kalarm/lib

ComboBox Class Reference

#include <combobox.h>

Inheritance diagram for ComboBox:

Inheritance graph
[legend]

List of all members.


Detailed Description

A KComboBox with read-only option.

The ComboBox class is a KComboBox with a read-only option.

The widget may be set as read-only. This has the same effect as disabling it, except that its appearance is unchanged.

Author:
David Jarvie <software@astrojar.org.uk>

Definition at line 39 of file combobox.h.


Public Member Functions

 ComboBox (QWidget *parent=0)
bool isReadOnly () const
virtual void setReadOnly (bool readOnly)

Protected Member Functions

virtual void keyPressEvent (QKeyEvent *)
virtual void keyReleaseEvent (QKeyEvent *)
virtual void mouseMoveEvent (QMouseEvent *)
virtual void mousePressEvent (QMouseEvent *)
virtual void mouseReleaseEvent (QMouseEvent *)

Constructor & Destructor Documentation

ComboBox::ComboBox ( QWidget *  parent = 0  )  [explicit]

Constructor.

Parameters:
parent The parent object of this widget.

Definition at line 28 of file combobox.cpp.


Member Function Documentation

bool ComboBox::isReadOnly (  )  const [inline]

Returns true if the widget is read only.

Definition at line 48 of file combobox.h.

void ComboBox::keyPressEvent ( QKeyEvent *  e  )  [protected, virtual]

Definition at line 66 of file combobox.cpp.

void ComboBox::keyReleaseEvent ( QKeyEvent *  e  )  [protected, virtual]

Definition at line 72 of file combobox.cpp.

void ComboBox::mouseMoveEvent ( QMouseEvent *  e  )  [protected, virtual]

Definition at line 60 of file combobox.cpp.

void ComboBox::mousePressEvent ( QMouseEvent *  e  )  [protected, virtual]

Definition at line 43 of file combobox.cpp.

void ComboBox::mouseReleaseEvent ( QMouseEvent *  e  )  [protected, virtual]

Definition at line 54 of file combobox.cpp.

void ComboBox::setReadOnly ( bool  readOnly  )  [virtual]

Sets whether the combo box is read-only for the user.

If read-only, its state cannot be changed by the user.

Parameters:
readOnly True to set the widget read-only, false to set it read-write.

Definition at line 33 of file combobox.cpp.


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

kalarm/lib

Skip menu "kalarm/lib"
  • Main Page
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members

kdepim

Skip menu "kdepim"
  • akonadi
  •   clients
  •   kabc
  •   kcal
  •   kcm
  • akregator
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt
  • kdgantt1
  • kjots
  • kleopatra
  • kmail
  • kmobiletools
  • knode
  • knotes
  • kontact
  • kontactinterfaces
  • korganizer
  •   korgac
  • kpilot
  • ktimetracker
  • libkdepim
  • libkholidays
  • libkleo
  • libkpgp
  • maildir
Generated for kdepim by doxygen 1.5.4
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