Public Slots | Public Member Functions

MainWindow Class Reference

MainWindow. More...

#include <MainWindow.h>

List of all members.

Public Slots

void startPatch ()
 MainWindow Start Patch.
void stopPatch ()
 MainWindow Stop Patch.
void selectPatch ()
 MainWindow Select Patch.
void adjustVolume ()
 MainWindow Adjust Volume.
void adjustStrength ()
 MainWindow Adjust Strength.
void updatePatchList ()
 MainWindow Update Patch List.

Public Member Functions

 MainWindow (QWidget *parent=0)
 MainWindow Constructor.
void initButtons ()
 MainWindow Init Buttons.
void setStrings ()
 MainWindow Set Strings.
void setPatchList ()
 MainWindow Set Patch List.
QString getSelectedPatch ()
 MainWindow Get Selected Patch.

Detailed Description

MainWindow.

This class provides the graphical user interface, designed with Qt.


Constructor & Destructor Documentation

MainWindow::MainWindow ( QWidget *  parent = 0) [explicit]

MainWindow Constructor.

Inherits QWidget


Member Function Documentation

void MainWindow::adjustStrength ( ) [slot]

MainWindow Adjust Strength.

Is called when adjusting the strength QDial

void MainWindow::adjustVolume ( ) [slot]

MainWindow Adjust Volume.

Is called when adjusting the volume QDial

QString MainWindow::getSelectedPatch ( )

MainWindow Get Selected Patch.

Simply tells which patch is currently active (QComboBox)

void MainWindow::initButtons ( )

MainWindow Init Buttons.

Initializes the GUI buttons and other handlers

void MainWindow::selectPatch ( ) [slot]

MainWindow Select Patch.

Is called when the user select a new patch in the QComboBox

void MainWindow::setPatchList ( )

MainWindow Set Patch List.

Fetches the availible patches from the Presenter class

void MainWindow::setStrings ( )

MainWindow Set Strings.

Sets up the corresponding strings to the GUI elements

void MainWindow::startPatch ( ) [slot]

MainWindow Start Patch.

Gets called when the On-button is clicked, when the QComboBox is finished setting up and also when a new patch is selected

void MainWindow::stopPatch ( ) [slot]

MainWindow Stop Patch.

Gets called when the Off-button is clicked, also prior to activating the new patch selected in QComboBox

void MainWindow::updatePatchList ( ) [slot]

MainWindow Update Patch List.

Is called when the Update List button is clicked, makes sure the list is up to date with availible patches


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