7 #ifndef DLG_FILTER_WORKER_H 8 #define DLG_FILTER_WORKER_H 10 #include "ColorFilterMode.h" 11 #include "DlgFilterCommand.h" 19 typedef QList<DlgFilterCommand> FilterCommandQueue;
29 QRgb m_rgbBackground);
38 void slotRestartTimeout ();
48 QImage m_imageOriginal;
51 FilterCommandQueue m_inputCommandQueue;
52 ColorFilterMode m_colorFilterMode;
57 QTimer m_restartTimer;
60 #endif // DLG_FILTER_WORKER_H void slotNewParameters(ColorFilterMode colorFilterMode, double low, double high)
Start processing with a new set of parameters. Any ongoing processing is interrupted when m_filterMod...
void signalTransferPiece(int xLeft, QImage image)
Send a processed vertical piece of the original pixmap. The destination is between xLeft and xLeft+pi...
Class for processing new filter settings. This is based on http://blog.debao.me/2013/08/how-to-use-qw...