Scribus
Open source desktop publishing at your fingertips
pictview.h
1 //
2 // C++ Interface: pictview
3 //
4 // Description:
5 //
6 //
7 // Author: Pierre Marchand <pierremarc@oep-h.com>, (C) 2009
8 //
9 // Copyright: See COPYING file that comes with this distribution
10 //
11 //
12 
13 #ifndef PICTVIEW_H
14 #define PICTVIEW_H
15 
16 #include <QListView>
17 
18 class PreviewImagesModel;
19 
20 class PictView : public QListView
21 {
22  public:
23  PictView(QWidget * parent );
24 
25  void SetModel(PreviewImagesModel * pm);
26  QItemSelectionModel *SelectionModel() const;
27  void SetIconSize(const QSize& s);
28  void SetGridSize(const QSize& s);
29 
30  protected:
31  void startDrag( Qt::DropActions supportedActions );
32 
33 };
34 
35 #endif // PICTVIEW_H
36 
Definition: previewimage.h:140
Definition: pictview.h:20