Qt 5.10 Book Examples
Main Page
+
Classes
Class List
Class Index
Class Hierarchy
+
Class Members
+
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
~
+
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
~
Variables
Enumerator
Properties
+
Files
File List
+
File Members
+
All
b
c
l
m
o
s
t
+
Functions
b
c
l
m
o
s
t
Macros
•
All
Classes
Files
Functions
Variables
Enumerator
Properties
Macros
chapter42
PlugIn
Application
PluginsWindow.h
Go to the documentation of this file.
1
// ======================================================================
2
// PluginsWindow.h
3
// ======================================================================
4
// This file is a part of the book
5
// "Qt 5.10 Professional programming with C++"
6
// http://qt-book.com
7
// ======================================================================
8
// Copyright (c) 2017 by Max Schlee
9
// ======================================================================
10
11
#pragma once
12
13
#include <QMainWindow>
14
#include "
interfaces.h
"
15
16
class
QLabel;
17
class
QMenu;
18
// ======================================================================
19
class
PluginsWindow
:
public
QMainWindow {
20
Q_OBJECT
21
22
private
:
23
QLabel* m_plbl;
24
QMenu* m_pmnuPlugins;
25
26
public
:
27
PluginsWindow
(QWidget* pwgt = 0);
28
29
void
loadPlugins
( );
30
void
addToMenu
(QObject* pobj);
31
32
protected
slots:
33
void
slotStringOperation
();
34
};
35
PluginsWindow::PluginsWindow
PluginsWindow(QWidget *pwgt=0)
Definition:
PluginsWindow.cpp:15
PluginsWindow
Definition:
PluginsWindow.h:19
interfaces.h
PluginsWindow::addToMenu
void addToMenu(QObject *pobj)
Definition:
PluginsWindow.cpp:44
PluginsWindow::slotStringOperation
void slotStringOperation()
Definition:
PluginsWindow.cpp:64
PluginsWindow::loadPlugins
void loadPlugins()
Definition:
PluginsWindow.cpp:26
Generated by
1.8.14