GNU Octave  8.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
Panel.cc File Reference
#include <QEvent>
#include <QFrame>
#include <QLabel>
#include <QMouseEvent>
#include <QTimer>
#include "Canvas.h"
#include "Container.h"
#include "ContextMenu.h"
#include "Panel.h"
#include "QtHandlesUtils.h"
#include "octave-qobject.h"
#include "graphics.h"
#include "interpreter.h"
Include dependency graph for Panel.cc:

Go to the source code of this file.

Functions

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

Function Documentation

◆ borderWidthFromProperties()

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

Definition at line 80 of file Panel.cc.

References round().

Referenced by Panel::updateLayout().

◆ frameStyleFromProperties()

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

Definition at line 50 of file Panel.cc.

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

◆ OCTAVE_END_NAMESPACE()

OCTAVE_END_NAMESPACE ( octave  )

◆ setupPalette()

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

Definition at line 67 of file Panel.cc.

References Utils::fromRgb().

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