Flasher  0.1.0
Loading...
Searching...
No Matches
ComBox Class Reference

Bottom part GUI widget which displays serial port options. More...

#include <com_box.hpp>

Inheritance diagram for ComBox:
Collaboration diagram for ComBox:

Public Slots

void binaries (QVector< Bin > bins)
 Set binaries slot.
 

Public Member Functions

 ComBox (QWidget *parent=nullptr)
 Create layout of various dropdown menus and a start/stop button.
 

Private Slots

void startStopButtonClicked (bool start)
 Start/stop button slot.
 

Private Attributes

QComboBox * _board_combobox {new QComboBox}
 
QComboBox * _port_combobox {new QComboBox}
 
QComboBox * _baud_combobox {new QComboBox}
 
QPushButton * _start_stop_button {new QPushButton}
 
QVector< Bin > _bins {}
 
QThread * _thread {}
 
EspFlasher * _esp_flasher {}
 

Detailed Description

ComBox inherits a QGroupBox widget which displays a couple of dropdown menus to choose various serial port options. Apart from that, there is a start/stop button to start the writing process.

Constructor & Destructor Documentation

◆ ComBox()

ComBox::ComBox ( QWidget * parent = nullptr)

Member Function Documentation

◆ binaries

void ComBox::binaries ( QVector< Bin > bins)
slot
Parameters
binsBinaries

◆ startStopButtonClicked

void ComBox::startStopButtonClicked ( bool start)
privateslot
Parameters
start

Member Data Documentation

◆ _baud_combobox

QComboBox* ComBox::_baud_combobox {new QComboBox}
private

◆ _bins

QVector<Bin> ComBox::_bins {}
private

◆ _board_combobox

QComboBox* ComBox::_board_combobox {new QComboBox}
private

◆ _esp_flasher

EspFlasher* ComBox::_esp_flasher {}
private

◆ _port_combobox

QComboBox* ComBox::_port_combobox {new QComboBox}
private

◆ _start_stop_button

QPushButton* ComBox::_start_stop_button {new QPushButton}
private

◆ _thread

QThread* ComBox::_thread {}
private

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