You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
335 B
22 lines
335 B
3 years ago
|
#ifndef USVIEWCONTROL_H
|
||
|
#define USVIEWCONTROL_H
|
||
|
|
||
|
#include "AutoProperty.h"
|
||
|
|
||
|
class UsViewControl : public QObject
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
|
||
|
US_PROPERTY_VIEW_ONLY(bool, visible, true)
|
||
|
US_PROPERTY_VIEW_ONLY(bool, enable, true)
|
||
|
|
||
|
public:
|
||
|
UsViewControl(bool vis = true, bool en = true)
|
||
|
{
|
||
|
visible(vis);
|
||
|
enable(en);
|
||
|
}
|
||
|
};
|
||
|
|
||
|
#endif //USVIEWCONTROL_H
|