summaryrefslogtreecommitdiff
path: root/src/ui/articledialog.h
blob: 4056f53dccc5766cfe623e50021770fa2d5bde4f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
// SPDX-License-Identifier: GPL-2.0-or-later

#ifndef FQTERM_ARTICLEDIALOG_H
#define FQTERM_ARTICLEDIALOG_H

#include "ui_articledialog.h"

namespace FQTerm {

class FQTermConfig;
class FQTermFileDialog;

class articleDialog: public QDialog {
  Q_OBJECT; 
public:
  articleDialog(FQTermConfig *, QWidget *parent_ = 0, Qt::WindowFlags fl = 0);
  ~articleDialog();

  QString articleText_;
  Ui::articleDialog ui_;
protected:
  void connectSlots();
protected slots:
  void onClose();
  void onSave();
  void onSelect();
  void onCopy();
private:
  FQTermConfig * config_;
};

} // name space FQTerm

#endif  // FQTERM_ARTICLEDIALOG_H