Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F94924564
specschecker.h
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Wed, Dec 11, 10:55
Size
865 B
Mime Type
text/x-c++
Expires
Fri, Dec 13, 10:55 (2 d)
Engine
blob
Format
Raw Data
Handle
22900796
Attached To
rSYMKIT symkit
specschecker.h
View Options
#ifndef SPECSCHECKER_H
#define SPECSCHECKER_H
#include <QGroupBox>
#include "specs/specs.h"
class
QVBoxLayout
;
class
SKActor
;
class
QLabel
;
#include <QCheckBox>
class
SpecsBox
:
public
QCheckBox
{
Q_OBJECT
SKActor
*
actor
;
specs_t
flag
;
private
slots
:
void
toggleSpecs
(
bool
);
public:
SpecsBox
(
const
QString
&
,
SKActor
*
,
specs_t
flag
,
QWidget
*
parent
=
0
);
specs_t
getFlag
()
const
;
};
#include <vector>
class
SpecsChecker
:
public
QGroupBox
{
QVBoxLayout
*
layout
;
SKActor
*
actor
;
std
::
vector
<
SpecsBox
*>
boxes
;
SpecsBox
*
registerBox
(
specs_t
);
public:
SpecsChecker
(
SKActor
*
actor
,
QWidget
*
parent
=
0
);
~
SpecsChecker
();
void
setActor
(
SKActor
*
,
bool
reset
=
true
);
SKActor
*
getActor
();
const
SKActor
*
getActor
()
const
;
SpecsBox
*
getByFlag
(
specs_t
);
};
#endif
// SPECSCHECKER_H
Event Timeline
Log In to Comment