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
qohosinternalwindowid.cpp
Go to the documentation of this file.
1// Copyright (C) 2025 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
5
7
8namespace QtOhos {
9
15
20
22 : m_value(value)
23{
24}
25
27{
28 return m_value == other.m_value;
29}
30
32{
33 return m_value != other.m_value;
34}
35
37{
38 return m_value < other.m_value;
39}
40
42{
43 return m_value == MainWindowId;
44}
45
47{
48 return m_value != InvalidWindowId;
49}
50
56
61
63{
64 return QString::fromUtf8("WIID_%1")
65 .arg(
66 isValid()
68 ? QString::fromUtf8("MainWindow")
70 : QString::fromUtf8("Invalid"));
71}
72
74{
75 return toString().toStdString();
76}
77
78}
79
80QT_END_NAMESPACE
Combined button and popup list for selecting options.