ENLIGHTEN
Cross-platform desktop GUI for Wasatch Photonics spectrometers
Loading...
Searching...
No Matches
PropertyControlCommand Class Reference

#include <propertycontrolcommand.h>

Inheritance diagram for PropertyControlCommand:
[legend]
Collaboration diagram for PropertyControlCommand:
[legend]

Public Slots

void execute ()
 
void setEnabled (bool enabled)
 

Signals

void buttonPressed ()
 
void cameraDisconnected ()
 
void messageBoxTrigger (QString messageTitle, QString messageText)
 

Public Member Functions

QHBoxLayout * getLayout ()
 
bool isEnabled ()
 
 PropertyControlCommand (std::string name, std::shared_ptr< peak::core::NodeMap > nodeMap, QObject *parent=nullptr)
 

Private Attributes

QPushButton * m_button = nullptr
 
bool m_enabled
 
QLabel * m_label = nullptr
 
QHBoxLayout * m_layout = nullptr
 
std::shared_ptr< peak::core::NodeMap > m_nodemapRemoteDevice
 
std::string m_nodeName
 

Constructor & Destructor Documentation

◆ PropertyControlCommand()

PropertyControlCommand::PropertyControlCommand ( std::string name,
std::shared_ptr< peak::core::NodeMap > nodeMap,
QObject * parent = nullptr )
explicit

Member Function Documentation

◆ buttonPressed

void PropertyControlCommand::buttonPressed ( )
signal

◆ cameraDisconnected

void PropertyControlCommand::cameraDisconnected ( )
signal

◆ execute

void PropertyControlCommand::execute ( )
slot

◆ getLayout()

QHBoxLayout * PropertyControlCommand::getLayout ( )

◆ isEnabled()

bool PropertyControlCommand::isEnabled ( )

◆ messageBoxTrigger

void PropertyControlCommand::messageBoxTrigger ( QString messageTitle,
QString messageText )
signal

◆ setEnabled

void PropertyControlCommand::setEnabled ( bool enabled)
slot

Member Data Documentation

◆ m_button

QPushButton* PropertyControlCommand::m_button = nullptr
private

◆ m_enabled

bool PropertyControlCommand::m_enabled
private

◆ m_label

QLabel* PropertyControlCommand::m_label = nullptr
private

◆ m_layout

QHBoxLayout* PropertyControlCommand::m_layout = nullptr
private

◆ m_nodemapRemoteDevice

std::shared_ptr<peak::core::NodeMap> PropertyControlCommand::m_nodemapRemoteDevice
private

◆ m_nodeName

std::string PropertyControlCommand::m_nodeName
private

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