Skip to content

File widgets.h

FileList > src > widgets.h

Go to the source code of this file

  • #include <QColor>
  • #include <QEvent>
  • #include <QLineEdit>
  • #include <QPushButton>
  • #include <QSlider>
  • #include <QSpinBox>
  • #include <QToolButton>
  • #include <QVBoxLayout>

Classes

Type Name
class QArrowToolButton
A custom tool button with an arrow indicator in the bottom right corner.
class QDoubleSpinBoxesPopup
Custom widget providing a pop-up interface for managing two spin box elements.
class QDoubleSpinBoxesWithColorPickersPopup
Custom widget combining QDoubleSpinBox and color picker popup buttons.
class QLineSpinPopup
Popup widget containing a line input and a spin box.
class QRgbChannelSpinBoxesPopup
Popup widget that provides spin boxes for adjusting RGB channel values.
class QSliderLabeled
Custom slider widget used to display text labels along the slider.
class QSliderPopup
Popup widget containing a labeled slider.

Public Functions

Type Name
void StyleQFrameInPopupWindow (QFrame * frame, QLayout * layout, int borderRadius, int contentMargin)
Styles a QFrame widget by applying a border, border radius, and content margins.

Public Functions Documentation

function StyleQFrameInPopupWindow

Styles a QFrame widget by applying a border, border radius, and content margins.

void StyleQFrameInPopupWindow (
    QFrame * frame,
    QLayout * layout,
    int borderRadius,
    int contentMargin
) 

This method applies a stylesheet to the provided QFrame, setting a solid border with a radius specified by the borderRadius parameter. It also adjusts the layout's content margins to the provided contentMargin value.

Parameters:

  • frame Pointer to the QFrame to be styled.
  • layout Pointer to the QLayout associated with the QFrame.
  • borderRadius The radius to be applied to the corners of the QFrame's border.
  • contentMargin The margin to be applied around the contents of the QLayout.


The documentation for this class was generated from the following file src/widgets.h