Krita Source Code Documentation
Loading...
Searching...
No Matches
KisStatusBar Class Reference

#include <kis_statusbar.h>

+ Inheritance diagram for KisStatusBar:

Classes

class  StatusBarItem
 

Public Slots

void imageSizeChanged ()
 
void setHelp (const QString &t)
 
void setProfile (KisImageWSP image)
 
void setSelection (KisImageWSP image)
 
void updateSelectionToolTip ()
 
void updateStatusBarProfileLabel ()
 

Signals

void sigCancellationRequested ()
 

Public Member Functions

void addExtraWidget (QWidget *widget)
 
void hideAllStatusBarItems ()
 
 KisStatusBar (KisViewManager *view)
 
KoProgressUpdaterprogressUpdater ()
 
void removeExtraWidget (QWidget *widget)
 
void setup ()
 
void setView (QPointer< KisView > imageView)
 
void showAllStatusBarItems ()
 
 ~KisStatusBar () override
 

Private Slots

void showMemoryInfoToolTip ()
 
void slotCanvasAngleSelectorAngleChanged (qreal angle)
 
void slotCanvasRotationChanged ()
 
void updateSelectionIcon ()
 

Private Member Functions

void addStatusBarItem (QWidget *widget, int stretch=0, bool permanent=false)
 
void removeStatusBarItem (QWidget *widget)
 
void updateMemoryStatus ()
 

Private Attributes

KisAngleSelectorm_canvasAngleSelector {nullptr}
 
QBoxLayout * m_extraWidgetsLayout {nullptr}
 
QWidget * m_extraWidgetsParent {nullptr}
 
QPointer< KisViewm_imageView
 
QString m_longMemoryTag
 
KisMemoryReportButtonm_memoryReportBox {nullptr}
 
QIcon m_memoryStatusIcon
 
bool m_memoryWarningLogged {false}
 
KisProgressWidgetm_progress {nullptr}
 
QScopedPointer< KoProgressUpdaterm_progressUpdater
 
QToolButton * m_selectionStatus {nullptr}
 
QString m_shortMemoryTag
 
QPointer< QStatusBar > m_statusBar
 
QVector< StatusBarItemm_statusBarItems
 
KSqueezedTextLabel * m_statusBarProfileLabel {nullptr}
 
KSqueezedTextLabel * m_statusBarStatusLabel {nullptr}
 
QPointer< KisViewManagerm_viewManager
 

Detailed Description

Definition at line 32 of file kis_statusbar.h.

Constructor & Destructor Documentation

◆ KisStatusBar()

KisStatusBar::KisStatusBar ( KisViewManager * view)
explicit

Definition at line 56 of file kis_statusbar.cc.

57 : m_viewManager(viewManager)
58 , m_imageView(0)
59 , m_statusBar(0)
60{
61}
QPointer< KisView > m_imageView
QPointer< KisViewManager > m_viewManager
QPointer< QStatusBar > m_statusBar

◆ ~KisStatusBar()

KisStatusBar::~KisStatusBar ( )
override

Definition at line 140 of file kis_statusbar.cc.

141{
142}

Member Function Documentation

◆ addExtraWidget()

void KisStatusBar::addExtraWidget ( QWidget * widget)

Definition at line 419 of file kis_statusbar.cc.

420{
421 m_extraWidgetsLayout->addWidget(widget);
422}
QBoxLayout * m_extraWidgetsLayout

References m_extraWidgetsLayout.

◆ addStatusBarItem()

void KisStatusBar::addStatusBarItem ( QWidget * widget,
int stretch = 0,
bool permanent = false )
private

Definition at line 177 of file kis_statusbar.cc.

178{
179 StatusBarItem sbItem(widget);
180 if (permanent) {
181 m_statusBar->addPermanentWidget(widget, stretch);
182 }
183 else {
184 m_statusBar->addWidget(widget, stretch);
185 }
186 widget->setVisible(true);
187 m_statusBarItems.append(sbItem);
188}
QVector< StatusBarItem > m_statusBarItems

