IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)

Elided Label Example

This example creates a widget similar to QLabel, that elides the last visible line, if the text is too long to fit the widget's geometry.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

Elided Label Example

 
Sélectionnez
# Nokia Qt Examples: elided label example

QT += core gui widgets
requires(qtConfig(combobox))

TARGET = elidedlabel
TEMPLATE = app

SOURCES += \
    main.cpp\
    testwidget.cpp \
    elidedlabel.cpp

HEADERS += \
    testwidget.h \
    elidedlabel.h

# install
target.path = $$[QT_INSTALL_EXAMPLES]/widgets/widgets/elidedlabel
INSTALLS += target

Vous avez aimé ce tutoriel ? Alors partagez-le en cliquant sur les boutons suivants : Viadeo Twitter Facebook Share on Google+