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

kdgantt1

KDGanttSizingControl Class Reference

#include <KDGanttSizingControl.h>

Inheritance diagram for KDGanttSizingControl:

Inheritance graph
[legend]

List of all members.


Detailed Description

This class is a common-base class for all sizing controls in this library.

It provides common signals and slots for minimizing and restoring child widgets.

This class cannot be instantiated by itself, use one of the subclasses instead.

Definition at line 38 of file KDGanttSizingControl.h.


Public Slots

void changeState ()
virtual void minimize (bool minimize)
virtual void restore (bool restore)

Signals

void minimized (KDGanttSizingControl *)
void restored (KDGanttSizingControl *)

Public Member Functions

bool isMinimized () const

Protected Member Functions

 KDGanttSizingControl (QWidget *parent=0, Qt::WFlags f=0)

Constructor & Destructor Documentation

KDGanttSizingControl::KDGanttSizingControl ( QWidget *  parent = 0,
Qt::WFlags  f = 0 
) [protected]

Constructs an empty KDGanttSizing Control.

Parameters:
parent the parent widget. This parameter is passed to the base class.
name the internal widget name. This parameter is passed to the base class.

Definition at line 56 of file KDGanttSizingControl.cpp.


Member Function Documentation

void KDGanttSizingControl::changeState (  )  [slot]

Change state from either minimized to restored or visa versa.

Definition at line 114 of file KDGanttSizingControl.cpp.

bool KDGanttSizingControl::isMinimized (  )  const

Returns whether the widget is minimized.

Definition at line 105 of file KDGanttSizingControl.cpp.

void KDGanttSizingControl::minimize ( bool  minimize  )  [virtual, slot]

Restores or minimizes the child widget. restore() does exactly the opposite to this method.

Parameters:
minimize true to minimize, false to restore
See also:
restore()

Reimplemented in KDGanttSemiSizingControl.

Definition at line 91 of file KDGanttSizingControl.cpp.

void KDGanttSizingControl::minimized ( KDGanttSizingControl *   )  [signal]

This signal is emitted when the user hides a controlled widget. The KDGanttSizingControl pointer given as parameter is a pointer to the widget itself. Normally the sender should not know the receiver, but in this case the receiver is likely the widget containing the KDGanttSizingControl, and when the KDGanttSizingControl widget is minimized/restored it might want to change stretching for the widget. See the example test/semisizingcontrol

void KDGanttSizingControl::restore ( bool  restore  )  [virtual, slot]

Restores or minimizes the child widget. minimize() does exactly the opposite to this method.

Parameters:
restore true to restore, false to minimize
See also:
minimize()

Reimplemented in KDGanttSemiSizingControl.

Definition at line 70 of file KDGanttSizingControl.cpp.

void KDGanttSizingControl::restored ( KDGanttSizingControl *   )  [signal]

This signal is emitted when the user unhides a controlled widget. The KDGanttSizingControl pointer given as parameter is a pointer to the widget itself. Normally the sender should not know the receiver, but in this case the receiver is likely the widget containing the KDGanttSizingControl, and when the KDGanttSizingControl widget is minimized/restored it might want to change stretching for the widget. See the example test/semisizingcontrol


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

kdgantt1

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

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
  •   doc
  • 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