Fix pixel value and position tracking in statusbar.
This commit is contained in:
1 parent
9c5cc4d1a6
commit
1976bb5a08
5 files changed
+45
-20
No files matched your search
+8
-2
@@ -34,6 +34,8 @@
|
||||
namespace plaYUVer
|
||||
{
|
||||
|
||||
class InputStream;
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
@@ -98,12 +100,14 @@ public:
|
||||
return m_maskColor;
|
||||
}
|
||||
|
||||
void setInputStream( InputStream *stream );
|
||||
InputStream* getInputStream();
|
||||
|
||||
// QSize sizeHint() const;
|
||||
|
||||
signals:
|
||||
void selectionChanged( const QRect &rect );
|
||||
void positionChanged( const QPoint &pos );
|
||||
void updateStatusBar( const QPoint &actualPos, int &luma, int &chromaU, int &chromaV );
|
||||
void positionChanged( const QPoint &pos, InputStream *stream );
|
||||
void zoomFactorChanged( double );
|
||||
|
||||
public slots:
|
||||
@@ -157,6 +161,8 @@ private:
|
||||
bool m_snapToGrid;
|
||||
bool m_cursorInGrid;
|
||||
|
||||
InputStream *m_pStream;
|
||||
|
||||
};
|
||||
|
||||
} // NameSpace plaYUVer
|
||||
|
||||
Reference in new issue
Block a user