7 #ifndef PAGEPALETTE_WIDGETS_H
8 #define PAGEPALETTE_WIDGETS_H
12 #include <QDragEnterEvent>
13 #include <QDragLeaveEvent>
14 #include <QDragMoveEvent>
16 #include <QHBoxLayout>
21 #include <QListWidget>
22 #include <QMouseEvent>
24 #include <QPushButton>
26 #include <QTableWidget>
27 #include <QTableWidgetItem>
29 #include <QVBoxLayout>
33 #include "scribusapi.h"
34 #include "scdockpalette.h"
40 class SCRIBUS_API
SeItem :
public QTableWidgetItem
47 SeItem(QString text, uint pgnr,
const QPixmap& Pix);
50 const QString& getPageName();
57 class SCRIBUS_API
SeList :
public QListWidget
69 void toggleThumbnail();
73 void thumbnailChanged();
74 void DelMaster(QString);
77 void mouseReleaseEvent(QMouseEvent *m);
78 void mousePressEvent(QMouseEvent* e);
79 void mouseMoveEvent(QMouseEvent* e);
80 virtual void keyPressEvent(QKeyEvent* e);
83 QListWidgetItem *CurItem;
89 class SCRIBUS_API
SeView :
public QTableWidget
101 int GetPage(
int r,
int c,
bool *last);
102 SeItem* GetPageItem(
int pageIndex);
108 void UseTemp(QString,
int);
109 void NewPage(
int, QString);
110 void movePage(
int,
int);
111 void Click(
int,
int,
int);
115 virtual void dropEvent(QDropEvent * e);
116 virtual void dragEnterEvent(QDragEnterEvent *e);
117 virtual void dragLeaveEvent(QDragLeaveEvent *e);
118 virtual void dragMoveEvent(QDragMoveEvent *e);
119 virtual void mouseReleaseEvent(QMouseEvent *m);
120 virtual void mousePressEvent(QMouseEvent* e);
121 virtual void mouseMoveEvent(QMouseEvent* e);
122 virtual void keyPressEvent(QKeyEvent* e);
145 void dragEnterEvent( QDragEnterEvent *e );
146 void dragLeaveEvent( QDragLeaveEvent * );
147 void dropEvent( QDropEvent * e );
155 void DelMaster(QString);
Definition: pagepalette_widgets.h:40
Definition: pagepalette_widgets.h:57
Definition: pagepalette_widgets.h:138
Definition: pagepalette.h:33
This Class is the base class for your application. It sets up the main window and providing a menubar...
Definition: scribus.h:123
A widget for changing pages layout. User can change layouts on-the-fly changing widget's comboboxes...
Definition: pagelayout.h:37
Definition: pagepalette_widgets.h:89
Definition: pagepalette_pages.h:29
Definition: scribusview.h:87