#include <devicetoolbutton.hpp>
Definition at line 49 of file devicetoolbutton.hpp.
pv::widgets::DeviceToolButton::DeviceToolButton |
( |
QWidget * |
parent, |
|
|
DeviceManager & |
device_manager, |
|
|
QAction * |
connect_action |
|
) |
| |
Constructor
- Parameters
-
parent | the parent widget. |
device_manager | the device manager. |
connect_action | the connect-to-device action. |
Definition at line 43 of file devicetoolbutton.cpp.
void pv::widgets::DeviceToolButton::device_selected |
( |
| ) |
|
|
signal |
void pv::widgets::DeviceToolButton::on_action |
( |
QObject * |
action | ) |
|
|
privateslot |
void pv::widgets::DeviceToolButton::on_menu_hover_timeout |
( |
| ) |
|
|
privateslot |
void pv::widgets::DeviceToolButton::on_menu_hovered |
( |
QAction * |
action | ) |
|
|
privateslot |
void pv::widgets::DeviceToolButton::reset |
( |
| ) |
|
Sets the current device to "no device". Useful for when a selected device fails to open.
Definition at line 85 of file devicetoolbutton.cpp.
shared_ptr< Device > pv::widgets::DeviceToolButton::selected_device |
( |
| ) |
|
Sets the current list of devices.
- Parameters
-
device | the list of devices. |
selected_device | the currently active device. |
Definition at line 75 of file devicetoolbutton.cpp.
void pv::widgets::DeviceToolButton::update_device_list |
( |
| ) |
|
|
private |
QAction* const pv::widgets::DeviceToolButton::connect_action_ |
|
private |
QString pv::widgets::DeviceToolButton::device_tooltip_ |
|
private |
vector< weak_ptr<devices::Device> > pv::widgets::DeviceToolButton::devices_ |
|
private |
QSignalMapper pv::widgets::DeviceToolButton::mapper_ |
|
private |
QMenu pv::widgets::DeviceToolButton::menu_ |
|
private |
shared_ptr<devices::Device> pv::widgets::DeviceToolButton::selected_device_ |
|
private |
The documentation for this class was generated from the following files: