Add stop function. Trying to implement a different playing behaviour with a direct connection to the SubWindow class
This commit is contained in:
1 parent
05e007c135
commit
3ee9a4b277
3 files changed
+42
-25
No files matched your search
@@ -57,6 +57,8 @@ private:
|
||||
|
||||
Double m_dScaleFactor;
|
||||
|
||||
Bool m_bIsPlaying;
|
||||
|
||||
public:
|
||||
SubWindowHandle( QWidget * parent = 0 );
|
||||
~SubWindowHandle();
|
||||
@@ -64,7 +66,7 @@ public:
|
||||
bool loadFile( const QString &fileName );
|
||||
bool save();
|
||||
|
||||
bool playEvent();
|
||||
Void stopEvent();
|
||||
|
||||
InputStream* getInputStream()
|
||||
{
|
||||
@@ -124,8 +126,8 @@ public:
|
||||
protected:
|
||||
Void closeEvent( QCloseEvent *event );
|
||||
|
||||
private Q_SLOTS:
|
||||
|
||||
public Q_SLOTS:
|
||||
int playEvent();
|
||||
};
|
||||
|
||||
} // NAMESPACE
|
||||
|
||||
Reference in new issue
Block a user