Source: /app/hbasic/hbasic/source_editor/edit_scroll_widget.h


Annotated List
Files
Globals
Hierarchy
Index
/* **************************************************************************
 File: edit_scroll_widget.h
 Desc: Source code editor
 ----------------------------------------------------------------------------
	copyright            : (C) 2001 HBasic project (Marcus Engels)
 ***************************************************************************/

/* **************************************************************************
 *                                                                         *
 *   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.                                   *
 *                                                                         *
 ***************************************************************************/

/* ----------------------------------------------------------------------- */
/* Classlist: List of classes that will be defined in this source file.    */
/* ----------------------------------------------------------------------- */
/**
 * CSourceEditWidget : Sourcode editor widget.
 */
/* ----------------------------------------------------------------------- */
/* Changelog: Description of important changes within this file.           */
/*            Please report with date, maintainer and change description.  */
/* ----------------------------------------------------------------------- */

#ifndef SRCSCROLLWIDGET_H
#define SRCSCROLLWIDGET_H

#include "source_edit_widget.h"
#include 

class CEditScrollWidget : public QScrollView
{
Q_OBJECT

public:
	CEditScrollWidget( CSourceEditWidget *src_wgt );
	void keyPressEvent( QKeyEvent *ev);

private:
	CSourceEditWidget *parent_editor;

	bool eventFilter(QObject* o, QEvent* e);
	void drawContents( QPainter *p, int cx, int cy, int cw, int ch);
	void viewportMousePressEvent(QMouseEvent* e);
	void viewportMouseReleaseEvent(QMouseEvent* e);
	void viewportMouseMoveEvent(QMouseEvent* ev);
};

#endif


Generated by: root on linux on Sun Jul 13 18:06:35 2003, using kdoc 2.0a54.