File: cdlgproperties.h

package info (click to toggle)
gpgkeys 0.3.1-3
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 276 kB
  • ctags: 241
  • sloc: cpp: 2,007; makefile: 53
file content (47 lines) | stat: -rw-r--r-- 955 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
/*
 * GPG Keys 
 * cdlgproperties.h
 * (c) 2001 Peter Mathiasson <peter@mathiasson.nu>
 * 
 * This program 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
 */

#ifndef __CDLGPROPERTIES_H__
#define __CDLGPROPERTIES_H__ 

#include <qdialog.h>

class QListBox;
class QTextEdit;
class QWidgetStack;
class QTabWidget;
class QComboBox;

class CDlgProperties : public QDialog
{
    Q_OBJECT

public:
    CDlgProperties( QWidget* parent = 0 );

public slots:
    void selectFont();
    void currentChanged( QWidget* );
    void selectionChanged();
    void saveSettings();

private:
    int getStartOption();
    void createWidget( int id );
    void fillComboBoxes( QComboBox *comboBox, int id );

    QListBox *listBox;
    QTextEdit *textEdit;
    QWidgetStack *widgetStack;
    QTabWidget *tabWidget;

};

#endif //__CDLGPROPERTIES_H__