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

okular

  • Okular
  • FormFieldButton
Public Types | Public Member Functions | Protected Member Functions | List of all members
Okular::FormFieldButton Class Referenceabstract

#include <form.h>

Inheritance diagram for Okular::FormFieldButton:
Inheritance graph
[legend]

Public Types

enum  ButtonType { Push, CheckBox, Radio }
 
- Public Types inherited from Okular::FormField
enum  FieldType { FormButton, FormText, FormChoice, FormSignature }
 

Public Member Functions

virtual ~FormFieldButton ()
 
virtual ButtonType buttonType () const =0
 
virtual QString caption () const =0
 
virtual void setState (bool state)
 
virtual QList< int > siblings () const =0
 
virtual bool state () const =0
 
- Public Member Functions inherited from Okular::FormField
virtual ~FormField ()
 
Action * activationAction () const
 
virtual int id () const =0
 
virtual bool isReadOnly () const
 
virtual bool isVisible () const
 
virtual QString name () const =0
 
virtual NormalizedRect rect () const =0
 
FieldType type () const
 
virtual QString uiName () const =0
 

Protected Member Functions

 FormFieldButton ()
 
- Protected Member Functions inherited from Okular::FormField
void setActivationAction (Action *action)
 

Detailed Description

Interface of a button form field.

This is the base interface to reimplement to represent a button field, like a push button, a check box or a radio button.

Since
0.7 (KDE 4.1)

Definition at line 118 of file form.h.

Member Enumeration Documentation

enum Okular::FormFieldButton::ButtonType

The types of button field.

Enumerator
Push 

A simple push button.

CheckBox 

A check box.

Radio 

A radio button.

Definition at line 124 of file form.h.

Constructor & Destructor Documentation

FormFieldButton::~FormFieldButton ( )
virtual

Definition at line 106 of file form.cpp.

FormFieldButton::FormFieldButton ( )
protected

Definition at line 101 of file form.cpp.

Member Function Documentation

virtual ButtonType Okular::FormFieldButton::buttonType ( ) const
pure virtual

The particular type of the button field.

virtual QString Okular::FormFieldButton::caption ( ) const
pure virtual

The caption to be used for the button.

void FormFieldButton::setState ( bool  state)
virtual

Sets the state of the button to the new state .

Definition at line 110 of file form.cpp.

virtual QList< int > Okular::FormFieldButton::siblings ( ) const
pure virtual

The list with the IDs of siblings (ie, buttons belonging to the same group as the current one.

Valid only for Radio buttons, an empty list otherwise.

virtual bool Okular::FormFieldButton::state ( ) const
pure virtual

The state of the button.


The documentation for this class was generated from the following files:
  • form.h
  • form.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:45:03 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

okular

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

kdegraphics API Reference

Skip menu "kdegraphics API Reference"
  •     libkdcraw
  •     libkexiv2
  •     libkipi
  •     libksane
  • okular

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal