KUserFeedback::FeedbackConfigUiController

Search for usage in LXR

KUserFeedback::FeedbackConfigUiController Class Reference

#include <feedbackconfiguicontroller.h>

Inheritance diagram for KUserFeedback::FeedbackConfigUiController:

Properties

QString applicationName
 
KUserFeedback::ProviderfeedbackProvider
 
int surveyModeCount
 
int telemetryModeCount
 
- Properties inherited from QObject
 objectName
 

Signals

void applicationNameChanged (const QString &applicationName)
 
void providerChanged ()
 

Public Member Functions

 FeedbackConfigUiController (QObject *parent=nullptr)
 
QString applicationName () const
 
ProviderfeedbackProvider () const
 
void setApplicationName (const QString &appName)
 
void setFeedbackProvider (Provider *provider)
 
Q_INVOKABLE int surveyIndexToInterval (int index) const
 
Q_INVOKABLE int surveyIntervalToIndex (int interval) const
 
int surveyModeCount () const
 
Q_INVOKABLE QString surveyModeDescription (int surveyIndex) const
 
Q_INVOKABLE QString telemetryDescription (KUserFeedback::Provider::TelemetryMode mode) const
 
Q_INVOKABLE KUserFeedback::Provider::TelemetryMode telemetryIndexToMode (int index) const
 
int telemetryModeCount () const
 
Q_INVOKABLE QString telemetryModeDescription (int telemetryIndex) const
 
Q_INVOKABLE QString telemetryModeDetails (int telemetryIndex) const
 
Q_INVOKABLE QString telemetryModeName (int telemetryIndex) const
 
Q_INVOKABLE int telemetryModeToIndex (KUserFeedback::Provider::TelemetryMode mode) const
 
Q_INVOKABLE QString telemetryName (KUserFeedback::Provider::TelemetryMode mode) const
 
- Public Member Functions inherited from QObject
 QObject (QObject *parent)
 
QBindable< QStringbindableObjectName ()
 
bool blockSignals (bool block)
 
const QObjectListchildren () const const
 
QMetaObject::Connection connect (const QObject *sender, const char *signal, const char *method, Qt::ConnectionType type) const const
 
void deleteLater ()
 
void destroyed (QObject *obj)
 
bool disconnect (const char *signal, const QObject *receiver, const char *method) const const
 
bool disconnect (const QObject *receiver, const char *method) const const
 
void dumpObjectInfo () const const
 
void dumpObjectTree () const const
 
QList< QByteArraydynamicPropertyNames () const const
 
virtual bool event (QEvent *e)
 
virtual bool eventFilter (QObject *watched, QEvent *event)
 
findChild (const QString &name, Qt::FindChildOptions options) const const
 
QList< T > findChildren (const QRegularExpression &re, Qt::FindChildOptions options) const const
 
QList< T > findChildren (const QString &name, Qt::FindChildOptions options) const const
 
QList< T > findChildren (Qt::FindChildOptions options) const const
 
bool inherits (const char *className) const const
 
void installEventFilter (QObject *filterObj)
 
bool isQuickItemType () const const
 
bool isWidgetType () const const
 
bool isWindowType () const const
 
void killTimer (int id)
 
virtual const QMetaObjectmetaObject () const const
 
void moveToThread (QThread *targetThread)
 
QString objectName () const const
 
void objectNameChanged (const QString &objectName)
 
QObjectparent () const const
 
QVariant property (const char *name) const const
 
 Q_CLASSINFO (Name, Value)
 
 Q_EMIT Q_EMIT
 
 Q_ENUM (...)
 
 Q_ENUM_NS (...)
 
 Q_ENUMS (...)
 
 Q_FLAG (...)
 
 Q_FLAG_NS (...)
 
 Q_FLAGS (...)
 
 Q_GADGET Q_GADGET
 
 Q_GADGET_EXPORT (EXPORT_MACRO)
 
 Q_INTERFACES (...)
 
 Q_INVOKABLE Q_INVOKABLE
 
 Q_MOC_INCLUDE Q_MOC_INCLUDE
 
 Q_NAMESPACE Q_NAMESPACE
 
 Q_NAMESPACE_EXPORT (EXPORT_MACRO)
 
 Q_OBJECT Q_OBJECT
 
 Q_PROPERTY (...)
 
 Q_REVISION Q_REVISION
 
 Q_SET_OBJECT_NAME (Object)
 
 Q_SIGNAL Q_SIGNAL
 
 Q_SIGNALS Q_SIGNALS
 
 Q_SLOT Q_SLOT
 
 Q_SLOTS Q_SLOTS
 
