kleopatra
resultlistwidget.cpp
Go to the documentation of this file.
114 ResultListWidget::ResultListWidget( QWidget* parent, Qt::WindowFlags f ) : QWidget( parent, f ), d( new Private( this ) )
161 blay.insertWidget( widget->hasErrorResult() ? m_lastErrorItemIndex++ : ( blay.count() - 1 ), widget );
196 return kdtools::accumulate_transform( d->m_collections, mem_fn( &TaskCollection::numberOfCompletedTasks ), 0U );
226 m_progressLabel->setText( i18nc( "number, operation description", "Operation %1: %2", q->numberOfCompletedTasks() + 1, task->label() ) );
bool close()
bool allTasksCompleted() const
Definition: taskcollection.cpp:84
void setTaskCollection(const boost::shared_ptr< TaskCollection > &coll)
Definition: resultlistwidget.cpp:199
void setFocusPolicy(Qt::FocusPolicy policy)
void addTaskCollection(const boost::shared_ptr< TaskCollection > &coll)
Definition: resultlistwidget.cpp:205
virtual int count() const
unsigned int numberOfCompletedTasks() const
Definition: resultlistwidget.cpp:195
const QRect & geometry() const
void setStandaloneMode(bool standalone)
Definition: resultlistwidget.cpp:230
~ResultListWidget()
Definition: resultlistwidget.cpp:118
Definition: scrollarea.h:40
unsigned int totalNumberOfTasks() const
Definition: resultlistwidget.cpp:191
bool isComplete() const
Definition: resultlistwidget.cpp:186
typedef WindowFlags
void insertWidget(int index, QWidget *widget, int stretch, QFlags< Qt::AlignmentFlag > alignment)
void show()
bool hasErrorResult() const
Definition: resultitemwidget.cpp:179
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
int numberOfCompletedTasks() const
Definition: taskcollection.cpp:75
ResultListWidget(QWidget *parent=0, Qt::WindowFlags flags=0)
Definition: resultlistwidget.cpp:114
void setWordWrap(bool on)
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:33:11 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:11 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.