|
Krita Source Code Documentation
|
#include <KisStrokeSpeedMonitor.h>
Inheritance diagram for KisStrokeSpeedMonitor:Classes | |
| struct | Private |
Public Slots | |
| void | setHaveStrokeSpeedMeasurement (bool value) |
Signals | |
| void | sigStatsUpdated () |
Public Member Functions | |
| qreal | avgCursorSpeed () const |
| qreal | avgFps () const |
| qreal | avgRenderingSpeed () const |
| bool | haveStrokeSpeedMeasurement () const |
| KisStrokeSpeedMonitor () | |
| qreal | lastCursorSpeed () const |
| qreal | lastFps () const |
| QString | lastPresetName () const |
| qreal | lastPresetSize () const |
| qreal | lastRenderingSpeed () const |
| bool | lastStrokeSaturated () const |
| void | notifyStrokeFinished (qreal cursorSpeed, qreal renderingSpeed, qreal fps, KisPaintOpPresetSP preset) |
| ~KisStrokeSpeedMonitor () | |
Static Public Member Functions | |
| static KisStrokeSpeedMonitor * | instance () |
Properties | |
| qreal | avgCursorSpeed |
| qreal | avgFps |
| qreal | avgRenderingSpeed |
| qreal | lastCursorSpeed |
| qreal | lastFps |
| QString | lastPresetName |
| qreal | lastPresetSize |
| qreal | lastRenderingSpeed |
| bool | lastStrokeSaturated |
Private Slots | |
| void | resetAccumulatedValues () |
| void | slotConfigChanged () |
Private Attributes | |
| const QScopedPointer< Private > | m_d |
Definition at line 15 of file KisStrokeSpeedMonitor.h.
| KisStrokeSpeedMonitor::KisStrokeSpeedMonitor | ( | ) |
Definition at line 58 of file KisStrokeSpeedMonitor.cpp.
References connect(), KisConfigNotifier::instance(), KisImageConfigNotifier::instance(), resetAccumulatedValues(), sigStatsUpdated(), and slotConfigChanged().
| KisStrokeSpeedMonitor::~KisStrokeSpeedMonitor | ( | ) |
Definition at line 68 of file KisStrokeSpeedMonitor.cpp.
| qreal KisStrokeSpeedMonitor::avgCursorSpeed | ( | ) | const |
Definition at line 185 of file KisStrokeSpeedMonitor.cpp.
References m_d.
| qreal KisStrokeSpeedMonitor::avgFps | ( | ) | const |
Definition at line 195 of file KisStrokeSpeedMonitor.cpp.
References m_d.
| qreal KisStrokeSpeedMonitor::avgRenderingSpeed | ( | ) | const |
Definition at line 190 of file KisStrokeSpeedMonitor.cpp.
References m_d.
| bool KisStrokeSpeedMonitor::haveStrokeSpeedMeasurement | ( | ) | const |
Definition at line 77 of file KisStrokeSpeedMonitor.cpp.
References haveStrokeSpeedMeasurement(), and m_d.
|
static |
Definition at line 72 of file KisStrokeSpeedMonitor.cpp.
| qreal KisStrokeSpeedMonitor::lastCursorSpeed | ( | ) | const |
Definition at line 165 of file KisStrokeSpeedMonitor.cpp.
References m_d.
| qreal KisStrokeSpeedMonitor::lastFps | ( | ) | const |
Definition at line 175 of file KisStrokeSpeedMonitor.cpp.
References m_d.
| QString KisStrokeSpeedMonitor::lastPresetName | ( | ) | const |
Definition at line 155 of file KisStrokeSpeedMonitor.cpp.
References m_d.
| qreal KisStrokeSpeedMonitor::lastPresetSize | ( | ) | const |
Definition at line 160 of file KisStrokeSpeedMonitor.cpp.
References m_d.
| qreal KisStrokeSpeedMonitor::lastRenderingSpeed | ( | ) | const |
Definition at line 170 of file KisStrokeSpeedMonitor.cpp.
References m_d.
| bool KisStrokeSpeedMonitor::lastStrokeSaturated | ( | ) | const |
Definition at line 180 of file KisStrokeSpeedMonitor.cpp.
References m_d.
| void KisStrokeSpeedMonitor::notifyStrokeFinished | ( | qreal | cursorSpeed, |
| qreal | renderingSpeed, | ||
| qreal | fps, | ||
| KisPaintOpPresetSP | preset ) |
Definition at line 102 of file KisStrokeSpeedMonitor.cpp.
References ENTER_FUNCTION, m_d, qFuzzyCompare(), resetAccumulatedValues(), and sigStatsUpdated().
|
privateslot |
|
slot |
Definition at line 82 of file KisStrokeSpeedMonitor.cpp.
|
signal |
|
privateslot |
Definition at line 94 of file KisStrokeSpeedMonitor.cpp.
References KisConfig::enableBrushSpeedLogging(), m_d, resetAccumulatedValues(), and sigStatsUpdated().
|
private |
Definition at line 68 of file KisStrokeSpeedMonitor.h.
|
read |
Definition at line 28 of file KisStrokeSpeedMonitor.h.
|
read |
Definition at line 30 of file KisStrokeSpeedMonitor.h.
|
read |
Definition at line 29 of file KisStrokeSpeedMonitor.h.
|
read |
Definition at line 22 of file KisStrokeSpeedMonitor.h.
|
read |
Definition at line 24 of file KisStrokeSpeedMonitor.h.
|
read |
Definition at line 19 of file KisStrokeSpeedMonitor.h.
|
read |
Definition at line 20 of file KisStrokeSpeedMonitor.h.
|
read |
Definition at line 23 of file KisStrokeSpeedMonitor.h.
|
read |
Definition at line 26 of file KisStrokeSpeedMonitor.h.