Source: /app/hbasic/hbasic/src/macro_list.h


Annotated List
Files
Globals
Hierarchy
Index
/* **************************************************************************
 File: macro_list.h
 Desc: Subwindow to display list of defined macros
 ----------------------------------------------------------------------------
	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.    */
/* ----------------------------------------------------------------------- */

/**
 * class CMacroList  Widget to display list of defined macros
 */

/* ----------------------------------------------------------------------- */
/* Changelog: Description of important changes within this file.           */
/*            Please report with date, maintainer and change description.  */
/* ----------------------------------------------------------------------- */

#ifndef MACROLIST_H
#define MACROLIST_H

#include "defines.h"
#include "structs.h"
#include "window_list.h"

class QPushButton;
class QListView;
class QListViewItem;
class XListViewItem;

/**
 * Widget to display defined macros
 */

class CMacroList : public CWindowListChild
{
Q_OBJECT

public:
	CMacroList( QWidget *parent );

	void createMacroList( void );

private:
	QListViewItem *last_item;
	QPushButton *btn_exec;
	QPushButton *btn_refresh;
	QListView *lv_macros;
	void resizeEvent( QResizeEvent *evt );
	void executeMacro( XListViewItem *lv_item );
	void closeEvent( QCloseEvent *evt );

private slots:
	void slotExecute( void );
	void slotRefresh( void );
	void slotDoubleClicked( QListViewItem *selected_item );
};

#endif

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