Qt 5.10 Book Examples
Viewer.h
Go to the documentation of this file.
1 // ======================================================================
2 // Viewer.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 <QTextEdit>
14 
15 // ======================================================================
16 class Viewer : public QTextEdit {
17 Q_OBJECT
18 public:
19  Viewer(QWidget* pwgt = 0);
20 
21 private slots:
22  void slotDirectoryChanged(const QString&);
23  void slotFileChanged (const QString&);
24 };
Viewer(QWidget *pwgt=0)
Definition: Viewer.cpp:14
Definition: Viewer.h:16