-
Notifications
You must be signed in to change notification settings - Fork 1
/
propertiesgroupbox.h
36 lines (30 loc) · 1001 Bytes
/
propertiesgroupbox.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
// Copyright (c) 2014 Andranik Abrahamyan
#ifndef PROPERTIESGROUPBOX_H
#define PROPERTIESGROUPBOX_H
#include <QtGui/QGroupBox>
#include "stlsphere.h"
class QLabel;
/*! \brief The PropertiesGroupBox window shows volume,surface etc volumes .
*
* The window has unit mesh mass,surface, bounding box , average radial and minimal radial values
*/
class PropertiesGroupBox : public QGroupBox
{
Q_OBJECT
public:
PropertiesGroupBox(QWidget *parent = 0);
~PropertiesGroupBox();
/// reset values
void reset();
/// sets values
void setValues(const StlSphere::UnitStats stats);
private:
QLabel *volume; //!< unit mesh volume(or mass)
QLabel *surface; //!< unit mesh surface
QLabel *box_length; //!< unit mesh bounding box length
QLabel *box_width ; //!< unit mesh bounding box width
QLabel *box_height; //!< unit mesh bounding box height
QLabel *average_radial; //!< unit mesh average radial value
QLabel *min_radial; //!< unit mesh minimal radial value
};
#endif // PROPERTIESGROUPBOX_H