• Skip to content
  • Skip to link menu
  • KDE API Reference
  • kdelibs-4.14.38 API Reference
  • KDE Home
  • Contact Us
 

KDEUI

Public Member Functions | List of all members
KVBox Class Reference

#include <kvbox.h>

Inheritance diagram for KVBox:
KHBox QFrame

Public Member Functions

 KVBox (QWidget *parent=0)
 
 ~KVBox ()
 
- Public Member Functions inherited from KHBox
 KHBox (QWidget *parent=0)
 
 ~KHBox ()
 
virtual QSize minimumSizeHint () const
 
void setMargin (int margin)
 
void setSpacing (int space)
 
void setStretchFactor (QWidget *widget, int stretch)
 
virtual QSize sizeHint () const
 

Additional Inherited Members

- Protected Member Functions inherited from KHBox
 KHBox (bool vertical, QWidget *parent)
 
virtual void childEvent (QChildEvent *ev)
 

Detailed Description

A container widget which arranges its children vertically.

When using a KVBox you don't need to create a layout nor to add the child widgets to it.

Both margin and spacing are initialized to 0. Use QVBoxLayout if you need standard layout margins.

KDE Vertical Box containing three buttons
See also
KHBox

Definition at line 36 of file kvbox.h.

Constructor & Destructor Documentation

◆ KVBox()

KVBox::KVBox ( QWidget *  parent = 0)
explicit

Creates a new vbox.

Parameters
parentThe parent widget.

Definition at line 21 of file kvbox.cpp.

◆ ~KVBox()

KVBox::~KVBox ( )

Destructor.

Definition at line 27 of file kvbox.cpp.


The documentation for this class was generated from the following files:
  • kvbox.h
  • kvbox.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KDEUI

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

kdelibs-4.14.38 API Reference

Skip menu "kdelibs-4.14.38 API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
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