00001 //--------------------------------------------------------------------------- 00002 // 00003 // File: Txq2dOutlined.h 00004 // 00005 // Purpose: This is a base class for an outlined object 00006 // 00007 // Version: $Id: Txq2dOutlined.h,v 1.4 2001/10/12 18:58:11 kgl Exp $ 00008 // 00009 // modifed from the TxOutlined java class: 00010 // Project: Tech-X Foundation Classes 00011 // David A. Alexander, Svetlana G. Shasharina, John R. Cary 00012 // 00013 // Copyright (C) 1998-2000 Tech-X Corporation. All Rights Reserved. 00014 //--------------------------------------------------------------------------- 00015 00016 #ifndef TXQ2D_OUTLINED_H 00017 #define TXQ2D_OUTLINED_H 00018 00019 // Txq includes 00020 #include "Txq2dSegmented.h" 00021 00033 class Txq2dOutlined: public Txq2dSegmented 00034 { 00035 00036 public: 00037 00041 Txq2dOutlined(); 00042 00046 virtual ~Txq2dOutlined(); 00047 00053 QColor getFillColor(); 00054 00059 void setFillColor(QColor c); 00060 00065 QColor getOutlineColor(); 00066 00071 void setOutlineColor(QColor c); 00072 00077 int getWeight(); 00078 00083 void setWeight(int w) ; 00084 00090 bool isFilled(); 00091 00097 void setFilled(bool b); 00098 00104 bool isOutlined(); 00105 00111 void setOutlined(bool b); 00112 00119 void setForeground(QColor c); 00120 00126 void setColor(QColor c); 00127 00133 void setPrintColor(QColor c); 00134 00142 void setPrint(bool pr ); 00143 00144 00145 private: 00146 00150 QColor fillColor; 00151 00155 QColor saveFillColor; 00156 00160 QColor outlineColor; 00164 QColor saveOutlineColor; 00165 00169 int weight; 00170 00174 bool filled; 00175 00179 bool outlined; 00180 00181 }; 00182 #endif
Copyright Tech-X Corporation, all rights reserved.