Scribus Developer Documentation - API
logo-pen

Scribus Developer Documentation - API

Biblio Class Reference

#include <scrapbookpalette.h>

Inheritance diagram for Biblio:

Inheritance graph
[legend]
Collaboration diagram for Biblio:

Collaboration graph
[legend]

List of all members.

Public Slots

void languageChange ()
void ObjFromMenu (QString text)

Signals

void updateRecentMenue ()
void pasteToActualPage (QString)

Public Member Functions

 Biblio (QWidget *parent)
 ~Biblio ()
virtual void changeEvent (QEvent *e)
void ObjFromCopyAction (QString text, QString name)
void adjustReferences (QString nam)
void CleanUpTemp ()
void setScrapbookFileName (QString)
const QString getScrapbookFileName ()
const int objectCount ()
void readContents (QString)
void readTempContents (QString)
void readOldContents (QString, QString)
void installEventFilter (QObject *)
void setOpenScrapbooks (QStringList &fileNames)
QStringList getOpenScrapbooks ()
QString getObjectName (QString &text)

Public Attributes

BibViewtempBView
BibViewactiveBView
QListWidgetItem * actItem

Protected Attributes

QToolBox * Frame3
QVBoxLayout * BiblioLayout
int tempCount
QString OldName
QHBoxLayout * buttonLayout
QToolButton * newButton
QToolButton * loadButton
QToolButton * saveAsButton
QToolButton * importButton
QToolButton * closeButton

Private Slots

void handleDoubleClick (QListWidgetItem *ite)
void handlePasteToPage ()
void HandleMouse (QPoint p)
bool copyObj (int id)
void moveObj (int id)
void deleteObj ()
void deleteAllObj ()
void renameObj ()
void NewLib ()
void Load ()
void SaveAs ()
void closeLib ()
void libChanged (int index)
void Import ()


Detailed Description

Definition at line 63 of file scrapbookpalette.h.


Constructor & Destructor Documentation

Biblio::Biblio ( QWidget *  parent  ) 

Biblio::~Biblio (  )  [inline]

Definition at line 69 of file scrapbookpalette.h.


Member Function Documentation

void Biblio::changeEvent ( QEvent *  e  )  [virtual]

Definition at line 1433 of file scrapbookpalette.cpp.

References languageChange().

void Biblio::ObjFromCopyAction ( QString  text,
QString  name 
)

void Biblio::adjustReferences ( QString  nam  ) 

Definition at line 1156 of file scrapbookpalette.cpp.

References PageItem::ImageFrame, loadRawText(), and PageItem::TextFrame.

Referenced by copyObj(), and renameObj().

void Biblio::CleanUpTemp (  ) 

Definition at line 1403 of file scrapbookpalette.cpp.

References BibView::objectMap, BibView::ScFilename, and tempBView.

Referenced by ScribusMainWindow::closeEvent().

void Biblio::setScrapbookFileName ( QString  fileName  ) 

Definition at line 624 of file scrapbookpalette.cpp.

References activeBView, and BibView::ScFilename.

Referenced by ScribusMainWindow::initScrapbook().

const QString Biblio::getScrapbookFileName (  ) 

Definition at line 629 of file scrapbookpalette.cpp.

References activeBView, and BibView::ScFilename.

const int Biblio::objectCount (  ) 

Definition at line 634 of file scrapbookpalette.cpp.

References activeBView, and BibView::objectMap.

void Biblio::readContents ( QString  fileName  ) 

Definition at line 645 of file scrapbookpalette.cpp.

References activeBView, and BibView::ReadContents().

Referenced by Import(), and ScribusMainWindow::initScrapbook().

void Biblio::readTempContents ( QString  fileName  ) 

void Biblio::readOldContents ( QString  fileName,
QString  newName 
)

Definition at line 639 of file scrapbookpalette.cpp.

References activeBView, and BibView::ReadOldContents().

Referenced by Import(), and ScribusMainWindow::initScrapbook().

void Biblio::installEventFilter ( QObject *  filterObj  ) 

Definition at line 657 of file scrapbookpalette.cpp.

References activeBView, and tempBView.

Referenced by ScribusMainWindow::initPalettes().

