Back to index

scribus-ng  1.3.4.dfsg+svn20071115
hyask.h
Go to the documentation of this file.
00001 /*
00002 For general Scribus (>=1.3.2) copyright and licensing information please refer
00003 to the COPYING file provided with the program. Following this notice may exist
00004 a copyright and/or license notice that predates the release of Scribus 1.3.2
00005 for which a new license (GPL+exception) is in place.
00006 */
00007 #ifndef HYASK_H
00008 #define HYASK_H
00009 
00010 #include <qdialog.h>
00011 #include <qlineedit.h>
00012 #include <qpushbutton.h>
00013 #include <qlayout.h>
00014 #include <qtooltip.h>
00015 
00016 #include "scribusapi.h"
00017 
00018 class SCRIBUS_API WortEdit : public QLineEdit
00019 {
00020     Q_OBJECT
00021 public:
00022        WortEdit(QWidget* parent);
00023        ~WortEdit() {};
00024        void keyPressEvent(QKeyEvent *k);
00025 };
00026 
00027 class SCRIBUS_API HyAsk : public QDialog
00028 { 
00029     Q_OBJECT
00030 
00031 public:
00032     HyAsk( QWidget* parent, QString HWort );
00033     ~HyAsk() {};
00034 
00035     WortEdit* Wort;
00036     QPushButton* OK;
00037     QPushButton* Skip;
00038     QPushButton* Cancel;
00039        int xpos;
00040        int ypos;
00041 
00042 public slots:
00043        void Check();
00044        void DoSkip();
00045        void accept();
00046        void reject();
00047 
00048 protected:
00049     QVBoxLayout* HyAskLayout;
00050     QHBoxLayout* Layout1;
00051 };
00052 
00053 #endif // HYASK_H