int main(int argc, char *argv[]){
Text w;
w.show();
return a.exec();
}
int main(int argc, char *argv[]){
QApplication a(argc, argv);
Text w;
w.show();
return a.exec();
}
To copy to clipboard, switch view to plain text mode
This is where the error i am gettting from main.cpp.
I was creating a textEdit by code not in designer form ,like this
textEdit = new QTextEdit(this);
To copy to clipboard, switch view to plain text mode
I just want to know how to promote the custom MyTextEdit(which inherits QTextEdit) class to texEdit area....
Bookmarks