qobject_cast (const QObject *object)
 
qobject_cast (QObject *object)
 
 QT_NO_NARROWING_CONVERSIONS_IN_CONNECT QT_NO_NARROWING_CONVERSIONS_IN_CONNECT
 
void removeEventFilter (QObject *obj)
 
void setObjectName (const QString &name)
 
void setObjectName (QAnyStringView name)
 
void setParent (QObject *parent)
 
bool setProperty (const char *name, const QVariant &value)
 
bool setProperty (const char *name, QVariant &&value)
 
bool signalsBlocked () const const
 
int startTimer (int interval, Qt::TimerType timerType)
 
int startTimer (std::chrono::milliseconds interval, Qt::TimerType timerType)
 
QThreadthread () const const
 

Additional Inherited Members

- Public Types inherited from QObject
typedef  QObjectList
 
- Static Public Member Functions inherited from QObject
QMetaObject::Connection connect (const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
 
QMetaObject::Connection connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type)
 
QMetaObject::Connection connect (const QObject *sender, PointerToMemberFunction signal, const QObject *context, Functor functor, Qt::ConnectionType type)
 
QMetaObject::Connection connect (const QObject *sender, PointerToMemberFunction signal, const QObject *receiver, PointerToMemberFunction method, Qt::ConnectionType type)
 
QMetaObject::Connection connect (const QObject *sender, PointerToMemberFunction signal, Functor functor)
 
bool disconnect (const QMetaObject::Connection &connection)
 
bool disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *method)
 
bool disconnect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method)
 
bool disconnect (const QObject *sender, PointerToMemberFunction signal, const QObject *receiver, PointerToMemberFunction method)
 
QString tr (const char *sourceText, const char *disambiguation, int n)
 
- Protected Member Functions inherited from QObject
virtual void childEvent (QChildEvent *event)
 
virtual void connectNotify (const QMetaMethod &signal)
 
virtual void customEvent (QEvent *event)
 
virtual void disconnectNotify (const QMetaMethod &signal)
 
bool isSignalConnected (const QMetaMethod &signal) const const
 
int receivers (const char *signal) const const
 
QObjectsender () const const
 
int senderSignalIndex () const const
 
virtual void timerEvent (QTimerEvent *event)
 

Detailed Description

Logic/behavior of the feedback configuration UI.

This is available for use in e.g. QtQuick-based UIs.

See also
FeedbackConfigWidget

Definition at line 26 of file feedbackconfiguicontroller.h.

Property Documentation

◆ applicationName

QString KUserFeedback::FeedbackConfigUiController::applicationName
readwrite

Name of the application that will appear on descriptions.

By default it will use QGuiApplication::applicationDisplayName()

Definition at line 36 of file feedbackconfiguicontroller.h.

◆ feedbackProvider

KUserFeedback::Provider* KUserFeedback::FeedbackConfigUiController::feedbackProvider
readwrite

The Provider instance we are configuring.

Definition at line 30 of file feedbackconfiguicontroller.h.

◆ surveyModeCount

int KUserFeedback::FeedbackConfigUiController::surveyModeCount
read

Amount of supported survey modes.

Definition at line 34 of file feedbackconfiguicontroller.h.

◆ telemetryModeCount

int KUserFeedback::FeedbackConfigUiController::telemetryModeCount
read

Amount of telemetry modes supported by the provider.

Definition at line 32 of file feedbackconfiguicontroller.h.

Constructor & Destructor Documentation

◆ FeedbackConfigUiController()

