/*************************************************************************** barcodedialog.h - description ------------------- begin : Son Dez 29 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 BARCODEDIALOG_H #define BARCODEDIALOG_H #include class BarcodeCombo; class BarcodeWidget; class TDEAction; class KColorButton; class KMenuBar; class TDEToolBar; class KIntNumInput; class KLineEdit; class KPushButton; class TDEPopupMenu; class TQCheckBox; class TQLabel; class TQPixmap; class TQVBoxLayout; class TQHBoxLayout; class TQGridLayout; class TokenProvider; /** This class provides a dialog, where the user can create a single barcode * and print it, copy it to the clipboard or save it in various image formats. * This dialog can also be seen as a powerful replacement for e.g. xbarcode. * * All barcoding features are available for the user. This dialog allows also * to just experiment a little bit with barcodes. */ class BarCodeDialog : public TQDialog { Q_OBJECT public: BarCodeDialog( TQWidget* parent = 0, const char* name = 0 ); ~BarCodeDialog(); private: BarcodeWidget* widget; TokenProvider* m_token; KPushButton* buttonGenerate; KPushButton* buttonPrint; KPushButton* buttonSave; KPushButton* buttonCopy; KPushButton* buttonClose; TQLabel* barcode; private slots: void generate(); void save(); void print(); void copy(); protected: TQHBoxLayout* BarCodeDialogLayout; TQVBoxLayout* Layout6; TQVBoxLayout* Layout5; }; #endif // BARCODEDIALOG_H