Scribus
Open source desktop publishing at your fingertips
cupsoptions.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  cupsoptions.h - description
9  -------------------
10  begin : Fre Jan 3 2003
11  copyright : (C) 2003 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 #ifndef CUPSOPTIONS_H
25 #define CUPSOPTIONS_H
26 
27 #include <QDialog>
28 #include <QMap>
29 #include <QList>
30 class QHBoxLayout;
31 class QVBoxLayout;
32 class QPushButton;
33 class QComboBox;
34 class QTableWidget;
35 
36 #include "scribusapi.h"
37 
42 class PrefsContext;
43 
44 class SCRIBUS_API CupsOptions : public QDialog
45 {
46  Q_OBJECT
47 
48 public:
49  CupsOptions(QWidget* parent, QString Geraet);
50  ~CupsOptions();
51  QPushButton* PushButton1;
52  QPushButton* PushButton2;
53  QTableWidget* Table;
54  struct OpData {
55  int Cnum;
56  QString KeyW;
57  };
58  QList<QComboBox*> FlagsOpt;
59  QMap<QString,OpData> KeyToText;
60  QMap<QString,QString> KeyToDefault;
61 
62 protected:
63  QVBoxLayout* CupsOptionsLayout;
64  QHBoxLayout* Layout2;
65  PrefsContext* prefs;
66 };
67 
68 #endif
Definition: cupsoptions.h:44
Definition: cupsoptions.h:54
Definition: prefscontext.h:40