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:159
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:82
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 setFrameStyle(int style)
void setAutoResizeView(bool resize)
Make the line view follow it's children's size.
Definition: multiplyinglineeditor.cpp:149
MultiplyingLine * emptyLine() const
void setFocusBottom()
Definition: multiplyinglineeditor.cpp:103
bool dynamicSizeHint() const
void addWidget(QWidget *widget, int stretch, QFlags< Qt::AlignmentFlag > alignment)
void setLayout(QLayout *layout)
MultiplyingLineData::Ptr activeData() const
Retrieve the data of the active line.
Definition: multiplyinglineeditor.cpp:128
void lineAdded(KPIM::MultiplyingLine *)
virtual ~MultiplyingLineEditor()
Definition: multiplyinglineeditor.cpp:53
void sizeHintChanged()
virtual MultiplyingLine * activeLine() const
Definition: multiplyinglineeditor.cpp:139
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
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:113
int setFirstColumnWidth(int w)
Set the width of the left most column to be the argument width.
Definition: multiplyinglineeditor.cpp:108
void setMargin(int margin)
void setCompletionMode(KGlobalSettings::Completion mode)
bool addData(const MultiplyingLineData::Ptr &data=MultiplyingLineData::Ptr())
Adds data to one line of the editor.
Definition: multiplyinglineeditor.cpp:58
void setFocus()
QList< MultiplyingLineData::Ptr > allData() const
Retrieve the data from the editor.
Definition: multiplyinglineeditor.cpp:123
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:71
MultiplyingLineFactory * factory() const
Get the current line factory for this instance of the widget.
Definition: multiplyinglineeditor.cpp:118
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
MultiplyingLine * addLine()
virtual QList< MultiplyingLine * > lines() const
Definition: multiplyinglineeditor.cpp:134
void setSpacing(int spacing)
void setFocusTop()
bool autoResize()
void setFrameStyle(int shape)
Set the underlying view's frame shape, default is none.
Definition: multiplyinglineeditor.cpp:144
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:33:50 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:33:50 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.