Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
lcdnumber.h
Go to the documentation of this file.
1// Copyright (C) 2016 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
3
5#ifndef LCDNUMBER_H
7#define LCDNUMBER_H
9
11#include <QFrame>
13
15class LcdNumber : public QFrame
17{
21
23public:
27
31 void overflow();
33
35public slots:
37 void display(int num);
38 void display(double num);
39 void display(const QString &str);
40 void setHexMode();
41 void setDecMode();
42 void setOctMode();
43 void setBinMode();
44 void setSmallDecimalPoint(bool point);
46};
48
50#endif
void setHexMode()
void setDecMode()
void display(const QString &str)
void setBinMode()
void setOctMode()
LcdNumber(QWidget *parent=nullptr)
[4] //! [5]
void overflow()
[7]
void display(double num)
void display(int num)
[9]
void setSmallDecimalPoint(bool point)
The QFrame class is the base class of widgets that can have a frame.
Definition qframe.h:17
QObject * parent() const
Returns a pointer to the parent object.
Definition qobject.h:346
\macro QT_RESTRICTED_CAST_FROM_ASCII
Definition qstring.h:129
The QWidget class is the base class of all user interface objects.
Definition qwidget.h:99
QString str
[2]
GLuint num
#define Q_OBJECT
#define slots
#define signals