#include "QLineEdit"class RLineEdit: public QLineEdit{ Q_OBJECTpublic: RLineEdit(QWidget *parent = 0); ~RLineEdit();};RLineEdit::RLineEdit(QWidget *parent ){ this->setStyleSheet("QLineEdit { border-radius: 5px; padding: 2px 2px; border: 1px groove gray;}");};RLineEdit::~RLineEdit(){};
C++ (Qt)RLineEdit::RLineEdit(QWidget *parent ): QLineEdit( parent ){ ...}
#include "QLineEdit"class RizekLineEdit: public QLineEdit{ Q_OBJECTpublic: RizekLineEdit(QWidget *parent = 0); ~RizekLineEdit();};RizekLineEdit::RizekLineEdit(QWidget *parent ):QLineEdit(parent){ this->setStyleSheet("QLineEdit { border-radius: 5px; padding: 2px 2px; border: 1px groove gray;}");}RizekLineEdit::~RizekLineEdit(){}
C++ (Qt)RLineEdit::RLineEdit(QWidget *parent )
C++ (Qt)RLineEdit::RLineEdit(QWidget *parent = 0)
C++ (Qt)class RizekLineEdit: public QLineEdit{ Q_OBJECT public: RizekLineEdit(QWidget *parent = 0); ~RizekLineEdit();};
C++ (Qt)QLineEdit* le = new QLineEdit;myWidget->addWidget(le);