Skip to content

RColumnLayout

Class in GUI Module
Header: #include <src/gui/RColumnLayout.h>
Inherits: QLayout

Scriptable: This class is available in script environments.

RColumnLayout(QWidget *parent, QToolBar *toolBar, int buttonSize)
virtual void addItem(QLayoutItem *item)
virtual int count() const
virtual QLayoutItem * itemAt(int index) const
QSize minimumSize() const
void setGeometry() const
virtual void setGeometry(const QRect &rect)
QSize sizeHint() const
virtual QLayoutItem * takeAt(int index)
static unsigned long int getAccumulatedSortOrder(QObject *item, const QString &objectName)
static unsigned int getGroupSortOrder(QObject *item, const QString &objectName)
static unsigned int getSortOrder(QObject *item, const QString &objectName)
static bool itemLessThan(const QPair< QLayoutItem *, unsigned long int > &v1, const QPair< QLayoutItem *, unsigned long int > &v2)
QList< QPair< QLayoutItem *, unsigned long int > > itemList
QSize sHint
int sHintColumns
int sHintHeight
int sHintHorizontal
int sHintIconSize
bool sHintVerticalWhenFloating
int sHintWidth
QToolBar * toolBar

RColumnLayout::RColumnLayout(QWidget *parent, QToolBar *toolBar, int buttonSize)

All rights reserved.

This file is part of the QCAD project.

QCAD is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

QCAD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with QCAD.

virtual void RColumnLayout::addItem(QLayoutItem *item)

virtual

Parameters:

  • item: A widget (e.g. QToolButton) with property “SortOrder” set to the desired sort order. Or a separator action, also with property “SortOrder” set.

virtual int RColumnLayout::count() const

virtual const

virtual QLayoutItem * RColumnLayout::itemAt(int index) const

virtual const

QSize RColumnLayout::minimumSize() const

const

void RColumnLayout::setGeometry() const

const

virtual void RColumnLayout::setGeometry(const QRect &rect)

virtual

QSize RColumnLayout::sizeHint() const

const

virtual QLayoutItem * RColumnLayout::takeAt(int index)

virtual

static unsigned long int RColumnLayout::getAccumulatedSortOrder(QObject *item, const QString &objectName)

static

static unsigned int RColumnLayout::getGroupSortOrder(QObject *item, const QString &objectName)

static

static unsigned int RColumnLayout::getSortOrder(QObject *item, const QString &objectName)

static

static bool RColumnLayout::itemLessThan(const QPair< QLayoutItem *, unsigned long int > &v1, const QPair< QLayoutItem *, unsigned long int > &v2)

static inline

Non-Scriptable: This function is not available in script environments.

QList<QPair<QLayoutItem*, unsigned long int> > RColumnLayout::itemList

private

QSize RColumnLayout::sHint

private

int RColumnLayout::sHintColumns

private

int RColumnLayout::sHintHeight

private

int RColumnLayout::sHintHorizontal

private

int RColumnLayout::sHintIconSize

private

bool RColumnLayout::sHintVerticalWhenFloating

private

int RColumnLayout::sHintWidth

private

QToolBar* RColumnLayout::toolBar

private