GNU Octave  6.2.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
QtHandles Namespace Reference

Namespaces

 KeyMap
 
 Utils
 

Classes

class  BaseControl
 
class  ButtonControl
 
class  ButtonGroup
 
class  Canvas
 
class  CheckBoxControl
 
class  Container
 
class  ContainerBase
 
class  ContextMenu
 
class  EditControl
 
class  Figure
 
class  FigureWindow
 
class  FigureWindowBase
 
class  GenericEventNotifyReceiver
 
class  GenericEventNotifySender
 
class  GLCanvas
 
class  ListBoxControl
 
class  Logger
 
class  Menu
 
class  MenuBar
 
class  MenuContainer
 
class  Object
 
class  ObjectProxy
 
class  Panel
 
class  PopupMenuControl
 
class  PushButtonControl
 
class  PushTool
 
class  qt_graphics_toolkit
 
class  RadioButtonControl
 
class  SliderControl
 
class  Table
 
class  TextControl
 
class  TextEdit
 
class  ToggleButtonControl
 
class  ToggleTool
 
class  ToolBar
 
class  ToolBarButton
 

Enumerations

enum  MouseMode {
  NoMode , RotateMode , ZoomInMode , ZoomOutMode ,
  PanMode , SelectMode , TextMode
}
 

Functions

static QKeySequence accelSequence (const uimenu::properties &up)
 
static QAction * addEmptyAction (QToolBar *bar)
 
static octave_value attempt_type_conversion (const octave_value &ov, const octave_value &old_value)
 
static void autoscale_axes (gh_manager &gh_mgr, axes::properties &ap)
 
static int borderWidthFromProperties (const uibuttongroup::properties &pp)
 
static int borderWidthFromProperties (const uipanel::properties &pp)
 
static QRect boundingBoxToRect (const Matrix &bb)
 
static double button_number (QMouseEvent *event)
 
static QString formatComplex (Complex c, char format='f', int precision=4)
 
static QString formatNumber (double d, char format='f', int precision=4)
 
static QString formatNumber (float d, char format='f', int precision=4)
 
static int frameStyleFromProperties (const uibuttongroup::properties &pp)
 
static int frameStyleFromProperties (const uipanel::properties &pp)
 
static QTableWidgetItem * itemFor (octave_value val, std::string format="", bool enabled=false)
 
static QIcon makeEmptyIcon (void)
 
static bool pan_enabled (const graphics_object figObj)
 
static std::string pan_mode (const graphics_object figObj)
 
static QImage pointer_to_qimage (const Matrix &cdata)
 
static std::pair< Qt::AlignmentFlag, QString > qStringValueFor (octave_value val, std::string format="")
 
static QSize realQSizeForTable (QTableWidget *t)
 
static void setupPalette (const uibuttongroup::properties &pp, QPalette &p)
 
static void setupPalette (const uipanel::properties &pp, QPalette &p)
 
static std::string toolkitObjectProperty (const graphics_object &go)
 
static void updatePalette (const uicontrol::properties &props, QWidget *w)
 
static void updateSelection (QListWidget *list, const Matrix &value)
 
static bool zoom_enabled (const graphics_object figObj)
 
static std::string zoom_mode (const graphics_object figObj)
 

Variables

static const int AUTO_WIDTH = 75
 

Enumeration Type Documentation

◆ MouseMode

Enumerator
NoMode 
RotateMode 
ZoomInMode 
ZoomOutMode 
PanMode 
SelectMode 
TextMode 

Definition at line 49 of file Figure.h.

Function Documentation

◆ accelSequence()

static QKeySequence QtHandles::accelSequence ( const uimenu::properties up)
static

Definition at line 45 of file Menu.cc.

References CTRL.

Referenced by QtHandles::Menu::Menu(), and QtHandles::Menu::update().

◆ addEmptyAction()

static QAction* QtHandles::addEmptyAction ( QToolBar *  bar)
static

Definition at line 59 of file ToolBar.cc.

References makeEmptyIcon().

Referenced by QtHandles::ToolBar::ToolBar().

