Scribus
Open source desktop publishing at your fingertips
BookMView Class Reference

Tree widget for PDF Bookmarks. It's a minimal tree implementation with D'n'D handled in Qt4 itself. It could be rewritten into M/V/C stuff later, but it looks it's simpler and quicker now. MarkMoved() signal stores bookmarks in the ScribusDoc. More...

#include <bookmwin.h>

Inheritance diagram for BookMView:
Collaboration diagram for BookMView:

Public Slots

void AddPageItem (PageItem *ite)
 
void ChangeText (PageItem *currItem)
 

Signals

void MarkMoved ()
 
void SelectElement (PageItem *, bool)
 
void changed ()
 

Public Member Functions

 BookMView (QWidget *parent)
 
void AddItem (QString text, QString Tit, PageItem *PageObject)
 
void DeleteItem (PageItem *PageObject)
 
void SetAction (PageItem *currItem, QString Act)
 
void rebuildTree ()
 Build scribus bookmark structure from tree items. It looks horrible as it performs full rescan of the tree, but it's pretty fast at all. More...
 

Public Attributes

int NrItems
 
int First
 
int Last
 

Protected Member Functions

void dropEvent (QDropEvent *e)
 

Detailed Description

Tree widget for PDF Bookmarks. It's a minimal tree implementation with D'n'D handled in Qt4 itself. It could be rewritten into M/V/C stuff later, but it looks it's simpler and quicker now. MarkMoved() signal stores bookmarks in the ScribusDoc.

Author
Franz Schmid
Petr Vanek petr@.nosp@m.scri.nosp@m.bus.i.nosp@m.nfo

Member Function Documentation

void BookMView::rebuildTree ( )

Build scribus bookmark structure from tree items. It looks horrible as it performs full rescan of the tree, but it's pretty fast at all.

Author
Petr vanek petr@.nosp@m.scri.nosp@m.bus.i.nosp@m.nfo

The documentation for this class was generated from the following files: