开发者

Qt - What to use for a text box

开发者 https://www.devze.com 2023-02-23 15:07 出处:网络
I\'m new to Qt, and just want to ask. What should I use to开发者_Python百科 make a text box? Thanks.If with text box you mean it one line then it should be QLineEdit.

I'm new to Qt, and just want to ask. What should I use to开发者_Python百科 make a text box?

Thanks.


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

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号