• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • krita API Reference
  • KDE Home
  • Contact Us
 

KritaWidgets

  • sources
  • kfour-appscomplete
  • krita
  • libs
  • widgets
KoDockWidgetTitleBarButton.h
Go to the documentation of this file.
1 /* This file is part of the KDE project
2  SPDX-FileCopyrightText: 2007 Marijn Kruisselbrink <[email protected]>
3 
4  SPDX-License-Identifier: LGPL-2.0-or-later
5 */
6 #ifndef KODOCKWIDGETTITLEBARBUTTON_H_
7 #define KODOCKWIDGETTITLEBARBUTTON_H_
8 
9 #include "kritawidgets_export.h"
10 #include <QAbstractButton>
11 
12 class QEvent;
13 class QPaintEvent;
14 
21 class KRITAWIDGETS_EXPORT KoDockWidgetTitleBarButton : public QAbstractButton
22 {
23  Q_OBJECT
24 
25 public:
26  explicit KoDockWidgetTitleBarButton(QWidget *parent = 0);
27  ~KoDockWidgetTitleBarButton() override;
28 
29  QSize sizeHint() const override;
30  QSize minimumSizeHint() const override;
31 
32 protected:
33  void enterEvent(QEvent *event) override;
34  void leaveEvent(QEvent *event) override;
35  void paintEvent(QPaintEvent *event) override;
36 
37 private:
38  class Private;
39  Private * const d;
40 };
41 
42 #endif // KODOCKWIDGETTITLEBARBUTTON_H_
QWidget
QWidget::leaveEvent
virtual void leaveEvent(QEvent *event)
QSize
QAbstractButton::paintEvent
virtual void paintEvent(QPaintEvent *e)=0
QWidget::enterEvent
virtual void enterEvent(QEvent *event)
QWidget::minimumSizeHint
virtual QSize minimumSizeHint() const
QEvent
QPaintEvent
QWidget::sizeHint
virtual QSize sizeHint() const
QAbstractButton
Private
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Sat Jan 23 2021 11:48:22 by doxygen 1.8.16 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KritaWidgets

Skip menu "KritaWidgets"
  • Main Page
  • Namespace List
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

krita API Reference

Skip menu "krita API Reference"
  • libs
  •   KritaBasicFlakes
  •   brush
  •   KritaUndo2
  •   KritaFlake
  •   image
  •   KritaPlugin
  •   Krita
  •   KritaPigment
  •   KritaResources
  •   KritaStore
  •   ui
  •   KritaWidgets
  •   KritaWidgetUtils
  • plugins
  •   Assitants
  •   Extensions
  •   Filters
  •   Generators
  •   Formats
  •           src
  •   PaintOps
  •     libpaintop

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal