Fix pixel value and position tracking in statusbar.

This commit is contained in:
Luis Lucas committed 2014-03-22 20:20:28 +00:00
1 parent 9c5cc4d1a6
commit 1976bb5a08
5 files changed
+45 -20

No files matched your search

+8 -2
View File
@@ -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