Add thread controlling functions for modules
This commit is contained in:
+22
-19
@@ -100,25 +100,6 @@ private:
|
||||
QFuture<Void> m_cRefreshResult;
|
||||
QFuture<Void> m_cReadResult;
|
||||
|
||||
Void refreshFrameOperation();
|
||||
Bool goToNextFrame( Bool bThreaded = false );
|
||||
|
||||
static Bool guessFormat( QString filename,
|
||||
UInt& rWidth,
|
||||
UInt& rHeight,
|
||||
Int& rInputFormat,
|
||||
UInt& rBitsPerPixel,
|
||||
Int& rEndianness );
|
||||
|
||||
/**
|
||||
* Private zoom function to handle
|
||||
* zoom to fit
|
||||
*/
|
||||
Void scaleView( const QSize& size, QPoint center = QPoint() );
|
||||
Void updateVideoWindowInfo();
|
||||
|
||||
QSize getScrollSize();
|
||||
|
||||
public:
|
||||
enum VideoSubWindowCategories
|
||||
{
|
||||
@@ -201,6 +182,28 @@ public:
|
||||
Void clearWindowBusy() { m_bWindowBusy = false; }
|
||||
Void setFillWindow( Bool bFlag );
|
||||
|
||||
private:
|
||||
Void refreshFrameOperation();
|
||||
Bool goToNextFrame( Bool bThreaded = false );
|
||||
|
||||
static Bool guessFormat( QString filename,
|
||||
UInt& rWidth,
|
||||
UInt& rHeight,
|
||||
Int& rInputFormat,
|
||||
UInt& rBitsPerPixel,
|
||||
Int& rEndianness );
|
||||
|
||||
Bool hasRunningModule();
|
||||
|
||||
/**
|
||||
* Private zoom function to handle
|
||||
* zoom to fit
|
||||
*/
|
||||
Void scaleView( const QSize& size, QPoint center = QPoint() );
|
||||
Void updateVideoWindowInfo();
|
||||
|
||||
QSize getScrollSize();
|
||||
|
||||
protected:
|
||||
Void keyPressEvent( QKeyEvent* event );
|
||||
Void resizeEvent( QResizeEvent* event );
|
||||
|
||||
Reference in New Issue
Block a user