Code Review
/
staging
/
HomeScreen.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Remove multimedia app from HomeScreen overview documentation
[staging/HomeScreen.git]
/
HomeScreen
/
src
/
settingswidget.h
diff --git
a/HomeScreen/src/settingswidget.h
b/HomeScreen/src/settingswidget.h
index
15b24bd
..
75bb383
100644
(file)
--- a/
HomeScreen/src/settingswidget.h
+++ b/
HomeScreen/src/settingswidget.h
@@
-1,5
+1,5
@@
/*
/*
- * Copyright (C) 2016 Mentor Graphics Development (Deutschland) GmbH
+ * Copyright (C) 2016
, 2017
Mentor Graphics Development (Deutschland) GmbH
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@
-19,9
+19,6
@@
#include <QWidget>
#include <QTranslator>
#include <QWidget>
#include <QTranslator>
-#include "../interfaces/daynightmode.h"
-#include "daynightmode_proxy.h"
-
namespace Ui {
class SettingsWidget;
namespace Ui {
class SettingsWidget;
@@
-34,24
+31,22
@@
class SettingsWidget : public QWidget
public:
explicit SettingsWidget(QWidget *parent = 0);
~SettingsWidget();
public:
explicit SettingsWidget(QWidget *parent = 0);
~SettingsWidget();
-
-// day/night mode
-public Q_SLOTS:
- void dayNightModeSlot(int mode);
+public slots:
+ void updateColorScheme();
protected:
// called when the translator loaded a new language set
void changeEvent(QEvent* event);
private slots:
protected:
// called when the translator loaded a new language set
void changeEvent(QEvent* event);
private slots:
- void on_comboBoxLanguage_currentIndexChanged(const QString &);
+ void on_comboBox_language_currentIndexChanged(const QString &);
+ void on_comboBox_colorScheme_currentIndexChanged(const QString &);
+
+signals:
+ void colorSchemeChanged(void);
private:
Ui::SettingsWidget *mp_ui;
private:
Ui::SettingsWidget *mp_ui;
-
- SystemDayNight::eDayNightMode m_dayNightMode;
- org::agl::daynightmode *mp_dayNightModeProxy;
-
QTranslator *mp_translator;
};
QTranslator *mp_translator;
};