API Documentation
Loading...
Searching...
No Matches
WinchDeploymentWidget.h
Go to the documentation of this file.
1#pragma once
2#include "DLLInfo.h"
3#include <QWidget>
4namespace Ui
5{
6 class WinchDeploymentDialogUI;
7}
8namespace NDEVR
9{
10 class Motor;
11 class Button;
12 struct PopupInfo;
13 class WinchDeploymentDialog;
14 class DistanceEncoder;
16 {
17 public:
18 MotorDeploymentWidget(QWidget* parent = nullptr);
19 MotorDeploymentWidget(Motor* winch, QWidget* parent = nullptr);
20 void setMotor(Motor* winch);
21 void startMotor(bool up, bool constant);
22 void stopWinch();
23 protected:
24 void setupUI();
26 protected:
33 };
35 {
36 public:
37 WinchDeploymentDialog(QWidget* parent = nullptr);
38 WinchDeploymentDialog(Motor* winch, QWidget* parent = nullptr);
39 void setMotor(Motor* winch);
40 protected:
41 void setupUI();
42 protected:
45 Ui::WinchDeploymentDialogUI* ui;
46 };
47}
#define HARDWARE_WIDGETS_API
Definition DLLInfo.h:74
A core widget that allows the user to click one of many button types.
Definition Button.h:66
Definition DistanceEncoder.h:20
Definition WinchDeploymentWidget.h:16
MotorDeploymentWidget(QWidget *parent=nullptr)
Button * m_deploy_down
Definition WinchDeploymentWidget.h:30
WinchDeploymentDialog * m_deployment_dialog
Definition WinchDeploymentWidget.h:32
void setMotor(Motor *winch)
Button * m_deploy_constant_up
Definition WinchDeploymentWidget.h:29
Motor * m_motor
Definition WinchDeploymentWidget.h:27
MotorDeploymentWidget(Motor *winch, QWidget *parent=nullptr)
void startMotor(bool up, bool constant)
WinchDeploymentDialog * deploymentDialog()
Button * m_deploy_constant_down
Definition WinchDeploymentWidget.h:28
Button * m_deploy_up
Definition WinchDeploymentWidget.h:31
Definition Motor.h:40
Definition WinchDeploymentWidget.h:35
WinchDeploymentDialog(QWidget *parent=nullptr)
Motor * m_winch
Definition WinchDeploymentWidget.h:43
Ui::WinchDeploymentDialogUI * ui
Definition WinchDeploymentWidget.h:45
void setMotor(Motor *winch)
WinchDeploymentDialog(Motor *winch, QWidget *parent=nullptr)
DistanceEncoder * m_encoder
Definition WinchDeploymentWidget.h:44
Definition ACIColor.h:37
Definition FontEditor.h:6