• Skip to main content
  • Skip to header right navigation
  • Skip to site footer
CDP Studio logo

CDP Studio

The no-code and full-code software development tool for distributed control systems and HMI

  • Doc
  • Why CDP
    • Software developers
    • Automation engineers
    • Managers
  • Product
    • Design UI
    • Develop
    • Analyze and test
    • Deploy
    • Framework and toolbox
    • Compatibility
  • Services
  • Use cases
  • Pricing
  • Try CDP

CDP Studio Documentation

  • GUI - CDP Widgets
  • FlowWidget

FlowWidget Class

The Flow Widget is a container that enables flow layout for special widgets like the Node Container More...

Header: #include <FlowWidget>
  • List of all members, including inherited members

Properties

  • bottomMargin : int
  • horizontalSpacing : int
  • leftMargin : int
  • rightMargin : int
  • topMargin : int
  • verticalSpacing : int

Public Functions

FlowWidget(QWidget *parent = nullptr)
void addWidget(QWidget *widget, const QString &title = "") override
int bottomMargin() const
int horizontalSpacing() const
int leftMargin() const
void removeWidgets() override
int rightMargin() const
void setBottomMargin(int margin)
void setHorizontalSpacing(int spacing)
void setLeftMargin(int margin)
void setRightMargin(int margin)
void setTopMargin(int margin)
void setVerticalSpacing(int spacing)
int topMargin() const
int verticalSpacing() const

Detailed Description

The Flow Widget is a container that enables flow layout for special widgets like the Node Container

The Flow Widget does not support stand-alone use and can't have children added in the CDP Studio Design mode using ordinary drag-and-drop. To add child widgets, the container must be used within a widget like the Node Container - widgets that support adding widgets to the layout of a specified target child.

Property Documentation

bottomMargin : int

Access functions:

int bottomMargin() const
void setBottomMargin(int margin)

horizontalSpacing : int

Access functions:

int horizontalSpacing() const
void setHorizontalSpacing(int spacing)

leftMargin : int

Access functions:

int leftMargin() const
void setLeftMargin(int margin)

rightMargin : int

Access functions:

int rightMargin() const
void setRightMargin(int margin)

topMargin : int

Access functions:

int topMargin() const
void setTopMargin(int margin)

verticalSpacing : int

Access functions:

int verticalSpacing() const
void setVerticalSpacing(int spacing)

Member Function Documentation

FlowWidget::FlowWidget(QWidget *parent = nullptr)

Default constructs an instance of FlowWidget.

void FlowWidget::addWidget(QWidget *widget, const QString &title = "")

void FlowWidget::removeWidgets()

The content of this document is confidential information not to be published without the consent of CDP Technologies AS.

CDP Technologies AS, www.cdpstudio.com

Get started with CDP Studio today

Let us help you take your great ideas and turn them into the products your customer will love.

Try CDP Studio for free
Why CDP Studio?

CDP Technologies AS
Hundsværgata 8,
P.O. Box 144
6001 Ålesund, Norway

Tel: +47 990 80 900
E-mail: info@cdptech.com

Company

About CDP

Contact us

Services

Partners

Blog

Developers

Get started

User manuals

Support

Document download

Release notes

My account

Follow CDP

  • LinkedIn
  • YouTube
  • GitHub

© Copyright 2024 CDP Technologies. Privacy and cookie policy.

Return to top