GNU Octave  8.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
ButtonGroup.cc File Reference
#include <QAbstractButton>
#include <QButtonGroup>
#include <QEvent>
#include <QFrame>
#include <QLabel>
#include <QMouseEvent>
#include <QRadioButton>
#include <QTimer>
#include "Canvas.h"
#include "Container.h"
#include "ContextMenu.h"
#include "ButtonGroup.h"
#include "ToggleButtonControl.h"
#include "RadioButtonControl.h"
#include "QtHandlesUtils.h"
#include "qt-graphics-toolkit.h"
#include "octave-qobject.h"
#include "octave-qtutils.h"
#include "interpreter.h"
#include "oct-map.h"
Include dependency graph for ButtonGroup.cc:

Go to the source code of this file.

Functions

static int borderWidthFromProperties (const uibuttongroup::properties &pp)
 
static int frameStyleFromProperties (const uibuttongroup::properties &pp)
 
 OCTAVE_END_NAMESPACE (octave)
 
static void setupPalette (const uibuttongroup::properties &pp, QPalette &p)
 

Function Documentation

◆ borderWidthFromProperties()

static int borderWidthFromProperties ( const uibuttongroup::properties &  pp)
static

Definition at line 87 of file ButtonGroup.cc.

References round().

Referenced by ButtonGroup::updateLayout().

◆ frameStyleFromProperties()

static int frameStyleFromProperties ( const uibuttongroup::properties &  pp)
static

Definition at line 57 of file ButtonGroup.cc.

Referenced by ButtonGroup::ButtonGroup(), and ButtonGroup::update().

◆ OCTAVE_END_NAMESPACE()

OCTAVE_END_NAMESPACE ( octave  )

◆ setupPalette()

static void setupPalette ( const uibuttongroup::properties &  pp,
QPalette &  p 
)
static

Definition at line 74 of file ButtonGroup.cc.

References Utils::fromRgb().

Referenced by ButtonGroup::ButtonGroup(), and ButtonGroup::update().