The main class of the program. More...
#include <haldetector.h>
Public Member Functions | |
Form1 (QWidget *parent=0, const char *name=0, WFlags fl=WType_TopLevel) | |
Default constructor of the call. | |
~Form1 () | |
Default destructor of the class. | |
Public Attributes | |
QLabel * | textLabel1 |
Label with "Communication" text. | |
QPushButton * | stopButton |
Button "Stop". | |
QLabel * | textLabel3 |
Label with "Phase tables len" text. | |
QComboBox * | baudComboBox1 |
ComboBox for Baud Rate. | |
QLabel * | pixmapLabel3 |
Pointer to the Blue - Rose pixmap. | |
QLabel * | textLabel1_2 |
Label with "Device" text. | |
QPushButton * | startButton |
Button "Start". | |
QLineEdit * | sinLineEdit1 |
Text line field where we put the length of phase table(s). | |
QLabel * | textLabel2 |
Label with "Baud rate" text. | |
QTextEdit * | textEdit1 |
TextEdit field where appear results of scanning. | |
QLineEdit * | deviceLineEdit1 |
Text line where we put the path to device used for communication. | |
QMenuBar * | MenuBarEditor |
The main menu. | |
QPopupMenu * | File |
File menu. | |
QPopupMenu * | Help |
Help menu. | |
QAction * | fileQuitAction |
Pointer to function called after File->Quit menu click. | |
QAction * | helpAboutAction |
Pointer to function called after Help->About menu click. | |
QCheckBox * | checkBox1 |
CheckBox "Use on board phase table(s). | |
Protected Slots | |
virtual void | languageChange () |
Sets localized text in widgets. | |
void | startButtonClicked () |
Function called after "Start" button click. | |
void | stopButtonClicked () |
Function called after "Stop" button click. | |
void | checkBox1ButtonClicked () |
Function called after clicked on the "Use on board phase tables" checkbox. | |
void | quitMenuFileClicked () |
Function called after File->Quit menu click. | |
void | aboutMenuFileClicked () |
Function called after Help->About menu click. |
The main class of the program.
Form1::Form1 | ( | QWidget * | parent = 0 , |
|
const char * | name = 0 , |
|||
WFlags | fl = WType_TopLevel | |||
) |
Default constructor of the call.
Constructs a Form1 as a child of 'parent', with the name 'name' and widget flags set to 'f'.
Form1::~Form1 | ( | ) |
Default destructor of the class.
Destroys the object and frees any allocated resources.
void Form1::aboutMenuFileClicked | ( | ) | [protected, slot] |
Function called after Help->About menu click.
About Menu clicked.
Function shows information dialog about the program.
void Form1::checkBox1ButtonClicked | ( | ) | [protected, slot] |
Function called after clicked on the "Use on board phase tables" checkbox.
Function checks wheater checkbox for board was selected.
void Form1::languageChange | ( | ) | [protected, virtual, slot] |
Sets localized text in widgets.
Sets the strings of the subwidgets using the current language.
void Form1::quitMenuFileClicked | ( | ) | [protected, slot] |
Function called after File->Quit menu click.
Quit Menu clicked.
Function quits from the program.
void Form1::startButtonClicked | ( | ) | [protected, slot] |
Function called after "Start" button click.
Start button clicked.
According to selections in checkbox, chosen baud rate and selections of device it calls others functions in right order. This function automatically opens and closes given device, allocates and frees memory.
void Form1::stopButtonClicked | ( | ) | [protected, slot] |
Function called after "Stop" button click.
Stop button clicked.
Function stops detection of the hall position table and index mark.
QComboBox* Form1::baudComboBox1 |
ComboBox for Baud Rate.
QCheckBox* Form1::checkBox1 |
CheckBox "Use on board phase table(s).
QLineEdit* Form1::deviceLineEdit1 |
Text line where we put the path to device used for communication.
QPopupMenu* Form1::File |
File menu.
QAction* Form1::fileQuitAction |
Pointer to function called after File->Quit menu click.
QPopupMenu* Form1::Help |
Help menu.
QAction* Form1::helpAboutAction |
Pointer to function called after Help->About menu click.
QMenuBar* Form1::MenuBarEditor |
The main menu.
QLabel* Form1::pixmapLabel3 |
Pointer to the Blue - Rose pixmap.
QLineEdit* Form1::sinLineEdit1 |
Text line field where we put the length of phase table(s).
QPushButton* Form1::startButton |
Button "Start".
QPushButton* Form1::stopButton |
Button "Stop".
QTextEdit* Form1::textEdit1 |
TextEdit field where appear results of scanning.
QLabel* Form1::textLabel1 |
Label with "Communication" text.
QLabel* Form1::textLabel1_2 |
Label with "Device" text.
QLabel* Form1::textLabel2 |
Label with "Baud rate" text.
QLabel* Form1::textLabel3 |
Label with "Phase tables len" text.