00001 //-------------------------------------------------------------------- 00002 // 00003 // File: Txq3dOptionsDlog.h 00004 // 00005 // Purpose: Class definition for a dialog to edit the plot options 00006 // 00007 // Version: $Id: Txq3dOptionsDlog.h,v 1.10 2001/11/26 19:34:19 kgl Exp $ 00008 // 00009 // Copyright (c) 2000 by Tech-X Corporation. All rights reserved. 00010 // 00011 // Author: Kelly G. Luetkemeyer 00012 // 00013 //-------------------------------------------------------------------- 00014 00015 #ifndef TXQ3D_OPTIONS_DLOG_H 00016 #define TXQ3D_OPTIONS_DLOG_H 00017 00018 // system includes 00019 #include <cmath> 00020 00021 // Txq includes 00022 #include "Txq3dPlotAttribs.h" 00023 #include <TxqOptionsDlog.h> 00024 #include <TxqAxisAttribsTab.h> 00025 #include <TxqTitleTab.h> 00026 #include <TxqSciNumberFormat.h> 00027 #include <TxqGridTab.h> 00028 00040 class Txq3dOptionsDlog : public TxqOptionsDlog 00041 { 00042 Q_OBJECT 00043 00044 public: 00045 00054 Txq3dOptionsDlog( QWidget *parent, const char *name, Txq3dPlotAttribs *plot); 00055 00059 virtual ~Txq3dOptionsDlog(); 00060 00064 virtual void addTabs(); 00065 00070 void setPlotAttribs(Txq3dPlotAttribs *pa); 00071 00076 virtual void setPlotAttribs(TxqPlotAttribs *pa) { 00077 TxqOptionsDlog::setPlotAttribs(pa); 00078 } 00079 00084 Txq3dPlotAttribs* getPlotAttribs(); 00085 00086 protected: 00087 00091 void axesTab(); 00092 00096 void titlesTab(); 00097 00101 void tickTab(); 00102 00106 void gridTab(); 00107 00111 Txq3dPlotAttribs *plot3dAttribs; 00112 00116 QLineEdit *ztitle; 00117 00121 QLabel *z; 00122 00126 TxqAxisAttribsTab *zAxis; 00127 00131 TxqTitleTab *zTitle; 00132 00136 TxqTickMarkTab *zTickMark; 00137 00141 double zmin; 00142 00146 double zmax; 00147 00151 QVBox *gridBox; 00152 00156 TxqGridTab *xGridTab; 00157 00161 TxqGridTab *yGridTab; 00162 00163 00164 }; 00165 00166 #endif
Copyright Tech-X Corporation, all rights reserved.