References m_statusBar, and m_statusBarItems.

◆ hideAllStatusBarItems()

void KisStatusBar::hideAllStatusBarItems ( )

Definition at line 206 of file kis_statusbar.cc.

207{
208 Q_FOREACH(const StatusBarItem& sbItem, m_statusBarItems) {
209 sbItem.hide();
210 }
211}

References KisStatusBar::StatusBarItem::hide(), and m_statusBarItems.

◆ imageSizeChanged

void KisStatusBar::imageSizeChanged ( )
slot

Definition at line 221 of file kis_statusbar.cc.

222{
224
225 QString sizeText;
226 KisImageWSP image = m_imageView ? m_imageView->image() : 0;
227 if (image) {
228 qint32 w = image->width();
229 qint32 h = image->height();
230 sizeText = i18nc("@info:status width x height (file size)", "%1 &x %2 (%3)", w, h, m_shortMemoryTag);
231 } else {
232 sizeText = m_shortMemoryTag;
233 }
234
236 m_memoryReportBox->setText(sizeText);
238}
qint32 width() const
qint32 height() const
QIcon m_memoryStatusIcon
QString m_longMemoryTag
QString m_shortMemoryTag
void updateMemoryStatus()
KisMemoryReportButton * m_memoryReportBox

References KisImage::height(), m_imageView, m_longMemoryTag, m_memoryReportBox, m_memoryStatusIcon, m_shortMemoryTag, updateMemoryStatus(), and KisImage::width().

◆ progressUpdater()

KoProgressUpdater * KisStatusBar::progressUpdater ( )

Definition at line 414 of file kis_statusbar.cc.

415{
416 return m_progressUpdater.data();
417}
QScopedPointer< KoProgressUpdater > m_progressUpdater

References m_progressUpdater.

◆ removeExtraWidget()

void KisStatusBar::removeExtraWidget ( QWidget * widget)

Definition at line 424 of file kis_statusbar.cc.

425{
426 m_extraWidgetsLayout->removeWidget(widget);
427}

References m_extraWidgetsLayout.

◆ removeStatusBarItem()

void KisStatusBar::removeStatusBarItem ( QWidget * widget)
private

Definition at line 190 of file kis_statusbar.cc.

191{
192 int i = 0;
193 Q_FOREACH(const StatusBarItem& sbItem, m_statusBarItems) {
194 if (sbItem.widget() == widget) {
195 break;
196 }
197 i++;
198 }
199
200 if (i < m_statusBarItems.count()) {
201 m_statusBar->removeWidget(m_statusBarItems[i].widget());
202 m_statusBarItems.remove(i);
203 }
204}

References m_statusBar, m_statusBarItems, and KisStatusBar::StatusBarItem::widget().

◆ setHelp

void KisStatusBar::setHelp ( const QString & t)
slot

Definition at line 402 of file kis_statusbar.cc.

403{
404 Q_UNUSED(t);
405}

◆ setProfile

void KisStatusBar::setProfile ( KisImageWSP image)
slot

Definition at line 387 of file kis_statusbar.cc.

388{
389 if (m_statusBarProfileLabel == 0) {
390 return;
391 }
392
393 if (!image) return;
394 if (image->profile() == 0) {
395 m_statusBarProfileLabel->setText(i18n("No profile"));
396 } else {
397 m_statusBarProfileLabel->setText(i18nc("<color space> <image profile>", "%1 %2", image->colorSpace()->name(), image->profile()->name()));
398 }
399
400}
const KoColorSpace * colorSpace() const
const KoColorProfile * profile() const
KSqueezedTextLabel * m_statusBarProfileLabel

References KisImage::colorSpace(), m_statusBarProfileLabel, KoColorProfile::name, KoColorSpace::name, and KisImage::profile().

◆ setSelection

void KisStatusBar::setSelection ( KisImageWSP image)
slot

Definition at line 381 of file kis_statusbar.cc.

