PDA

View Full Version : Elide text



brcontainer
13th June 2013, 01:30
It is possible to configure the "QWebView" to work with "Elide" disabled (equivalent to Qt::ElideNone)?

The "Elide" graphic texts being compressed (elieded) to fit inside the select.

Example:
http://i.stack.imgur.com/PpiBO.jpg

I wish the entire text to be displayed when clicked on comobox (selectbox). Is it possible?

Thanks.

[edit]

I think it may be the way the styleSheet:

QComboBox QAbstractItemView {
...
}

I just do not know which property to use styleSheet disable "elited".

Maybe something like this:

QComboBox QAbstractItemView {
elided: none;
...or...
elide: none;
}

Anyone know a link with all properties stylesheets used in QT (I searched but did not find)?

karankumar1609
13th June 2013, 07:11
A simple search on google give me the link (http://qt-project.org/forums/viewthread/4062).
http://qt-project.org/forums/viewthread/4062

Hope this is what you want.


CHEERS!!!

brcontainer
13th June 2013, 14:50
@karankumar1609 I am very grateful for your help. But I could not make it work in QWebView. Could you help me? Its show me an example?

Thanks.

brcontainer
19th June 2013, 21:40
Worked this way:

QComboBox QAbstractItemView {
qproperty-textElideMode: ElideNone
}
I did not need to compile. But the problem is that the width does not follow. How could I do this?
Thanks.