Scribus
Open source desktop publishing at your fingertips
viewtoolbar.h
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 
9 /***************************************************************************
10  * *
11  * This program is free software; you can redistribute it and/or modify *
12  * it under the terms of the GNU General Public License as published by *
13  * the Free Software Foundation; either version 2 of the License, or *
14  * (at your option) any later version. *
15  * *
16  ***************************************************************************/
17 
18 #ifndef VIEWTOOLBAR_H
19 #define VIEWTOOLBAR_H
20 
21 #include <QComboBox>
22 
23 #include "scribusapi.h"
24 #include "ui/sctoolbar.h"
25 
26 class ScribusDoc;
27 class ScribusMainWindow;
28 
29 class SCRIBUS_API ViewToolBar : public ScToolBar
30 {
31  Q_OBJECT
32 
33 public:
35  ~ViewToolBar() {};
36 
37  QComboBox *previewQualitySwitcher;
38  QComboBox *visualMenu;
39  void setDoc(ScribusDoc *doc);
40  void setViewPreviewMode(bool);
41 
42 public slots:
43  void languageChange();
44 
45 protected:
46  bool inPreview;
47 };
48 
49 #endif
Definition: sctoolbar.h:43
This Class is the base class for your application. It sets up the main window and providing a menubar...
Definition: scribus.h:123
Definition: viewtoolbar.h:29
the Document Class
Definition: scribusdoc.h:90