◆ attempt_type_conversion()

◆ autoscale_axes()

static void QtHandles::autoscale_axes ( gh_manager gh_mgr,
axes::properties ap 
)
static

◆ borderWidthFromProperties() [1/2]

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

◆ borderWidthFromProperties() [2/2]

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

Definition at line 81 of file Panel.cc.

References octave::math::round().

◆ boundingBoxToRect()

static QRect QtHandles::boundingBoxToRect ( const Matrix bb)
static

Definition at line 74 of file Figure.cc.

References Array< T >::numel(), r, and octave::math::round().

Referenced by QtHandles::Figure::Figure(), and QtHandles::Figure::update().

◆ button_number()

static double QtHandles::button_number ( QMouseEvent *  event)
static

Definition at line 557 of file Canvas.cc.

References retval.

Referenced by QtHandles::Canvas::canvasMousePressEvent().

◆ formatComplex()

static QString QtHandles::formatComplex ( Complex  c,
char  format = 'f',
int  precision = 4 
)
static

Definition at line 119 of file Table.cc.

References octave::format(), and formatNumber().

Referenced by qStringValueFor().

◆ formatNumber() [1/2]

static QString QtHandles::formatNumber ( double  d,
char  format = 'f',
int  precision = 4 
)
static

Definition at line 114 of file Table.cc.

Referenced by formatComplex().

◆ formatNumber() [2/2]

static QString QtHandles::formatNumber ( float  d,
char  format = 'f',
int  precision = 4 
)
static

Definition at line 115 of file Table.cc.

◆ frameStyleFromProperties() [1/2]

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

◆ frameStyleFromProperties() [2/2]

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

Definition at line 51 of file Panel.cc.

◆ itemFor()

static QTableWidgetItem* QtHandles::itemFor ( octave_value  val,
std::string  format = "",
bool  enabled = false 
)
static

Definition at line 331 of file Table.cc.

References octave::format(), qStringValueFor(), and retval.

Referenced by QtHandles::Table::updateData().

◆ makeEmptyIcon()

static QIcon QtHandles::makeEmptyIcon ( void  )
static

Definition at line 49 of file ToolBar.cc.

Referenced by addEmptyAction().

◆ pan_enabled()

static bool QtHandles::pan_enabled ( const graphics_object  figObj)
static

◆ pan_mode()

static std::string QtHandles::pan_mode ( const graphics_object  figObj)
static

◆ pointer_to_qimage()

static QImage QtHandles::pointer_to_qimage ( const Matrix cdata)
static

Definition at line 90 of file Figure.cc.

References Array< T >::columns(), retval, and Array< T >::rows().

Referenced by QtHandles::Figure::update().

◆ qStringValueFor()

◆ realQSizeForTable()

static QSize QtHandles::realQSizeForTable ( QTableWidget *  t)
static

Definition at line 67 of file Table.cc.

References Faddeeva::w().

Referenced by QtHandles::Table::updateExtent().

◆ setupPalette() [1/2]

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

◆ setupPalette() [2/2]

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

Definition at line 68 of file Panel.cc.

References QtHandles::Utils::fromRgb().

◆ toolkitObjectProperty()

static std::string QtHandles::toolkitObjectProperty ( const graphics_object go)
static

◆ updatePalette()

static void QtHandles::updatePalette ( const uicontrol::properties props,
QWidget w 
)
static

◆ updateSelection()

static void QtHandles::updateSelection ( QListWidget *  list,
const Matrix value 
)
static

Definition at line 44 of file ListBoxControl.cc.

References n, Array< T >::numel(), and octave::math::round().

Referenced by QtHandles::ListBoxControl::update().

◆ zoom_enabled()

static bool QtHandles::zoom_enabled ( const graphics_object  figObj)
static

◆ zoom_mode()

static std::string QtHandles::zoom_mode ( const graphics_object  figObj)
static

Variable Documentation

◆ AUTO_WIDTH

const int QtHandles::AUTO_WIDTH = 75
static

Definition at line 63 of file Table.cc.

Referenced by QtHandles::Table::updateColumnwidth().