You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
AppFlow/CFDStruct/CUIProperty/CUIComponentBaseWidget.h

27 lines
533 B
C

#ifndef CUICOMPONENTBASEWIDGET_H
#define CUICOMPONENTBASEWIDGET_H
#include <QWidget>
class CUIConfig;
class CUIComponentBaseWidget : public QWidget
{
Q_OBJECT
public:
explicit CUIComponentBaseWidget(QWidget *parent = nullptr);
virtual qint32 getLabelWidth();
virtual void setLabelWidth(qint32 width);
protected:
virtual QLayout* getLayout(CUIConfig* conf);
virtual void initUI();
protected:
QLayout* m_layout = nullptr;
int m_labelLength = 100;
signals:
};
#endif // CUICOMPONENTBASEWIDGET_H