QAD_EXPORT
git-svn-id: svn://db.shs.com.ru/libs@719 a8b55f48-bf90-11e4-a774-851b48703e85
This commit is contained in:
@@ -5,14 +5,15 @@
|
||||
#include <QCheckBox>
|
||||
#include <QPen>
|
||||
#include <QPainter>
|
||||
#include "qad_export.h"
|
||||
|
||||
|
||||
namespace Ui {
|
||||
class GraphicConf;
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
struct GraphicType {
|
||||
struct QAD_EXPORT GraphicType {
|
||||
GraphicType(QString name_ = "y(x)", QColor color = Qt::red, Qt::PenStyle style = Qt::SolidLine, double width = 0., bool visible_ = true) {
|
||||
pen.setColor(color);
|
||||
pen.setStyle(style);
|
||||
@@ -53,7 +54,7 @@ inline QDataStream & operator <<(QDataStream & s, const GraphicType & v) {s << v
|
||||
inline QDataStream & operator >>(QDataStream & s, GraphicType & v) {s >> v.name >> v.pen >> v.fill_color >> v.lines >> v.points >> v.fill >> v.pointWidth >> v.visible; return s;}
|
||||
|
||||
|
||||
class GraphicConf: public QDialog
|
||||
class QAD_EXPORT GraphicConf: public QDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
friend class Graphic;
|
||||
|
||||
Reference in New Issue
Block a user