File indexing completed on 2024-04-28 15:31:54

0001 /*
0002     SPDX-FileCopyrightText: 2017 Henrik Fehlauer <rkflx@lab12.net>
0003 
0004     SPDX-License-Identifier: LGPL-2.0-or-later
0005 */
0006 
0007 #ifndef KSQUEEZEDTEXTLABELAUTOTEST_H
0008 #define KSQUEEZEDTEXTLABELAUTOTEST_H
0009 
0010 #include <QObject>
0011 
0012 class KSqueezedTextLabel;
0013 
0014 class KSqueezedTextLabelAutotest : public QObject
0015 {
0016     Q_OBJECT
0017 
0018 private Q_SLOTS:
0019     void testEmptyText();
0020     void testElisionOnResize_data();
0021     void testElisionOnResize();
0022     void testElisionOnTextUpdate();
0023     void testElideMode_data();
0024     void testElideMode();
0025     void testSizeHints();
0026     void testClearing();
0027     void testChrome_data();
0028     void testChrome();
0029 };
0030 
0031 #endif