382{
383 Q_UNUSED(image);
385}
void updateSelectionToolTip()

References updateSelectionToolTip().

◆ setup()

void KisStatusBar::setup ( )

Definition at line 63 of file kis_statusbar.cc.

64{
65 m_selectionStatus = new QToolButton();
66 m_selectionStatus->setObjectName("selection status");
67 m_selectionStatus->setIconSize(QSize(16,16));
68 m_selectionStatus->setAutoRaise(true);
69 m_selectionStatus->setEnabled(false);
71
72 m_statusBar = m_viewManager->mainWindow()->statusBar();
73
74 connect(m_selectionStatus, SIGNAL(clicked()), m_viewManager->selectionManager(), SLOT(slotToggleSelectionDecoration()));
75 connect(m_viewManager->selectionManager(), SIGNAL(displaySelectionChanged()), SLOT(updateSelectionToolTip()));
76 connect(m_viewManager->mainWindow(), SIGNAL(themeChanged()), this, SLOT(updateSelectionIcon()));
77
79 m_selectionStatus->setVisible(false);
80
81 m_statusBarStatusLabel = new KSqueezedTextLabel();
82 m_statusBarStatusLabel->setObjectName("statsBarStatusLabel");
83 m_statusBarStatusLabel->setSizePolicy(QSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding));
84 m_statusBarStatusLabel->setContentsMargins(5, 5, 5, 5);
85 connect(KoToolManager::instance(), SIGNAL(changedStatusText(QString)),
86 m_statusBarStatusLabel, SLOT(setText(QString)));
88 m_statusBarStatusLabel->setVisible(false);
89
90 m_statusBarProfileLabel = new KSqueezedTextLabel();
91 m_statusBarProfileLabel->setObjectName("statsBarProfileLabel");
92 m_statusBarProfileLabel->setSizePolicy(QSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding));
93 m_statusBarProfileLabel->setContentsMargins(5, 5, 5, 5);
95 m_statusBarProfileLabel->setVisible(false);
96
98 m_progress->setObjectName("ProgressBar");
100 m_progress->setVisible(false);
102
104 m_progressUpdater->setAutoNestNames(true);
105
106 m_extraWidgetsParent = new QFrame;
107 m_extraWidgetsParent->setMinimumWidth(50);
108 m_extraWidgetsParent->setObjectName("Extra Widgets Parent");
109 m_extraWidgetsLayout = new QHBoxLayout;
110 m_extraWidgetsLayout->setContentsMargins(0, 0, 0, 0);
111 m_extraWidgetsLayout->setObjectName("Extra Widgets Layout");
114
116 m_memoryReportBox->setObjectName("memoryReportBox");
117 m_memoryReportBox->setFlat(true);
118 m_memoryReportBox->setContentsMargins(5, 5, 5, 5);
119 m_memoryReportBox->setMinimumWidth(120);
121 m_memoryReportBox->setVisible(false);
122
123 connect(m_memoryReportBox, SIGNAL(clicked()), SLOT(showMemoryInfoToolTip()));
124
126 SIGNAL(sigUpdateMemoryStatistics()),
127 SLOT(imageSizeChanged()));
128
130 m_canvasAngleSelector->setRange(-360.00, 360.0);
135
136 connect(m_canvasAngleSelector, SIGNAL(angleChanged(qreal)), SLOT(slotCanvasAngleSelectorAngleChanged(qreal)));
137 m_canvasAngleSelector->setVisible(false);
138}
connect(this, SIGNAL(optionsChanged()), this, SLOT(saveOptions()))
@ IncreasingDirection_Clockwise
A widget with several options to select an angle.
@ FlipOptionsMode_ContextMenu
The flip options are shown only as a context menu when right-clicking the gauge widget.
void setFlipOptionsMode(FlipOptionsMode newMode)
Sets the mode in which the flip options should be shown.
void setIncreasingDirection(KisAngleGauge::IncreasingDirection newIncreasingDirection)
Sets the increasing direction in the angle gauge.
void useFlatSpinBox(bool newUseFlatSpinBox)
Sets if the spin box should be flat.
void setRange(qreal newMinimum, qreal newMaximum)
Sets the minimum and maximum values for the angle.
KoProgressProxy * progressProxy()
QToolButton * m_selectionStatus
void showMemoryInfoToolTip()
void updateSelectionIcon()
void addStatusBarItem(QWidget *widget, int stretch=0, bool permanent=false)
void slotCanvasAngleSelectorAngleChanged(qreal angle)
void sigCancellationRequested()
QWidget * m_extraWidgetsParent
KisAngleSelector * m_canvasAngleSelector
KSqueezedTextLabel * m_statusBarStatusLabel
KisProgressWidget * m_progress
void imageSizeChanged()
static KoToolManager * instance()
Return the toolmanager singleton.
void setText(QSpinBox *spinBox, const QStringView textTemplate)
static KisMemoryStatisticsServer * instance()

