Canorus 0.0
Public Types | Public Member Functions | Private Slots | Private Member Functions | Private Attributes | List of all members
CAMidiRecorderView Class Reference

#include <midirecorderview.h>

Inheritance diagram for CAMidiRecorderView:
Inheritance graph
[legend]

Public Types

enum  CARecorderStatus { Idle , Pause , Recording }
 

Public Member Functions

 CAMidiRecorderView (CAMidiRecorder *recorder, QWidget *parent=0)
 
virtual ~CAMidiRecorderView ()
 
void setMidiRecorder (CAMidiRecorder *r)
 
CAMidiRecordermidiRecorder ()
 

Private Slots

void on_uiRecord_clicked (bool)
 
void on_uiPause_clicked (bool)
 
void on_uiStop_clicked (bool)
 
void onTimerTimeout ()
 

Private Member Functions

void setupCustomUi ()
 

Private Attributes

QTimer * _timer
 
CAMidiRecorder_midiRecorder
 
CARecorderStatus _status
 

Member Enumeration Documentation

◆ CARecorderStatus

Enumerator
Idle 
Pause 
Recording 

Constructor & Destructor Documentation

◆ CAMidiRecorderView()

CAMidiRecorderView::CAMidiRecorderView ( CAMidiRecorder r,
QWidget *  parent = 0 
)

Copyright (c) 2008, Matevž Jekovec, Canorus development team All Rights Reserved. See AUTHORS for a complete list of authors.

Licensed under the GNU GENERAL PUBLIC LICENSE. See LICENSE.GPL for details.

References _status, Idle, and setupCustomUi().

Here is the call graph for this function:

◆ ~CAMidiRecorderView()

CAMidiRecorderView::~CAMidiRecorderView ( )
virtual

References midiRecorder(), and setMidiRecorder().

Here is the call graph for this function:

Member Function Documentation

◆ midiRecorder()

CAMidiRecorder * CAMidiRecorderView::midiRecorder ( )
inline

References _midiRecorder.

Referenced by ~CAMidiRecorderView().

Here is the caller graph for this function:

◆ on_uiPause_clicked

void CAMidiRecorderView::on_uiPause_clicked ( bool  checked)
privateslot

References _midiRecorder, _status, Pause, and CAMidiRecorder::pauseRecording().

Here is the call graph for this function:

◆ on_uiRecord_clicked

void CAMidiRecorderView::on_uiRecord_clicked ( bool  checked)
privateslot

References _midiRecorder, _status, Recording, and CAMidiRecorder::startRecording().

Here is the call graph for this function:

◆ on_uiStop_clicked

void CAMidiRecorderView::on_uiStop_clicked ( bool  checked)
privateslot

References _midiRecorder, _status, Idle, and CAMidiRecorder::stopRecording().

Here is the call graph for this function:

◆ onTimerTimeout

void CAMidiRecorderView::onTimerTimeout ( )
privateslot

References _midiRecorder, _status, CAMidiRecorder::curTime(), and Pause.

Referenced by setupCustomUi().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setMidiRecorder()

void CAMidiRecorderView::setMidiRecorder ( CAMidiRecorder r)
inline

References _midiRecorder.

Referenced by ~CAMidiRecorderView().

Here is the caller graph for this function:

◆ setupCustomUi()

void CAMidiRecorderView::setupCustomUi ( )
private

References _timer, and onTimerTimeout().

Referenced by CAMidiRecorderView().

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ _midiRecorder

CAMidiRecorder* CAMidiRecorderView::_midiRecorder
private

◆ _status

CARecorderStatus CAMidiRecorderView::_status
private

◆ _timer

QTimer* CAMidiRecorderView::_timer
private

Referenced by setupCustomUi().


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