gui::ToolFactory Class Reference

Special Toolbar item factory. More...

#include <toolfactory.h>

List of all members.

Static Public Member Functions

static QWidget * specialItem (ToolBar *tb, const QString &item, QMainWindow *main)

Detailed Description

Special Toolbar item factory.

Factory class for creating special toolbar items


Member Function Documentation

QWidget * gui::ToolFactory::specialItem ( ToolBar tb,
const QString &  item,
QMainWindow *  main 
) [static]

Check if given item name is a special item and load it if it is special item

Parameters:
tb Toolbar for addition of item
item Item name
main Main window associated with this special item
Returns:
Pointer to button, if special item was loaded and inserted into toolbar, NULL if item is not a special item

References gui::PdfEditWindow::addColorTool(), gui::PdfEditWindow::addEditTool(), gui::PdfEditWindow::addNumberTool(), gui::PdfEditWindow::addSelectTool(), gui::PdfEditWindow::getPageSpace(), gui::PageSpace::getZoomFactor(), gui::ColorTool::niceName(), gui::PdfEditWindow::pageNumber(), gui::PageTool::updatePage(), and gui::ZoomTool::updateZoom().


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