Merge branch 'master' into gitinfo-tweaks

This commit is contained in:
sawinglogz 2019-05-07 15:58:01 -04:00
commit a458fdfad6
5 changed files with 29 additions and 11 deletions

3
.gitignore vendored
View File

@ -44,3 +44,6 @@ Makefile*
.vscode .vscode
*.bak *.bak
*~ *~
#Doxygen output does not go in repository
doxydoc

View File

@ -1,5 +1,18 @@
# Doxyfile 1.7.4 # Doxyfile 1.7.4
#
# Required to run:
# Doxygen (http://www.doxygen.nl/)
# GraphViz (https://www.graphviz.org/)
#
# Usage:
# 1) put GraphViz bin directory in your PATH
# 2) make oscar-code the current directory
# 3) Run doxygen with no parameters. Output will be placed
# in doxygen directory. (.gitignore excludes doxygen directory from git.)
#
#
#
#
# This file describes the settings to be used by the documentation system # This file describes the settings to be used by the documentation system
# doxygen (www.doxygen.org) for a project. # doxygen (www.doxygen.org) for a project.
# #
@ -25,7 +38,7 @@ DOXYFILE_ENCODING = UTF-8
# The PROJECT_NAME tag is a single word (or a sequence of words surrounded # The PROJECT_NAME tag is a single word (or a sequence of words surrounded
# by quotes) that should identify the project. # by quotes) that should identify the project.
PROJECT_NAME = OSCR PROJECT_NAME = OSCAR
# The PROJECT_NUMBER tag can be used to enter a project or revision number. # The PROJECT_NUMBER tag can be used to enter a project or revision number.
# This could be handy for archiving the generated documentation or # This could be handy for archiving the generated documentation or
@ -37,21 +50,22 @@ PROJECT_NUMBER = 1.0.x
# for a project that appears at the top of each page and should give viewer # for a project that appears at the top of each page and should give viewer
# a quick idea about the purpose of the project. Keep the description short. # a quick idea about the purpose of the project. Keep the description short.
PROJECT_BRIEF = OpenSource CPAP Review Software PROJECT_BRIEF = OpenSource CPAP Analysis Reporter
# With the PROJECT_LOGO tag one can specify an logo or icon that is # With the PROJECT_LOGO tag one can specify an logo or icon that is
# included in the documentation. The maximum height of the logo should not # included in the documentation. The maximum height of the logo should not
# exceed 55 pixels and the maximum width should not exceed 200 pixels. # exceed 55 pixels and the maximum width should not exceed 200 pixels.
# Doxygen will copy the logo to the output directory. # Doxygen will copy the logo to the output directory.
PROJECT_LOGO = ./docs/logo.png #PROJECT_LOGO = ./docs/logo.png
PROJECT_LOGO = ./oscar/icons/logo-lm.png
# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) # The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute)
# base path where the generated documentation will be put. # base path where the generated documentation will be put.
# If a relative path is entered, it will be relative to the location # If a relative path is entered, it will be relative to the location
# where doxygen was started. If left blank the current directory will be used. # where doxygen was started. If left blank the current directory will be used.
OUTPUT_DIRECTORY = ./docs/doxygen OUTPUT_DIRECTORY = ./doxydoc
# If the CREATE_SUBDIRS tag is set to YES, then doxygen will create # If the CREATE_SUBDIRS tag is set to YES, then doxygen will create
# 4096 sub-directories (in 2 levels) under the output directory of each output # 4096 sub-directories (in 2 levels) under the output directory of each output
@ -610,7 +624,8 @@ WARN_LOGFILE =
# directories like "/usr/src/myproject". Separate the files or directories # directories like "/usr/src/myproject". Separate the files or directories
# with spaces. # with spaces.
INPUT = ./ ./Graphs ./SleepLib ./SleepLib/loader_plugins #INPUT = ./ ./Graphs ./SleepLib ./SleepLib/loader_plugins
INPUT = ./oscar ./oscar/Graphs ./oscar/SleepLib ./oscar/SleepLib/loader_plugins
# This tag can be used to specify the character encoding of the source files # This tag can be used to specify the character encoding of the source files
# that doxygen parses. Internally doxygen uses the UTF-8 encoding, which is # that doxygen parses. Internally doxygen uses the UTF-8 encoding, which is

View File

@ -163,7 +163,7 @@ QString getGraphicsEngine()
gfxEngine = CSTR_GFX_BrokenGL; gfxEngine = CSTR_GFX_BrokenGL;
#else #else
QString glversion = getOpenGLVersionString(); QString glversion = getOpenGLVersionString();
qDebug() << glversion << glversion; qDebug() << "Gfx Engine" << glversion;
if (glversion.contains(CSTR_GFX_ANGLE)) { if (glversion.contains(CSTR_GFX_ANGLE)) {
gfxEngine = CSTR_GFX_ANGLE; gfxEngine = CSTR_GFX_ANGLE;
} else if (glversion.contains("Mesa")) { } else if (glversion.contains("Mesa")) {

View File

@ -390,7 +390,7 @@ void MainWindow::firstRunMessage()
} }
} }
QString GenerateWelcomeHTML(); // QString GenerateWelcomeHTML();
bool MainWindow::OpenProfile(QString profileName, bool skippassword) bool MainWindow::OpenProfile(QString profileName, bool skippassword)
{ {
@ -1077,7 +1077,7 @@ void MainWindow::setRecBoxHTML(QString html)
{ {
ui->recordsBox->setHtml(html); ui->recordsBox->setHtml(html);
} }
/***
QString MainWindow::getWelcomeHTML() QString MainWindow::getWelcomeHTML()
{ {
// This is messy, but allows it to be translated easier // This is messy, but allows it to be translated easier
@ -1171,7 +1171,7 @@ QString MainWindow::getWelcomeHTML()
; ;
} }
***/
void MainWindow::updateFavourites() void MainWindow::updateFavourites()
{ {
QDate date = p_profile->LastDay(MT_JOURNAL); QDate date = p_profile->LastDay(MT_JOURNAL);

View File

@ -332,7 +332,7 @@ private:
void finishCPAPImport(); void finishCPAPImport();
QList<ImportPath> detectCPAPCards(); QList<ImportPath> detectCPAPCards();
QString getWelcomeHTML(); // QString getWelcomeHTML();
void FreeSessions(); void FreeSessions();
Ui::MainWindow *ui; Ui::MainWindow *ui;