void Biblio::setOpenScrapbooks ( QStringList &  fileNames  ) 

QStringList Biblio::getOpenScrapbooks (  ) 

Definition at line 609 of file scrapbookpalette.cpp.

References Frame3, and BibView::ScFilename.

Referenced by ScribusMainWindow::closeEvent().

QString Biblio::getObjectName ( QString &  text  ) 

Definition at line 1213 of file scrapbookpalette.cpp.

Referenced by ObjFromMenu().

void Biblio::languageChange (  )  [slot]

Definition at line 1441 of file scrapbookpalette.cpp.

References closeButton, importButton, loadButton, newButton, saveAsButton, and tr().

Referenced by Biblio(), and changeEvent().

void Biblio::ObjFromMenu ( QString  text  )  [slot]

void Biblio::handleDoubleClick ( QListWidgetItem *  ite  )  [private, slot]

Definition at line 809 of file scrapbookpalette.cpp.

References actItem, activeBView, and pasteToActualPage().

Referenced by closeLib(), libChanged(), Load(), NewLib(), and setOpenScrapbooks().

void Biblio::handlePasteToPage (  )  [private, slot]

Definition at line 816 of file scrapbookpalette.cpp.

References actItem, activeBView, and pasteToActualPage().

Referenced by HandleMouse().

void Biblio::HandleMouse ( QPoint  p  )  [private, slot]

bool Biblio::copyObj ( int  id  )  [private, slot]

void Biblio::moveObj ( int  id  )  [private, slot]

Definition at line 1023 of file scrapbookpalette.cpp.

References copyObj(), and deleteObj().

Referenced by HandleMouse().

void Biblio::deleteObj (  )  [private, slot]

void Biblio::deleteAllObj (  )  [private, slot]

void Biblio::renameObj (  )  [private, slot]

void Biblio::NewLib (  )  [private, slot]

void Biblio::Load (  )  [private, slot]

void Biblio::SaveAs (  )  [private, slot]

void Biblio::closeLib (  )  [private, slot]

Definition at line 775 of file scrapbookpalette.cpp.

References activeBView, Frame3, handleDoubleClick(), HandleMouse(), libChanged(), and ObjFromMenu().

Referenced by Biblio(), and HandleMouse().

void Biblio::libChanged ( int  index  )  [private, slot]

void Biblio::Import (  )  [private, slot]

void Biblio::updateRecentMenue (  )  [signal]

void Biblio::pasteToActualPage ( QString   )  [signal]


Member Data Documentation

QListWidgetItem* Biblio::actItem

QToolBox* Biblio::Frame3 [protected]

QVBoxLayout* Biblio::BiblioLayout [protected]

Definition at line 116 of file scrapbookpalette.h.

Referenced by Biblio().

int Biblio::tempCount [protected]

Definition at line 117 of file scrapbookpalette.h.

Referenced by Biblio(), copyObj(), ObjFromCopyAction(), ObjFromMenu(), and readTempContents().

QString Biblio::OldName [protected]

Definition at line 118 of file scrapbookpalette.h.

Referenced by renameObj().

QHBoxLayout* Biblio::buttonLayout [protected]

Definition at line 119 of file scrapbookpalette.h.

Referenced by Biblio().

QToolButton* Biblio::newButton [protected]

Definition at line 120 of file scrapbookpalette.h.

Referenced by Biblio(), and languageChange().

QToolButton* Biblio::loadButton [protected]

Definition at line 121 of file scrapbookpalette.h.

Referenced by Biblio(), and languageChange().

QToolButton* Biblio::saveAsButton [protected]

Definition at line 122 of file scrapbookpalette.h.

Referenced by Biblio(), and languageChange().

QToolButton* Biblio::importButton [protected]

Definition at line 123 of file scrapbookpalette.h.

Referenced by Biblio(), and languageChange().

QToolButton* Biblio::closeButton [protected]

Definition at line 124 of file scrapbookpalette.h.

Referenced by Biblio(), and languageChange().


The documentation for this class was generated from the following files:
Created with personalized Doxygen. This is documentation for GPL software Scribus - Open Source Desktop Publishing.