References addStatusBarItem(), connect(), KisAngleSelector::FlipOptionsMode_ContextMenu, imageSizeChanged(), KisAngleGauge::IncreasingDirection_Clockwise, KoToolManager::instance(), KisMemoryStatisticsServer::instance(), m_canvasAngleSelector, m_extraWidgetsLayout, m_extraWidgetsParent, m_memoryReportBox, m_progress, m_progressUpdater, m_selectionStatus, m_statusBar, m_statusBarProfileLabel, m_statusBarStatusLabel, m_viewManager, KisProgressWidget::progressProxy(), KisAngleSelector::setFlipOptionsMode(), KisAngleSelector::setIncreasingDirection(), KisAngleSelector::setRange(), showMemoryInfoToolTip(), sigCancellationRequested(), slotCanvasAngleSelectorAngleChanged(), updateSelectionIcon(), updateSelectionToolTip(), and KisAngleSelector::useFlatSpinBox().

◆ setView()

void KisStatusBar::setView ( QPointer< KisView > imageView)

Definition at line 144 of file kis_statusbar.cc.

145{
146 if (m_imageView) {
147 if (m_imageView->canvasBase()) {
148 m_imageView->canvasBase()->canvasController()->proxyObject->disconnect(this);
149 }
150 m_imageView->disconnect(this);
151 removeStatusBarItem(m_imageView->zoomManager()->zoomActionWidget());
152 m_imageView = 0;
153 }
154
155 if (imageView) {
156 m_imageView = imageView;
157 m_canvasAngleSelector->setVisible(true);
158 connect(m_imageView, SIGNAL(sigColorSpaceChanged(const KoColorSpace*)),
159 this, SLOT(updateStatusBarProfileLabel()));
160 connect(m_imageView, SIGNAL(sigProfileChanged(const KoColorProfile*)),
161 this, SLOT(updateStatusBarProfileLabel()));
162 connect(m_imageView, SIGNAL(sigSizeChanged(QPointF,QPointF)),
163 this, SLOT(imageSizeChanged()));
168 addStatusBarItem(m_imageView->zoomManager()->zoomActionWidget());
169 }
170 else {
171 m_canvasAngleSelector->setVisible(false);
172 }
173
175}
void updateStatusBarProfileLabel()
void removeStatusBarItem(QWidget *widget)
void slotCanvasRotationChanged()
void documentRotationChanged(qreal angle)

References addStatusBarItem(), connect(), KoCanvasControllerProxyObject::documentRotationChanged(), imageSizeChanged(), m_canvasAngleSelector, m_imageView, removeStatusBarItem(), slotCanvasRotationChanged(), and updateStatusBarProfileLabel().

◆ showAllStatusBarItems()

void KisStatusBar::showAllStatusBarItems ( )

Definition at line 213 of file kis_statusbar.cc.

214{
215 Q_FOREACH(const StatusBarItem& sbItem, m_statusBarItems) {
216 sbItem.show();
217 }
218}

