1 // Thomas Nagy 2007-2021 GPLV3
2 
3 #ifndef BOX_CLASS_H
4 #define BOX_CLASS_H
5 
6 #include <QGraphicsRectItem>
7 #include <QBrush>
8 #include "res:zable.h"
9 #include "ed:table.h"
10 #include "box_item.h"
11 #include "CON.h"
12 #include "con.h"
13 
14 #define OFF 3
15 
16 class box_class : public box_item
17 {
18 	public:
19 		void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *);
20 
21 		box_class(box_view*, int i_iId);
22 		QSizeF size_min();
23 		qreal minVisibility(const QFontMetricsF i_oFm);
24 		virtual QSize best_size(const QPointF &dims);
25 		void force_size();
26 
27 		void properties();
28 };
29 
30 #endif // BOX_CLASS_H
31 
32