FeedbackConfigUiController::FeedbackConfigUiController ( QObject * parent = nullptr)
explicit

Definition at line 36 of file feedbackconfiguicontroller.cpp.

◆ ~FeedbackConfigUiController()

FeedbackConfigUiController::~FeedbackConfigUiController ( )
override

Definition at line 42 of file feedbackconfiguicontroller.cpp.

Member Function Documentation

◆ applicationName()

QString FeedbackConfigUiController::applicationName ( ) const

Definition at line 263 of file feedbackconfiguicontroller.cpp.

◆ feedbackProvider()

Provider * FeedbackConfigUiController::feedbackProvider ( ) const

Returns the feedback provider to be configured.

Definition at line 46 of file feedbackconfiguicontroller.cpp.

◆ providerChanged

void KUserFeedback::FeedbackConfigUiController::providerChanged ( )
signal

A provider-related setting has changed.

◆ setApplicationName()

void FeedbackConfigUiController::setApplicationName ( const QString & appName)

Definition at line 268 of file feedbackconfiguicontroller.cpp.

◆ setFeedbackProvider()

void FeedbackConfigUiController::setFeedbackProvider ( Provider * provider)

Set the feedback provider to configure.

Definition at line 51 of file feedbackconfiguicontroller.cpp.

◆ surveyIndexToInterval()

int FeedbackConfigUiController::surveyIndexToInterval ( int index) const

Convert slider index to survey interval.

Definition at line 205 of file feedbackconfiguicontroller.cpp.

◆ surveyIntervalToIndex()

int FeedbackConfigUiController::surveyIntervalToIndex ( int interval) const

Convert survey interval to slider index.

Definition at line 215 of file feedbackconfiguicontroller.cpp.

◆ surveyModeCount()

int FeedbackConfigUiController::surveyModeCount ( ) const

Amount of supported survey modes.

Definition at line 85 of file feedbackconfiguicontroller.cpp.

◆ surveyModeDescription()

QString FeedbackConfigUiController::surveyModeDescription ( int surveyIndex) const

Survey mode explanation text.

Definition at line 225 of file feedbackconfiguicontroller.cpp.

◆ telemetryDescription()

QString FeedbackConfigUiController::telemetryDescription ( KUserFeedback::Provider::TelemetryMode mode) const

Telemetry mode explanation text.

Definition at line 133 of file feedbackconfiguicontroller.cpp.

◆ telemetryIndexToMode()

Provider::TelemetryMode FeedbackConfigUiController::telemetryIndexToMode ( int index) const

Convert slider index to telemetry mode.

Definition at line 90 of file feedbackconfiguicontroller.cpp.

◆ telemetryModeCount()

int FeedbackConfigUiController::telemetryModeCount ( ) const

Amount of supported telemetry modes.

This depends on what type of sources the provider actually has.

Definition at line 80 of file feedbackconfiguicontroller.cpp.

◆ telemetryModeDescription()

QString FeedbackConfigUiController::telemetryModeDescription ( int telemetryIndex) const

Telemetry mode explanation text.

Definition at line 110 of file feedbackconfiguicontroller.cpp.

◆ telemetryModeDetails()

QString FeedbackConfigUiController::telemetryModeDetails ( int telemetryIndex) const

Detailed information about the data sources of the given telemetry mode index.

Definition at line 187 of file feedbackconfiguicontroller.cpp.

◆ telemetryModeName()

QString FeedbackConfigUiController::telemetryModeName ( int telemetryIndex) const

Telemetry mode short name.

Definition at line 105 of file feedbackconfiguicontroller.cpp.

◆ telemetryModeToIndex()

int FeedbackConfigUiController::telemetryModeToIndex ( KUserFeedback::Provider::TelemetryMode mode) const

Convert telemetry mode to slider index.

Definition at line 97 of file feedbackconfiguicontroller.cpp.

◆ telemetryName()

QString FeedbackConfigUiController::telemetryName ( KUserFeedback::Provider::TelemetryMode mode) const

Telemetry mode short name.

Definition at line 115 of file feedbackconfiguicontroller.cpp.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:57:44 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.