Source: scribus/plugins/libchar/charselect.h


Annotated List
Files
Globals
Hierarchy
Index
/****************************************************************************
** Form interface generated from reading ui file 'Query.ui'
**
** Created: Mon Apr 23 20:48:47 2001
**      by:  The User Interface Compiler (uic)
**
** WARNING! All changes made in this file will be lost!
****************************************************************************/
#ifndef QUERY_H
#define QUERY_H

#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include "scribus.h"

/** Calls the Plugin with the main Application window as parent
  * and the main Application Class as parameter */
extern "C" void Run(QWidget *d, ScribusApp *plug);
/** Returns the Name of the Plugin.
  * This name appears in the relevant Menue-Entrys */
extern "C" QString Name();
/** Returns the Type of the Plugin.
  * 1 = the Plugin is a normal Plugin, which appears in the Extras Menue
  * 2 = the Plugins is a import Plugin, which appears in the Import Menue
  * 3 = the Plugins is a export Plugin, which appears in the Export Menue */
extern "C" int Type();

class Zoom : public QDialog
{
Q_OBJECT

public:
	Zoom( QWidget* parent, QPixmap pix);
	~Zoom();
	void paintEvent(QPaintEvent *);
	QPixmap pixm;
};

class ChTable;

class ZAuswahl : public QDialog
{
    Q_OBJECT

public:
    ZAuswahl( QWidget* parent, preV *Vor, PageItem *item, ScribusApp *plug );
    ~ZAuswahl();
    ChTable* ZTabelle;
    QLineEdit* Zeichen;
    QPushButton* Einf;
    QPushButton* Delete;
    QPushButton* Close;
    PageItem *ite;
    ScribusApp *ap;
    QValueList Zeich;
    int MaxCount;

public slots:
    void NeuesZeichen(int r, int c);
    void DelEdit();
    void InsChar();

protected:
    QVBoxLayout* ZAuswahlLayout;
    QHBoxLayout* Layout1;
};

class ChTable : public QTable
{
    Q_OBJECT

public:
    ChTable(ZAuswahl* parent, ScribusApp *pl);
    ~ChTable() {};
    bool Mpressed;
		Zoom* dia;
    ScribusApp *ap;
		ZAuswahl* par;

signals:
		void SelectChar(int, int);

protected:
		virtual void contentsMouseReleaseEvent(QMouseEvent *m);
		virtual void contentsMousePressEvent(QMouseEvent* e);
};
#endif // QUERY_H

Generated by: paul on ahnews.music.salford.ac.uk on Tue Oct 21 16:33:32 2003, using kdoc 2.0a54.