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
mainwindow.h
Go to the documentation of this file.
1
// Copyright (C) 2016 The Qt Company Ltd and/or its subsidiary(-ies).
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
3
4
#
ifndef
MAINWINDOW_H
5
#
define
MAINWINDOW_H
6
7
#
include
<
QMainWindow
>
8
9
QT_FORWARD_DECLARE_CLASS
(
QTabWidget
)
10
11
class
QDBusViewer
;
12
13
class
MainWindow
:
public
QMainWindow
14
{
15
Q_OBJECT
16
public
:
17
explicit
MainWindow
(
QWidget
*
parent
= 0);
18
~
MainWindow
();
19
20
void
addCustomBusTab
(
const
QString &bus);
21
22
private
slots
:
23
void
about
();
24
25
private
:
26
void
saveSettings();
27
void
restoreSettings();
28
29
QTabWidget *tabWidget;
30
QDBusViewer
*sessionBusViewer;
31
QDBusViewer
*systemBusViewer;
32
};
33
34
#
endif
// MAINWINDOW_H
main
int main(int argc, char *argv[])
[2]
Definition
buffer.cpp:77
MainWindow
[5]
Definition
src_corelib_kernel_qobject.cpp:52
MainWindow::~MainWindow
~MainWindow() override
Definition
mainwindow.cpp:270
MainWindow::addCustomBusTab
void addCustomBusTab(const QString &bus)
Definition
mainwindow.cpp:58
QDBusViewer
Definition
qdbusviewer.h:31
QTabWidget
The QTabWidget class provides a stack of tabbed widgets.
Definition
qtabwidget.h:20
qttools
src
qdbus
qdbusviewer
mainwindow.h
Generated on Sat Sep 21 2024 00:39:30 for Qt by
1.12.0