QTimeSeries Homepage

Main Page   Alphabetical List   Compound List   File List   Compound Members  

qts_actiondrawlabel.h

00001 /*****************************************************************************
00002 **  $Id: qts_actiondrawlabel.h,v 1.2 2002/10/07 22:47:16 andrew23 Exp $
00003 **
00004 **  This is part of the qcad library
00005 **  Copyright (C) 2001 Andrew Mustun
00006 **
00007 **  This program is free software; you can redistribute it and/or modify
00008 **  it under the terms of the GNU General Public License (version 2) as
00009 **  published by the Free Software Foundation.
00010 **
00011 **  This program is distributed in the hope that it will be useful,
00012 **  but WITHOUT ANY WARRANTY; without even the implied warranty of
00013 **  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00014 **  GNU General Public License for more details.
00015 **
00016 **  You should have received a copy of the GNU General Public License
00017 **  along with this program; if not, write to the Free Software
00018 **  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00019 ******************************************************************************/
00020 
00021 #ifndef QTS_ACTIONDRAWLABEL_H
00022 #define QTS_ACTIONDRAWLABEL_H
00023 
00024 #include "rs_previewactioninterface.h"
00025 //#include "rs_line.h"
00026 //#include "rs_text.h"
00027 
00028 class QTS_Label;
00029 
00035 class QTS_ActionDrawLabel : public RS_PreviewActionInterface {
00036 public:
00037     QTS_ActionDrawLabel(RS_EntityContainer& container,
00038                           RS_GraphicView& graphicView);
00039     ~QTS_ActionDrawLabel();
00040 
00041         virtual void init(int status=0);
00042     virtual void finish();
00043     virtual void trigger();
00044     virtual void mouseMoveEvent(RS_MouseEvent* e);
00045     virtual void mouseReleaseEvent(RS_MouseEvent* e);
00046         virtual void updateMouseButtonHints();
00047 
00048 protected:
00049     RS_Vector ov;
00050     //RS_Line* line;
00051         //RS_Text* text;
00052         QTS_Label* label;
00053 };
00054 
00055 #endif

Copyright © 2002, Andrew Mustun <andrew@mustun.com>. All rights reserved.
System documentation was generated using doxygen.