File: PrefsDialog.h

package info (click to toggle)
qtm 1.3.18-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 1,276 kB
  • ctags: 866
  • sloc: cpp: 9,685; perl: 805; sh: 81; python: 65; makefile: 4
file content (68 lines) | stat: -rw-r--r-- 2,130 bytes parent folder | download | duplicates (3)
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
/***************************************************************************
 * PrefsDialog.h - Header file for QTM's preferences dialog
 *
 * Copyright (C) 2008, Matthew J Smith
 *
 * This file is part of QTM.
 * QTM is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License (version 2), as
 * published by the Free Software Foundation.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 *
 *****************************************************************************/

#ifndef PREFSDIALOG_H
#define PREFSDIALOG_H

#include <QtGlobal>

class QDialog;
class QWidget;
class QHostInfo;

#include "ui_PrefsForm.h"

class PrefsDialog : public QDialog, public Ui::PrefsForm
{
Q_OBJECT

public:
  PrefsDialog( QWidget *parent = 0 );
  // bool noValidHost();
  void setLabelText( QLabel *, bool, bool );

private slots:
  void on_pbBrowse_clicked();
  void on_pbWhatsThis_clicked();
  void on_tbEditorBgColor_clicked();
  void on_tbEditorFgColor_clicked();
  void on_tbPreviewBgColor_clicked();
  void on_tbPreviewFgColor_clicked();
  void on_tbConsoleBgColor_clicked();
  void on_tbConsoleFgColor_clicked();
  void on_pbTagColorFore_clicked();
  void on_pbTagColorBack_clicked();
  void on_pbEntityColorFore_clicked();
  void on_pbEntityColorBack_clicked();
  void on_pbCommentColorFore_clicked();
  void on_pbCommentColorBack_clicked();
  void on_chTagBold_toggled( bool );
  void on_chTagItalic_toggled( bool );
  void on_chEntityBold_toggled( bool );
  void on_chEntityItalic_toggled( bool );
  void on_chCommentBold_toggled( bool );
  void on_chCommentItalic_toggled( bool );
  //void on_okButton_clicked();
  //void handleHostInfo( const QHostInfo & );

};

#endif