mirror of
https://github.com/epasveer/seer.git
synced 2026-08-30 00:50:42 +08:00
Config editor font.
Save and restore from settings file. Change all open and future editors.
This commit is contained in:
+25
-15
@@ -74,33 +74,43 @@ void SeerConfigDialog::changePage(QListWidgetItem* current, QListWidgetItem* pre
|
||||
pagesStackedWidget->setCurrentIndex(contentsListWidget->row(current));
|
||||
}
|
||||
|
||||
QString SeerConfigDialog::gdbProgram () const {
|
||||
|
||||
return _gdbConfigPage->gdbProgram();
|
||||
}
|
||||
|
||||
QString SeerConfigDialog::gdbArguments () const {
|
||||
|
||||
return _gdbConfigPage->gdbArguments();
|
||||
}
|
||||
|
||||
bool SeerConfigDialog::gdbAsyncMode () const {
|
||||
|
||||
return _gdbConfigPage->gdbAsyncMode();
|
||||
}
|
||||
|
||||
void SeerConfigDialog::setGdbProgram (const QString& program) {
|
||||
|
||||
_gdbConfigPage->setGdbProgram(program);
|
||||
}
|
||||
|
||||
QString SeerConfigDialog::gdbProgram () const {
|
||||
|
||||
return _gdbConfigPage->gdbProgram();
|
||||
}
|
||||
|
||||
void SeerConfigDialog::setGdbArguments (const QString& arguments) {
|
||||
|
||||
_gdbConfigPage->setGdbArguments(arguments);
|
||||
}
|
||||
|
||||
QString SeerConfigDialog::gdbArguments () const {
|
||||
|
||||
return _gdbConfigPage->gdbArguments();
|
||||
}
|
||||
|
||||
void SeerConfigDialog::setGdbAsyncMode (bool flag) {
|
||||
|
||||
_gdbConfigPage->setGdbAsyncMode(flag);
|
||||
}
|
||||
|
||||
bool SeerConfigDialog::gdbAsyncMode () const {
|
||||
|
||||
return _gdbConfigPage->gdbAsyncMode();
|
||||
}
|
||||
|
||||
void SeerConfigDialog::setEditorFont (const QFont& font) {
|
||||
|
||||
_editorConfigPage->setEditorFont(font);
|
||||
}
|
||||
|
||||
const QFont& SeerConfigDialog::editorFont () const {
|
||||
|
||||
return _editorConfigPage->editorFont();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user