11 #include <QDragMoveEvent>
12 #include <QDragEnterEvent>
13 #include <QListWidget>
17 #include "scribusapi.h"
18 #include "scdockpalette.h"
19 #include "scribusstructs.h"
26 class QListWidgetItem;
29 class SCRIBUS_API
BibView :
public QListWidget
36 void AddObj(QString name, QString daten, QPixmap Bild,
bool isDir =
false,
bool isRaster =
false,
bool isVector =
false);
37 void checkForImg(QDomElement elem,
bool &hasImage);
38 void checkAndChange(QString &text, QString nam, QString dir);
39 void checkAndChangeGroups(QDomElement elem, QString dir, QFileInfo fid);
40 void ReadOldContents(QString, QString newName);
41 void ReadContents(QString name);
49 QListWidgetItem* widgetItem;
51 QMap<QString,Elem> objectMap;
57 void ToggleAllPalettes();
58 void objDropped(QString text);
59 void fileDropped(QString path,
int testResult);
63 void dragEnterEvent(QDragEnterEvent *e);
64 void dragMoveEvent(QDragMoveEvent *e);
65 void dropEvent(QDropEvent *e);
66 void startDrag(Qt::DropActions supportedActions);
77 virtual void changeEvent(QEvent *e);
79 void ObjFromCopyAction(QString text, QString name);
80 void adjustReferences(QString nam);
81 void adjustReferencesGroups(QDomElement elem, QFileInfo fid);
83 void setScrapbookFileName(QString);
84 const QString getScrapbookFileName();
85 const int objectCount();
86 bool tempHasContents();
87 void readContents(QString);
88 void readTempContents(QString);
89 void readOldContents(QString, QString);
90 void installEventFilter(QObject *);
91 void setOpenScrapbooks(QStringList &fileNames);
92 QStringList getOpenScrapbooks();
93 QStringList getOpenScrapbooksNames();
94 QString getObjectName(QString &text);
97 QListWidgetItem *actItem;
100 void languageChange();
101 void ObjFromFile(QString path,
int testResult);
102 void ObjFromMenu(QString text);
103 void ObjFromMainMenu(QString text,
int scrapID);
104 void closeOnDel(QString libName);
105 void reloadLib(QString fileName);
108 void handleDoubleClick(QListWidgetItem *ite);
109 void handlePasteToPage();
110 void HandleMouse(QPoint p);
111 bool copyObj(
int id);
112 void moveObj(
int id);
120 void libChanged(
int index);
124 void updateRecentMenue();
125 void pasteToActualPage(QString);
126 void scrapbookListChanged();
130 QVBoxLayout* BiblioLayout;
133 QHBoxLayout* buttonLayout;
134 QWidget* containerWidget;
135 QToolButton* newButton;
136 QToolButton* upButton;
137 QToolButton* importButton;
138 QToolButton* closeButton;
139 QToolButton* configButton;
141 QAction* conf_HideDirs;
142 QAction* conf_HideImages;
143 QAction* conf_HideVectors;
144 QAction* conf_OpenMode;
Definition: scrapbookpalette.h:69
Definition: scrapbookpalette.h:42
Definition: scdockpalette.h:38
Definition: scrapbookpalette.h:29
Definition: prefscontext.h:40