BibView Class Reference
#include <scrapbookpalette.h>
Signals | |
| void | ToggleAllPalettes () |
| void | Schliessen () |
| void | CloseMpal () |
| void | CloseTpal () |
| void | objDropped (QString text) |
Public Member Functions | |
| BibView (QWidget *parent) | |
| ~BibView () | |
| void | AddObj (QString name, QString daten, QPixmap Bild) |
| void | checkAndChange (QString &text, QString nam, QString dir) |
| void | SaveContents (QString name, QString oldName) |
| void | ReadOldContents (QString, QString newName) |
| void | ReadContents (QString name) |
Public Attributes | |
| QMap< QString, Elem > | objectMap |
| QString | ScFilename |
| bool | canWrite |
Protected Member Functions | |
| void | dragEnterEvent (QDragEnterEvent *e) |
| void | dragMoveEvent (QDragMoveEvent *e) |
| void | dropEvent (QDropEvent *e) |
| void | startDrag (Qt::DropActions supportedActions) |
Classes | |
| struct | Elem |
Detailed Description
Definition at line 28 of file scrapbookpalette.h.
Constructor & Destructor Documentation
| BibView::BibView | ( | QWidget * | parent | ) |
| BibView::~BibView | ( | ) | [inline] |
Definition at line 34 of file scrapbookpalette.h.
Member Function Documentation
| void BibView::AddObj | ( | QString | name, | |
| QString | daten, | |||
| QPixmap | Bild | |||
| ) |
Definition at line 142 of file scrapbookpalette.cpp.
References BibView::Elem::Data, objectMap, and BibView::Elem::Preview.
Referenced by Biblio::copyObj(), Biblio::ObjFromCopyAction(), Biblio::ObjFromMenu(), ReadContents(), and Biblio::renameObj().
| void BibView::checkAndChange | ( | QString & | text, | |
| QString | nam, | |||
| QString | dir | |||
| ) |
Definition at line 150 of file scrapbookpalette.cpp.
References copyFile(), PageItem::ImageFrame, and PageItem::TextFrame.
Referenced by Biblio::ObjFromCopyAction(), Biblio::ObjFromMenu(), and SaveContents().
| void BibView::SaveContents | ( | QString | name, | |
| QString | oldName | |||
| ) |
Definition at line 268 of file scrapbookpalette.cpp.
References checkAndChange(), ScPreview::createPreview(), and loadRawText().
Referenced by Biblio::SaveAs().
| void BibView::ReadOldContents | ( | QString | name, | |
| QString | newName | |||
| ) |
Definition at line 365 of file scrapbookpalette.cpp.
References GetAttr(), and loadRawText().
Referenced by Biblio::readOldContents().
| void BibView::ReadContents | ( | QString | name | ) |
Definition at line 404 of file scrapbookpalette.cpp.
References AddObj(), canWrite, ScPreview::createPreview(), loadRawText(), objectMap, and p.
Referenced by Biblio::Load(), Biblio::readContents(), Biblio::readTempContents(), and Biblio::setOpenScrapbooks().
| void BibView::ToggleAllPalettes | ( | ) | [signal] |
| void BibView::Schliessen | ( | ) | [signal] |
| void BibView::CloseMpal | ( | ) | [signal] |
| void BibView::CloseTpal | ( | ) | [signal] |
| void BibView::objDropped | ( | QString | text | ) | [signal] |
Referenced by dropEvent().
| void BibView::dragEnterEvent | ( | QDragEnterEvent * | e | ) | [protected] |
Definition at line 110 of file scrapbookpalette.cpp.
| void BibView::dragMoveEvent | ( | QDragMoveEvent * | e | ) | [protected] |
Definition at line 118 of file scrapbookpalette.cpp.
| void BibView::dropEvent | ( | QDropEvent * | e | ) | [protected] |
| void BibView::startDrag | ( | Qt::DropActions | supportedActions | ) | [protected] |
Member Data Documentation
| QMap<QString,Elem> BibView::objectMap |
Definition at line 45 of file scrapbookpalette.h.
Referenced by AddObj(), BibView(), Biblio::CleanUpTemp(), Biblio::copyObj(), Biblio::deleteAllObj(), Biblio::deleteObj(), Biblio::HandleMouse(), ScribusMainWindow::HaveNewDoc(), Biblio::objectCount(), Biblio::ObjFromCopyAction(), Biblio::ObjFromMenu(), ScribusMainWindow::pasteFromScrapbook(), ScribusMainWindow::pasteRecent(), ReadContents(), Biblio::readTempContents(), ScribusMainWindow::rebuildRecentPasteMenu(), Biblio::renameObj(), ScribusMainWindow::slotEditCopy(), ScribusMainWindow::slotEditCut(), and startDrag().
| QString BibView::ScFilename |
Definition at line 46 of file scrapbookpalette.h.
Referenced by BibView(), Biblio::CleanUpTemp(), Biblio::copyObj(), Biblio::deleteAllObj(), Biblio::deleteObj(), Biblio::getOpenScrapbooks(), Biblio::getScrapbookFileName(), Biblio::Import(), Biblio::Load(), Biblio::NewLib(), Biblio::ObjFromCopyAction(), Biblio::ObjFromMenu(), Biblio::readTempContents(), Biblio::renameObj(), Biblio::SaveAs(), Biblio::setOpenScrapbooks(), and Biblio::setScrapbookFileName().
| bool BibView::canWrite |
Definition at line 47 of file scrapbookpalette.h.
Referenced by BibView(), Biblio::deleteAllObj(), Biblio::deleteObj(), Biblio::HandleMouse(), Biblio::Load(), Biblio::ObjFromMenu(), ReadContents(), Biblio::renameObj(), and Biblio::setOpenScrapbooks().
The documentation for this class was generated from the following files:
