summaryrefslogtreecommitdiffstats
path: root/kbarcode/configdialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'kbarcode/configdialog.h')
-rw-r--r--kbarcode/configdialog.h95
1 files changed, 95 insertions, 0 deletions
diff --git a/kbarcode/configdialog.h b/kbarcode/configdialog.h
new file mode 100644
index 0000000..5838f78
--- /dev/null
+++ b/kbarcode/configdialog.h
@@ -0,0 +1,95 @@
+/***************************************************************************
+ configdialog.h - description
+ -------------------
+ begin : Fre Apr 26 2002
+ copyright : (C) 2002 by Dominik Seichter
+ email : domseichter@web.de
+ ***************************************************************************/
+
+/***************************************************************************
+ * *
+ * This program is free software; you can redistribute it and/or modify *
+ * it under the terms of the GNU General Public License as published by *
+ * the Free Software Foundation; either version 2 of the License, or *
+ * (at your option) any later version. *
+ * *
+ ***************************************************************************/
+
+#ifndef CONFIGDIALOG_H
+#define CONFIGDIALOG_H
+
+#include <kdialogbase.h>
+
+struct labelprinterdata;
+struct mysqldata;
+class KComboBox;
+class KColorButton;
+class KIntNumInput;
+class KDoubleNumInput;
+class KLineEdit;
+class KPushButton;
+class QRadioButton;
+class QCheckBox;
+class QLabel;
+class QString;
+class QWidget;
+class SqlWidget;
+/** KBarcodes configuration dialog for advanced settings.
+ */
+
+class ConfigDialog : public KDialogBase {
+ Q_OBJECT
+ public:
+ ConfigDialog( QWidget* parent );
+ ~ConfigDialog();
+
+ KLineEdit* comment;
+ KLineEdit* separator;
+ KLineEdit* quote;
+ KLineEdit* date;
+
+ KIntNumInput* spinGrid;
+
+ KComboBox* printerQuality;
+ KComboBox* pageFormat;
+
+ QLabel* labelDate;
+
+ QCheckBox* checkNewDlg;
+ QCheckBox* checkUseCustomNo;
+
+ KComboBox* combo1;
+ KComboBox* combo2;
+ KComboBox* combo3;
+
+ KComboBox* onNewArticle1;
+ KComboBox* onNewArticle2;
+ KComboBox* onNewArticle3;
+ KComboBox* onNewArticle4;
+
+ KComboBox* onNewGroup1;
+ KComboBox* onNewGroup2;
+ KComboBox* onNewGroup3;
+ KComboBox* onNewGroup4;
+
+ KColorButton* colorGrid;
+
+ private:
+ void accept();
+
+ void setupTab1();
+ void setupTab2();
+ void setupTab3();
+ void setupTab4();
+ void setupTab5();
+
+ private slots:
+ void updateDatePreview();
+
+ protected:
+ KComboBox* comboDataMatrix;
+
+ SqlWidget* sqlwidget;
+};
+
+#endif