CCIMXDesktop
 
Loading...
Searching...
No Matches
ToolLeftWidgets Class Reference

The ToolLeftWidgets class A custom widget for displaying a vertical tool button panel. More...

#include <ToolLeftWidgets.h>

Inheritance diagram for ToolLeftWidgets:

Classes

struct  ToolButtonInstallPackage
 ToolButtonInstallPackage Structure for packaging a tool button's configuration. More...
 

Public Types

using ToolButtonCallBack = std::function< void(void)>
 Callback function type for tool buttons.
 

Public Member Functions

 ToolLeftWidgets (QWidget *parent=nullptr)
 Construct a new ToolLeftWidgets object.
 
void install_toolbuttons (const ToolButtonInstallPackage package)
 Install a tool button into the widget.
 

Detailed Description

The ToolLeftWidgets class A custom widget for displaying a vertical tool button panel.

Constructor & Destructor Documentation

◆ ToolLeftWidgets()

ToolLeftWidgets::ToolLeftWidgets ( QWidget *  parent = nullptr)
explicit

Construct a new ToolLeftWidgets object.

Parameters
parentThe parent QWidget

Member Function Documentation

◆ install_toolbuttons()

void ToolLeftWidgets::install_toolbuttons ( const ToolButtonInstallPackage  package)

Install a tool button into the widget.

Parameters
packageA package containing name, icon, and callback

The documentation for this class was generated from the following files: