Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
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
4//! [0]
5#ifndef LCDNUMBER_H
6//! [0] //! [1]
7#define LCDNUMBER_H
8//! [1]
9
10//! [2]
11#include <QFrame>
12//! [2]
13
14//! [3]
15class LcdNumber : public QFrame
16//! [3] //! [4]
17{
18//! [4] //! [5]
20//! [5]
21
22//! [6]
23public:
24//! [6] //! [7]
26//! [7]
27
28//! [8]
30//! [8] //! [9]
31 void overflow();
32//! [9]
33
34//! [10]
35public slots:
36//! [10] //! [11]
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);
45//! [11] //! [12]
46};
47//! [12]
48
49//! [13]
50#endif
51//! [13]
void setHexMode()
void setDecMode()
void display(const QString &str)
void setBinMode()
void setOctMode()
void display(double num)
void setSmallDecimalPoint(bool point)