Qt 5.10 Book Examples
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