• 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
KoVBox.h
Go to the documentation of this file.
1 /* This file is part of the KDE libraries
2  SPDX-FileCopyrightText: 2005 David Faure <[email protected]>
3 
4  SPDX-License-Identifier: LGPL-2.0-only
5 */
6 
7 #ifndef KoVBOX_H
8 #define KoVBOX_H
9 
10 #include <kritawidgets_export.h>
11 
12 #include <QFrame>
13 
14 class QChildEvent;
15 
27 class KRITAWIDGETS_EXPORT KoVBox : public QFrame
28 {
29  Q_OBJECT
30 
31 public:
35  explicit KoVBox(QWidget *parent = 0);
36 
40  ~KoVBox() override;
41 
45  void setMargin(int margin);
46 
52  void setSpacing(int space);
53 
57  void setStretchFactor(QWidget *widget, int stretch);
58 
62  QSize sizeHint() const override;
63 
67  QSize minimumSizeHint() const override;
68 
69 protected:
70 
71  void childEvent(QChildEvent *ev) override;
72 
73 private:
74  class Private;
75  friend class Private;
76  Private *const d;
77 
78  Q_DISABLE_COPY(KoVBox)
79 };
80 
81 #endif
QFrame
QWidget
QSize
QFrame::sizeHint
virtual QSize sizeHint() const
QChildEvent
QWidget::minimumSizeHint
virtual QSize minimumSizeHint() const
KoVBox
A container widget which arranges its children vertically.
Definition: KoVBox.h:27
QObject::childEvent
virtual void childEvent(QChildEvent *event)
Private
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Sat Jan 23 2021 11:48:23 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