I am new to Qt and i am trying to do a application using a label to display a paragraph.
I have written the code and it is displaying the paragraph in a single line.I have used /n to go the new line. But that is what i not needed.
I am hoping to get the paragraph line by line which means the ends automatically after reaching some extent and it automatically continues in the next line and so on.
Here is my code:
label = new QLabel(( "hai anyone please help me out"
I am in need of help"
QHBoxLayout *topLeftLayout = new QHBoxLayout;
QVBoxLayout *leftLayout = new QVBoxLayout;
QVBoxLayout *rightLayout = new QVBoxLayout;
QHBoxLayout *mainLayout = new QHBoxLayout;
Can anyone guide me to finish my application.Here i have used /n to continue in the next the next line i dont want to use /n is it possible to go to the next line?
Anyone help me out?