Source-highlight Qt Library
|
A page for a dialog for source-highlight's specific settings; this particular page deals with the data dir value). More...
#include <SourceHighlightSettingsPage.h>
Public Member Functions | |
SourceHighlightSettingsPage (QWidget *parent=0) | |
void | setSourceHighlightDataDirPath (const QString &path) |
const QString | getSourceHighlightDataDirPath () const |
Protected Slots | |
void | browseDir () |
Opens a dialog for selecting a directory. | |
void | defaultDir () |
Uses the default value for datadir (hardcoded path in source-highlight library) | |
void | validateDir (const QString &path) |
Checks that the specified path is a valid source-highlight's data dir path. More... | |
Protected Member Functions | |
void | changeEvent (QEvent *e) |
Private Attributes | |
Ui::SourceHighlightSettingsPage * | ui |
srchilite::Settings * | sourceHighlightSettings |
A page for a dialog for source-highlight's specific settings; this particular page deals with the data dir value).
The page also validates source-highlight data dir, showing an error label, in case.
const QString srchiliteqt::SourceHighlightSettingsPage::getSourceHighlightDataDirPath | ( | ) | const |
void srchiliteqt::SourceHighlightSettingsPage::setSourceHighlightDataDirPath | ( | const QString & | path | ) |
the | value for the data-dir to show in the dialog |
|
protectedslot |
Checks that the specified path is a valid source-highlight's data dir path.
path |