Source-highlight Qt Library
Main Page
Related Pages
Classes
Files
File List
SourceHighlightSettingsPage.h
1
/*
2
* Copyright (C) 2008-2010 Lorenzo Bettini, http://www.lorenzobettini.it
3
* License: See COPYING file that comes with this distribution
4
*/
5
6
#ifndef SOURCEHIGHLIGHTSETTINGSPAGE_H
7
#define SOURCEHIGHLIGHTSETTINGSPAGE_H
8
9
#include <QWidget>
10
11
namespace
Ui {
12
class
SourceHighlightSettingsPage;
13
}
14
15
namespace
srchilite {
16
class
Settings;
17
}
18
19
namespace
srchiliteqt {
20
30
class
SourceHighlightSettingsPage
:
public
QWidget {
31
Q_OBJECT
32
public
:
33
SourceHighlightSettingsPage
(QWidget *parent = 0);
34
~
SourceHighlightSettingsPage
();
35
39
void
setSourceHighlightDataDirPath
(
const
QString &path);
40
44
const
QString
getSourceHighlightDataDirPath
()
const
;
45
46
protected
:
47
void
changeEvent(QEvent *e);
48
49
protected
slots:
53
void
browseDir
();
54
59
void
defaultDir
();
60
66
void
validateDir
(
const
QString &path);
67
68
private
:
69
Ui::SourceHighlightSettingsPage
*ui;
70
71
srchilite::Settings *sourceHighlightSettings;
72
};
73
74
}
75
76
#endif // SOURCEHIGHLIGHTSETTINGSPAGE_H
SourceHighlightSettingsPage.h
Generated on Sat Aug 25 2012 15:37:49 for Source-highlight Qt Library by
1.8.1.2