fast::Widget class

Abstract base class of widgets.

Contents

Derived classes

class ButtonWidget
A button widget.
class InputTextWidget
A input text widget.
class OptionsWidget
A widget for selecting one of several options.
class PlaybackWidget
A widget to control playback of a RandomAccessStreamer.
class SliderWidget
A slider widget to change a numerical parameter.
class TableWidget
A table widget for displaying tabular data.
class TextWidget
A text widget.

Public functions

template<class T>
void setProperty(const std::string& name, T value)
Set Qt property for this widget. This is just a wrapper for QObject::setProperty()
void setObjectName(const std::string& name)
Set Qt object name for this widget. This is just a wrapper for QObject::setObjectName()
template<>
void setProperty(const std::string& name, std::string value)

Function documentation

template<class T>
void fast::Widget::setProperty(const std::string& name, T value)

Set Qt property for this widget. This is just a wrapper for QObject::setProperty()

Template parameters
T
Parameters
name
value

void fast::Widget::setObjectName(const std::string& name)

Set Qt object name for this widget. This is just a wrapper for QObject::setObjectName()

Parameters
name

template<>
void fast::Widget::setProperty(const std::string& name, std::string value)