libkdepim
multiplyinglineeditor.cpp
Go to the documentation of this file.
48 connect( mView, SIGNAL(lineAdded(KPIM::MultiplyingLine*)), SIGNAL(lineAdded(KPIM::MultiplyingLine*)) );
QList< MultiplyingLineData::Ptr > allData() const
void setFocusBottom()
void setAutoResize(bool resize)
Make this widget follow it's children's size.
void setDynamicSizeHint(bool dynamic)
Sets whether the size hint of the editor shall be calculated dynamically by the number of lines...
Definition: multiplyinglineeditor.cpp:155
bool dynamicSizeHint() const
void lineDeleted(int pos)
bool isModified()
Returns true if the user has made any modifications to the list of recipients.
Definition: multiplyinglineeditor.cpp:78
MultiplyingLine * activeLine() const
bool isModified() const
Returns true if the user has made any modifications to the list of recipients.
QList< MultiplyingLine * > lines() const
void focusDown()
int setFirstColumnWidth(int)
QScrollArea Set the width of the left most column to be the argument width.
void removeData(const MultiplyingLineData::Ptr &data)
Removes data provided it can be found.
void setAutoResizeView(bool resize)
Make the line view follow it's children's size.
Definition: multiplyinglineeditor.cpp:145
MultiplyingLine * emptyLine() const
void setFocusBottom()
Definition: multiplyinglineeditor.cpp:99
bool dynamicSizeHint() const
MultiplyingLineData::Ptr activeData() const
Retrieve the data of the active line.
Definition: multiplyinglineeditor.cpp:124
void lineAdded(KPIM::MultiplyingLine *)
virtual ~MultiplyingLineEditor()
Definition: multiplyinglineeditor.cpp:53
void sizeHintChanged()
virtual MultiplyingLine * activeLine() const
Definition: multiplyinglineeditor.cpp:135
An Abstract Base Class used to create MultiplyingLines Subclass this class and MultiplyingLine, then implement newLine() such that it allocates and returns an instance of your MultiplyingLine.
Definition: multiplyinglineeditor.h:45
QSharedPointer< MultiplyingLineData > Ptr
Definition: multiplyingline.h:44
virtual void setData(const MultiplyingLineData::Ptr &data)=0
Set the data of this line.
void setCompletionMode(KGlobalSettings::Completion mode)
Set completion mode for all lines.
Definition: multiplyinglineeditor.cpp:109
int setFirstColumnWidth(int w)
Set the width of the left most column to be the argument width.
Definition: multiplyinglineeditor.cpp:104
void setCompletionMode(KGlobalSettings::Completion mode)
void setFocus()
QList< MultiplyingLineData::Ptr > allData() const
Retrieve the data from the editor.
Definition: multiplyinglineeditor.cpp:119
void slotPropagateDeletion()
Definition: multiplyingline.cpp:40
Abstract Base Class representing a line in the Multiplying line widget.
Definition: multiplyingline.h:64
bool autoResizeView()
void setDynamicSizeHint(bool dynamic)
Sets whether the size hint of the editor shall be calculated dynamically by the number of lines...
MultiplyingLineEditor(MultiplyingLineFactory *factory, QWidget *parent=0)
Definition: multiplyinglineeditor.cpp:33
void focusUp()
void completionModeChanged(KGlobalSettings::Completion)
void removeData(const MultiplyingLineData::Ptr &data)
Removes data provided it can be found.
Definition: multiplyinglineeditor.cpp:67
MultiplyingLineFactory * factory() const
Get the current line factory for this instance of the widget.
Definition: multiplyinglineeditor.cpp:114
void addData(const MultiplyingLineData::Ptr &data=MultiplyingLineData::Ptr())
Adds data to one line of the editor.
Definition: multiplyinglineeditor.cpp:58
MultiplyingLine * addLine()
virtual QList< MultiplyingLine * > lines() const
Definition: multiplyinglineeditor.cpp:130
void setFocusTop()
bool autoResize()
void setFrameStyle(int shape)
Set the underlying view's frame shape, default is none.
Definition: multiplyinglineeditor.cpp:140
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:58:03 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:58:03 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.