Qt - What to use for a text box

I'm new to Qt, and just want to ask. What should I use to make a text box ---> Q?

Thanks.

Answers


If with text box you mean it one line then it should be QLineEdit.

Anyway I suggest you to get a look at some full working samples to learn using all available widgets.


QLineEdit for textbox

QTextEdit for textareas

QPushButton for buttons

Here's the complete component reference: http://doc.qt.digia.com/qt-components-symbian-1.0/qt-components.html


Need Your Help

Converting C++ TCP/IP applications from IPv4 to IPv6. Difficult? Worth the trouble?

c++ tcp winsock ipv6 ipv4

Over the years I've developed a small mass of C++ server/client applications for Windows using WinSock (Routers, Web/Mail/FTP Servers, etc... etc...).