Libkdepim
multiplyingline.h
3 SPDX-FileCopyrightText: 2009-2010 Klaralvdalens Datakonsult AB, a KDAB Group company <info@kdab.net>
45 MultiplyingLineEditor widget should subclass this class, and add their own input widgets as members,
CompletionMode
Abstract Base Class representing a line in the Multiplying line widget.
Definition multiplyingline.h:50
virtual void setData(const MultiplyingLineData::Ptr &data)=0
Set the data of this line.
void upPressed(KPIM::MultiplyingLine *)
Emitted when the up key is pressed.
void returnPressed(KPIM::MultiplyingLine *)
Emitted when the return/enter key is pressed.
virtual void fixTabOrder(QWidget *previous)=0
Used to set setup the correct chain of widgets to focus on when the user presses tab.
virtual void clearModified()=0
Resets the modified flag to false.
void deleteLine(KPIM::MultiplyingLine *)
Should be emitted when the line should be deleted.
void downPressed(KPIM::MultiplyingLine *)
Emitted when the down key is pressed.
virtual QWidget * tabOut() const =0
virtual void setCompletionMode(KCompletion::CompletionMode mode)=0
Sets the type of completion to be used for KLineEdits in this line.
virtual int setColumnWidth(int w)=0
Set the width of the left most column to be the argument width.
void completionModeChanged(KCompletion::CompletionMode)
Emitted when the completion mode changes.
virtual bool isActive() const =0
Check if whatever receives focus in activate() currently has focus.
virtual bool isModified() const =0
Determine if this line was modified.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 8 2024 12:02:19 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 8 2024 12:02:19 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.