References m_statusBarItems, and KisStatusBar::StatusBarItem::show().

◆ showMemoryInfoToolTip

void KisStatusBar::showMemoryInfoToolTip ( )
privateslot

Definition at line 324 of file kis_statusbar.cc.

325{
326 QToolTip::showText(QCursor::pos(), m_memoryReportBox->toolTip(), m_memoryReportBox);
327}

References m_memoryReportBox.

◆ sigCancellationRequested

void KisStatusBar::sigCancellationRequested ( )
signal

◆ slotCanvasAngleSelectorAngleChanged

void KisStatusBar::slotCanvasAngleSelectorAngleChanged ( qreal angle)
privateslot

Definition at line 329 of file kis_statusbar.cc.

330{
331 KisCanvas2 *canvas = m_viewManager->canvasBase();
332 if (!canvas) return;
333
334 KisCanvasController *canvasController = dynamic_cast<KisCanvasController*>(canvas->canvasController());
335 if (canvasController) {
336 canvasController->rotateCanvas(angle - canvas->rotationAngle());
337 }
338}
qreal rotationAngle() const
canvas rotation in degrees
void rotateCanvas(qreal angle, const std::optional< KoViewTransformStillPoint > &stillPoint, bool isNativeGesture=false)
KoCanvasController * canvasController() const

References KoCanvasBase::canvasController(), m_viewManager, KisCanvasController::rotateCanvas(), and KisCanvas2::rotationAngle().

◆ slotCanvasRotationChanged

void KisStatusBar::slotCanvasRotationChanged ( )
privateslot

Definition at line 340 of file kis_statusbar.cc.

341{
342 KisCanvas2 *canvas = m_viewManager->canvasBase();
343 if (!canvas) return;
344
345 const qreal angleDiff = qAbs(m_canvasAngleSelector->angle()) -
346 qAbs(canvas->rotationAngle());
347
348 // Only update the UI if the angle difference is big enough. This improves the performance.
349 if (qAbs(angleDiff) >= 0.01) {
352 }
353}
qreal angle() const
Gets the current angle.
void setAngle(qreal newAngle)
Sets the current angle.

References KisAngleSelector::angle(), m_canvasAngleSelector, m_viewManager, KisCanvas2::rotationAngle(), and KisAngleSelector::setAngle().

◆ updateMemoryStatus()

void KisStatusBar::updateMemoryStatus ( )
private

Definition at line 253 of file kis_statusbar.cc.

254{
258 const KFormat format;
259
260 const QString imageStatsMsg =
261 i18nc("tooltip on statusbar memory reporting button (image stats)",
262 "Image size:\t %1\n"
263 " - layers:\t\t %2\n"
264 " - projections:\t %3\n"
265 " - instant preview:\t %4\n",
266 format.formatByteSize(stats.imageSize),
267 format.formatByteSize(stats.layersSize),
268 format.formatByteSize(stats.projectionsSize),
269 format.formatByteSize(stats.lodSize));
270
271 const QString memoryStatsMsg =
272 i18nc("tooltip on statusbar memory reporting button (total stats)",
273 "Memory used:\t %1 / %2\n"
274 " image data:\t %3 / %4\n"
275 " pool:\t\t %5 / %6\n"
276 " undo data:\t %7\n"
277 "\n"
278 "Swap used:\t %8",
279 format.formatByteSize(stats.totalMemorySize),
280 format.formatByteSize(stats.totalMemoryLimit),
281
282 format.formatByteSize(stats.realMemorySize),
283 format.formatByteSize(stats.tilesHardLimit),
284
285 format.formatByteSize(stats.poolSize),
286 format.formatByteSize(stats.tilesPoolLimit),
287
288 format.formatByteSize(stats.historicalMemorySize),
289 format.formatByteSize(stats.swapSize));
290
291 QString longStats = imageStatsMsg + "\n" + memoryStatsMsg;
292
293 QString shortStats = format.formatByteSize(stats.imageSize);
294 QIcon icon;
295 const qint64 warnLevel = stats.tilesHardLimit - stats.tilesHardLimit / 8;
296
297 if (stats.imageSize > warnLevel ||
298 stats.realMemorySize > warnLevel) {
299
302 KisUsageLogger::log(QString("WARNING: %1 is running out of memory:%2\n").arg(m_imageView->document()->path()).arg(longStats));
303 }
304
305 icon = KisIconUtils::loadIcon("warning");
306 QString suffix =
307 i18nc("tooltip on statusbar memory reporting button",
308 "\n\nWARNING:\tOut of memory! Swapping has been started.\n"
309 "\t\tPlease configure more RAM for Krita in Settings dialog");
310 longStats += suffix;
311
312
313 }
314
315 m_shortMemoryTag = shortStats;
316 m_longMemoryTag = longStats;
317 m_memoryStatusIcon = icon;
318
322}
void setCurrentMemory(qint64 memory)
void setImageWeight(qint64 memory)
bool m_memoryWarningLogged
static void log(const QString &message)
Logs with date/time.
QIcon loadIcon(const QString &name)
Statistics fetchMemoryStatistics(KisImageSP image) const

