Scribus
Open source desktop publishing at your fingertips
picstatus.h
1 /*
2 For general Scribus (>=1.3.2) copyright and licensing information please refer
3 to the COPYING file provided with the program. Following this notice may exist
4 a copyright and/or license notice that predates the release of Scribus 1.3.2
5 for which a new license (GPL+exception) is in place.
6 */
7 #ifndef PICSTATUS_H
8 #define PICSTATUS_H
9 
10 #include "scribusapi.h"
11 #include "ui_picstatus.h"
12 #include <QListWidgetItem>
13 
14 class ScribusDoc;
15 class PageItem;
16 
17 class SCRIBUS_API PicItem : public QListWidgetItem
18 {
19 public:
20  PicItem(QListWidget* parent, QString text, QPixmap pix, PageItem* pgItem);
21  ~PicItem() {};
22  PageItem *PageItemObject;
23 };
24 
25 
28 class SCRIBUS_API PicStatus : public QDialog, Ui::PicStatus
29 {
30  Q_OBJECT
31 
32 public:
40  PicStatus(QWidget* parent, ScribusDoc *docu);
41  ~PicStatus() {};
42 
43  QPixmap createImgIcon(PageItem* item);
44 
48  void fillTable();
49 
50 private slots:
51  void sortByName();
52  void sortByPage();
53  void slotRightClick();
54  void imageSelected(QListWidgetItem *ite);
55  void newImageSelected();
60  void PrintPic();
65  void visiblePic();
70  void GotoPic();
71 
76  void SelectPic();
81  void SearchPic();
82  void doImageEffects();
83  void doImageExtProp();
84  void doEditImage();
85 
86 signals:
87  void selectPage(int);
88  void selectMasterPage(QString);
89  void selectElementByItem(PageItem *, bool, int);
90  void refreshItem(PageItem*);
91 
92 protected:
95  bool loadPict(const QString & newFilePath);
96 
97 private:
98  ScribusDoc *m_Doc;
99  PageItem *currItem;
100  int sortOrder;
101 
102 };
103 #endif
Definition: picstatus.h:17
the Document Class
Definition: scribusdoc.h:90
Constructs a Dialog, which list all Images in the current Document. In this Dialog it is possible to ...
Definition: picstatus.h:28
Definition: pageitem.h:92