1 /*
2 For general Scribus (>=1.3.2) copyright and licensing information please refer
3 to the COPYING file provided with the program. Following this notice may exist
4 a copyright and/or license notice that predates the release of Scribus 1.3.2
5 for which a new license (GPL+exception) is in place.
6 */
7 /***************************************************************************
8                           texttoolb.cpp  -  description
9                              -------------------
10     begin                : Sun Mar 10 2002
11     copyright            : (C) 2002 by Franz Schmid
12     email                : Franz.Schmid@altmuehlnet.de
13  ***************************************************************************/
14 
15 /***************************************************************************
16  *                                                                         *
17  *   This program is free software; you can redistribute it and/or modify  *
18  *   it under the terms of the GNU General Public License as published by  *
19  *   the Free Software Foundation; either version 2 of the License, or     *
20  *   (at your option) any later version.                                   *
21  *                                                                         *
22  ***************************************************************************/
23 
24 #include "pdftoolbar.h"
25 
26 #include "scraction.h"
27 #include "scribus.h"
28 
PDFToolBar(ScribusMainWindow * parent)29 PDFToolBar::PDFToolBar(ScribusMainWindow* parent) : ScToolBar( tr("PDF Tools"), "PDF_Tools", parent)
30 {
31 	this->addAction(parent->scrActions["toolsPDFPushButton"]);
32 	this->addAction(parent->scrActions["toolsPDFCheckBox"]);
33 	this->addAction(parent->scrActions["toolsPDFRadioButton"]);
34 	this->addAction(parent->scrActions["toolsPDFTextField"]);
35 	this->addAction(parent->scrActions["toolsPDFComboBox"]);
36 	this->addAction(parent->scrActions["toolsPDFListBox"]);
37 	this->addAction(parent->scrActions["toolsPDFAnnotText"]);
38 	this->addAction(parent->scrActions["toolsPDFAnnotLink"]);
39 #ifdef HAVE_OSG
40 	this->addAction(parent->scrActions["toolsPDFAnnot3D"]);
41 #endif
42 }
43