20 #ifndef POSTERPREVIEW_H
21 #define POSTERPREVIEW_H
24 #include <tqvaluelist.h>
28 class PosterPreview :
public TQFrame
32 PosterPreview( TQWidget *parent = 0,
const char *name = 0 );
33 PosterPreview(
const TQString& postersize,
const TQString& mediasize, TQWidget *parent = 0,
const char *name = 0 );
37 void setPosterSize(
int );
38 void setPosterSize(
const TQString& );
39 void setMediaSize(
int );
40 void setMediaSize(
const TQString& );
41 void setCutMargin(
int );
43 void setSelectedPages(
const TQString& );
46 void selectionChanged(
const TQString& );
50 void drawContents( TQPainter* );
53 void mouseMoveEvent( TQMouseEvent* );
54 void mousePressEvent( TQMouseEvent* );
55 void emitSelectedPages();
58 void slotProcessStderr( TDEProcess*,
char*,
int );
59 void slotProcessExited( TDEProcess* );
66 TDEProcess *m_process;
68 TQString m_postersize, m_mediasize;
71 TQRect m_boundingrect;
72 TQValueList<int> m_selectedpages;