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
chapter36
FileFinder
FileFinder.h
Go to the documentation of this file.
1
// ======================================================================
2
// FileFinder.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 <QWidget>
14
#include <QDir>
15
16
class
QLineEdit;
17
class
QTextEdit;
18
19
// ======================================================================
20
class
FileFinder
:
public
QWidget {
21
Q_OBJECT
22
private
:
23
QLineEdit* m_ptxtDir;
24
QLineEdit* m_ptxtMask;
25
QTextEdit* m_ptxtResult;
26
27
public
:
28
FileFinder
(QWidget* pwgt = 0);
29
30
void
start
(
const
QDir& dir);
31
32
public
slots:
33
void
slotFind
();
34
void
slotBrowse
();
35
};
36
FileFinder
Definition:
FileFinder.h:20
FileFinder::start
void start(const QDir &dir)
Definition:
FileFinder.cpp:66
FileFinder::slotBrowse
void slotBrowse()
Definition:
FileFinder.cpp:47
FileFinder::slotFind
void slotFind()
Definition:
FileFinder.cpp:60
FileFinder::FileFinder
FileFinder(QWidget *pwgt=0)
Definition:
FileFinder.cpp:15
Generated by
1.8.14