References KisMemoryStatisticsServer::fetchMemoryStatistics(), KisMemoryStatisticsServer::Statistics::historicalMemorySize, KisMemoryStatisticsServer::Statistics::imageSize, KisMemoryStatisticsServer::instance(), KisMemoryStatisticsServer::Statistics::layersSize, KisIconUtils::loadIcon(), KisMemoryStatisticsServer::Statistics::lodSize, KisUsageLogger::log(), m_imageView, m_longMemoryTag, m_memoryReportBox, m_memoryStatusIcon, m_memoryWarningLogged, m_shortMemoryTag, KisMemoryStatisticsServer::Statistics::poolSize, KisMemoryStatisticsServer::Statistics::projectionsSize, KisMemoryStatisticsServer::Statistics::realMemorySize, KisMemoryReportButton::setCurrentMemory(), KisMemoryReportButton::setImageWeight(), KisMemoryReportButton::setMaximumMemory(), KisMemoryStatisticsServer::Statistics::swapSize, KisMemoryStatisticsServer::Statistics::tilesHardLimit, KisMemoryStatisticsServer::Statistics::tilesPoolLimit, KisMemoryStatisticsServer::Statistics::totalMemoryLimit, and KisMemoryStatisticsServer::Statistics::totalMemorySize.

◆ updateSelectionIcon

void KisStatusBar::updateSelectionIcon ( )
privateslot

Definition at line 240 of file kis_statusbar.cc.

241{
242 QIcon icon;
243 if (!m_viewManager->selectionManager()->displaySelection()) {
244 icon = KisIconUtils::loadIcon("selection-mode_invisible");
245 } else if (m_viewManager->selectionManager()->showSelectionAsMask()) {
246 icon = KisIconUtils::loadIcon("selection-mode_mask");
247 } else /* if (!m_view->selectionManager()->showSelectionAsMask()) */ {
248 icon = KisIconUtils::loadIcon("selection-mode_ants");
249 }
250 m_selectionStatus->setIcon(icon);
251}

References KisIconUtils::loadIcon(), m_selectionStatus, and m_viewManager.

◆ updateSelectionToolTip

void KisStatusBar::updateSelectionToolTip ( )
slot

Definition at line 355 of file kis_statusbar.cc.

356{
358
359 KisSelectionSP selection = m_viewManager->selection();
360 if (selection) {
361 m_selectionStatus->setEnabled(true);
362
363 QRect r = selection->selectedExactRect();
364
365 QString displayMode =
366 !m_viewManager->selectionManager()->displaySelection() ?
367 i18n("Hidden") :
368 (m_viewManager->selectionManager()->showSelectionAsMask() ?
369 i18n("Mask") : i18n("Ants"));
370
371 m_selectionStatus->setToolTip(
372 i18n("Selection: x = %1 y = %2 width = %3 height = %4\n"
373 "Display Mode: %5",
374 r.x(), r.y(), r.width(), r.height(), displayMode));
375 } else {
376 m_selectionStatus->setEnabled(false);
377 m_selectionStatus->setToolTip(i18n("No Selection"));
378 }
379}
QRect selectedExactRect() const
Slow, but exact way of determining the rectangle that encloses the selection.

