Public Member Functions | Public Attributes | Protected Slots

Form1 Class Reference

The main class of the program. More...

#include <haldetector.h>

List of all members.

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.

Detailed Description

The main class of the program.


Constructor & Destructor Documentation

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'.

Here is the call graph for this function:

Form1::~Form1 (  ) 

Default destructor of the class.

Destroys the object and frees any allocated resources.


Member Function Documentation

void Form1::aboutMenuFileClicked (  )  [protected, slot]

Function called after Help->About menu click.

About Menu clicked.

Function shows information dialog about the program.

Here is the caller graph for this function:

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.

Here is the caller graph for this function:

void Form1::languageChange (  )  [protected, virtual, slot]

Sets localized text in widgets.

Sets the strings of the subwidgets using the current language.

Here is the caller graph for this function:

void Form1::quitMenuFileClicked (  )  [protected, slot]

Function called after File->Quit menu click.

Quit Menu clicked.

Function quits from the program.

Here is the caller graph for this function:

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.

Here is the caller graph for this function:

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.

Here is the caller graph for this function:


Member Data Documentation

ComboBox for Baud Rate.

QCheckBox* Form1::checkBox1

CheckBox "Use on board phase table(s).

Text line where we put the path to device used for communication.

QPopupMenu* Form1::File

File menu.

Pointer to function called after File->Quit menu click.

QPopupMenu* Form1::Help

Help menu.

Pointer to function called after Help->About menu click.

The main menu.

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.

Label with "Communication" text.

Label with "Device" text.

Label with "Baud rate" text.

Label with "Phase tables len" text.


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