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

libkdepim

  • KPIM
  • MultiplyingLineView
Public Slots | Signals | Public Member Functions | Protected Slots | Protected Member Functions | List of all members
KPIM::MultiplyingLineView Class Reference

#include <multiplyinglineview_p.h>

Inheritance diagram for KPIM::MultiplyingLineView:
Inheritance graph
[legend]

Public Slots

MultiplyingLine * addLine ()
 
void setCompletionMode (KGlobalSettings::Completion mode)
 
void setFocus ()
 
void setFocusBottom ()
 
void setFocusTop ()
 

Signals

void completionModeChanged (KGlobalSettings::Completion)
 
void focusDown ()
 
void focusRight ()
 
void focusUp ()
 
void lineAdded (KPIM::MultiplyingLine *)
 
void lineDeleted (int pos)
 
void sizeHintChanged ()
 

Public Member Functions

 MultiplyingLineView (MultiplyingLineFactory *factory, MultiplyingLineEditor *parent)
 
 ~MultiplyingLineView ()
 
void activateLine (MultiplyingLine *line)
 
MultiplyingLine * activeLine () const
 
QList< MultiplyingLineData::Ptr > allData () const
 
bool autoResize ()
 
void clearModified ()
 
bool dynamicSizeHint () const
 
MultiplyingLine * emptyLine () const
 
bool isModified () const
 
QList< MultiplyingLine * > lines () const
 
QSize minimumSizeHint () const
 
void removeData (const MultiplyingLineData::Ptr &data)
 
void setAutoResize (bool resize)
 
void setDynamicSizeHint (bool dynamic)
 
int setFirstColumnWidth (int)
 
QSize sizeHint () const
 

Protected Slots

void moveCompletionPopup ()
 
void moveScrollBarToEnd ()
 
void slotDecideLineDeletion (KPIM::MultiplyingLine *)
 
void slotDeleteLine ()
 
void slotDownPressed (KPIM::MultiplyingLine *)
 
void slotReturnPressed (KPIM::MultiplyingLine *)
 
void slotUpPressed (KPIM::MultiplyingLine *)
 

Protected Member Functions

void resizeEvent (QResizeEvent *)
 
void resizeView ()
 

Detailed Description

Definition at line 38 of file multiplyinglineview_p.h.

Constructor & Destructor Documentation

KPIM::MultiplyingLineView::MultiplyingLineView ( MultiplyingLineFactory *  factory,
MultiplyingLineEditor *  parent 
)
KPIM::MultiplyingLineView::~MultiplyingLineView ( )
inline

Definition at line 43 of file multiplyinglineview_p.h.

Member Function Documentation

void KPIM::MultiplyingLineView::activateLine ( MultiplyingLine *  line)

Activates the line.

MultiplyingLine* KPIM::MultiplyingLineView::activeLine ( ) const
MultiplyingLine* KPIM::MultiplyingLineView::addLine ( )
slot
QList<MultiplyingLineData::Ptr> KPIM::MultiplyingLineView::allData ( ) const
bool KPIM::MultiplyingLineView::autoResize ( )
void KPIM::MultiplyingLineView::clearModified ( )

Resets the modified flag to false.

void KPIM::MultiplyingLineView::completionModeChanged ( KGlobalSettings::Completion  )
signal
bool KPIM::MultiplyingLineView::dynamicSizeHint ( ) const
MultiplyingLine* KPIM::MultiplyingLineView::emptyLine ( ) const
void KPIM::MultiplyingLineView::focusDown ( )
signal
void KPIM::MultiplyingLineView::focusRight ( )
signal
void KPIM::MultiplyingLineView::focusUp ( )
signal
bool KPIM::MultiplyingLineView::isModified ( ) const

Returns true if the user has made any modifications to the list of recipients.

Returns
whether the view is modified or not.
void KPIM::MultiplyingLineView::lineAdded ( KPIM::MultiplyingLine *  )
signal
void KPIM::MultiplyingLineView::lineDeleted ( int  pos)
signal
QList<MultiplyingLine*> KPIM::MultiplyingLineView::lines ( ) const
QSize KPIM::MultiplyingLineView::minimumSizeHint ( ) const
void KPIM::MultiplyingLineView::moveCompletionPopup ( )
protectedslot
void KPIM::MultiplyingLineView::moveScrollBarToEnd ( )
protectedslot
void KPIM::MultiplyingLineView::removeData ( const MultiplyingLineData::Ptr &  data)

Removes data provided it can be found.

The Data class must support operator==

Parameters
dataThe data you want to remove.
void KPIM::MultiplyingLineView::resizeEvent ( QResizeEvent *  )
protected
void KPIM::MultiplyingLineView::resizeView ( )
protected
void KPIM::MultiplyingLineView::setAutoResize ( bool  resize)

Make this widget follow it's children's size.

Parameters
resizeturn on or off this behavior of auto resizing
void KPIM::MultiplyingLineView::setCompletionMode ( KGlobalSettings::Completion  mode)
slot
void KPIM::MultiplyingLineView::setDynamicSizeHint ( bool  dynamic)

Sets whether the size hint of the editor shall be calculated dynamically by the number of lines.

Default is true.

int KPIM::MultiplyingLineView::setFirstColumnWidth ( int  )

QScrollArea Set the width of the left most column to be the argument width.

This method allows other widgets to align their label/combobox column with ours by communicating how many pixels that first column is for them. Returns the width that is actually being used.

void KPIM::MultiplyingLineView::setFocus ( )
slot
void KPIM::MultiplyingLineView::setFocusBottom ( )
slot
void KPIM::MultiplyingLineView::setFocusTop ( )
slot
QSize KPIM::MultiplyingLineView::sizeHint ( ) const
void KPIM::MultiplyingLineView::sizeHintChanged ( )
signal
void KPIM::MultiplyingLineView::slotDecideLineDeletion ( KPIM::MultiplyingLine *  )
protectedslot
void KPIM::MultiplyingLineView::slotDeleteLine ( )
protectedslot
void KPIM::MultiplyingLineView::slotDownPressed ( KPIM::MultiplyingLine *  )
protectedslot
void KPIM::MultiplyingLineView::slotReturnPressed ( KPIM::MultiplyingLine *  )
protectedslot
void KPIM::MultiplyingLineView::slotUpPressed ( KPIM::MultiplyingLine *  )
protectedslot

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

KDE's Doxygen guidelines are available online.

libkdepim

Skip menu "libkdepim"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Modules

kdepim API Reference

Skip menu "kdepim API Reference"
  • akonadi_next
  • akregator
  • blogilo
  • calendarsupport
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt2
  • kjots
  • kleopatra
  • kmail
  • knode
  • knotes
  • kontact
  • korgac
  • korganizer
  • ktimetracker
  • libkdepim
  • libkleo
  • libkpgp
  • mailcommon
  • messagelist
  • messageviewer

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