References m_selectionStatus, m_viewManager, KisSelection::selectedExactRect(), and updateSelectionIcon().

◆ updateStatusBarProfileLabel

void KisStatusBar::updateStatusBarProfileLabel ( )
slot

Definition at line 407 of file kis_statusbar.cc.

408{
409 if (!m_imageView) return;
410
411 setProfile(m_imageView->image());
412}
void setProfile(KisImageWSP image)

References m_imageView, and setProfile().

Member Data Documentation

◆ m_canvasAngleSelector

KisAngleSelector* KisStatusBar::m_canvasAngleSelector {nullptr}
private

Definition at line 116 of file kis_statusbar.h.

116{nullptr};

◆ m_extraWidgetsLayout

QBoxLayout* KisStatusBar::m_extraWidgetsLayout {nullptr}
private

Definition at line 115 of file kis_statusbar.h.

115{nullptr};

◆ m_extraWidgetsParent

QWidget* KisStatusBar::m_extraWidgetsParent {nullptr}
private

Definition at line 114 of file kis_statusbar.h.

114{nullptr};

◆ m_imageView

QPointer<KisView> KisStatusBar::m_imageView
private

Definition at line 107 of file kis_statusbar.h.

◆ m_longMemoryTag

QString KisStatusBar::m_longMemoryTag
private

Definition at line 122 of file kis_statusbar.h.

◆ m_memoryReportBox

KisMemoryReportButton* KisStatusBar::m_memoryReportBox {nullptr}
private

Definition at line 113 of file kis_statusbar.h.

113{nullptr};

◆ m_memoryStatusIcon

QIcon KisStatusBar::m_memoryStatusIcon
private

Definition at line 123 of file kis_statusbar.h.

◆ m_memoryWarningLogged

bool KisStatusBar::m_memoryWarningLogged {false}
private

Definition at line 127 of file kis_statusbar.h.

127{false};

◆ m_progress

KisProgressWidget* KisStatusBar::m_progress {nullptr}
private

Definition at line 109 of file kis_statusbar.h.

109{nullptr};

◆ m_progressUpdater

QScopedPointer<KoProgressUpdater> KisStatusBar::m_progressUpdater
private

Definition at line 110 of file kis_statusbar.h.

◆ m_selectionStatus

QToolButton* KisStatusBar::m_selectionStatus {nullptr}
private

Definition at line 112 of file kis_statusbar.h.

112{nullptr};

◆ m_shortMemoryTag

QString KisStatusBar::m_shortMemoryTag
private

Definition at line 121 of file kis_statusbar.h.

◆ m_statusBar

QPointer<QStatusBar> KisStatusBar::m_statusBar
private

Definition at line 108 of file kis_statusbar.h.

◆ m_statusBarItems

QVector<StatusBarItem> KisStatusBar::m_statusBarItems
private

Definition at line 125 of file kis_statusbar.h.

◆ m_statusBarProfileLabel

KSqueezedTextLabel* KisStatusBar::m_statusBarProfileLabel {nullptr}
private

Definition at line 119 of file kis_statusbar.h.

119{nullptr};

◆ m_statusBarStatusLabel

KSqueezedTextLabel* KisStatusBar::m_statusBarStatusLabel {nullptr}
private

Definition at line 118 of file kis_statusbar.h.

118{nullptr};

◆ m_viewManager

QPointer<KisViewManager> KisStatusBar::m_viewManager
private

Definition at line 106 of file kis_statusbar.h.


The documentation for this class was generated from the following files: