aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core-utils/lumina-config
diff options
context:
space:
mode:
authorq5sys <jt@obs-sec.com>2016-12-14 12:53:02 -0500
committerq5sys <jt@obs-sec.com>2016-12-14 12:53:02 -0500
commit2a1b1f14b8c61593ad899923d86b718d97d08c32 (patch)
treee8c6637461c2a4ce419de27f67d53ae793ccc948 /src-qt5/core-utils/lumina-config
parentfix missing brackets (diff)
downloadlumina-2a1b1f14b8c61593ad899923d86b718d97d08c32.tar.gz
lumina-2a1b1f14b8c61593ad899923d86b718d97d08c32.tar.bz2
lumina-2a1b1f14b8c61593ad899923d86b718d97d08c32.zip
set up initial bluetooth page
Diffstat (limited to 'src-qt5/core-utils/lumina-config')
-rw-r--r--src-qt5/core-utils/lumina-config/pages/getPage.h1
-rw-r--r--src-qt5/core-utils/lumina-config/pages/page_bluetooth_trueos.cpp47
-rw-r--r--src-qt5/core-utils/lumina-config/pages/page_bluetooth_trueos.h33
-rw-r--r--src-qt5/core-utils/lumina-config/pages/page_bluetooth_trueos.ui19
-rw-r--r--src-qt5/core-utils/lumina-config/pages/pages.pri15
5 files changed, 112 insertions, 3 deletions
diff --git a/src-qt5/core-utils/lumina-config/pages/getPage.h b/src-qt5/core-utils/lumina-config/pages/getPage.h
index c7b5b076..a0e75e4d 100644
--- a/src-qt5/core-utils/lumina-config/pages/getPage.h
+++ b/src-qt5/core-utils/lumina-config/pages/getPage.h
@@ -69,6 +69,7 @@ static QList<PAGEINFO> KnownPages(){
#include "page_compton.h"
#include "page_mouse.h"
// #include "page_mouse_trueos.h"
+// #include "page_bluetooth_trueos.h"
static PageWidget* GetNewPage(QString id, QWidget *parent){
//Find the page that matches this "id"
diff --git a/src-qt5/core-utils/lumina-config/pages/page_bluetooth_trueos.cpp b/src-qt5/core-utils/lumina-config/pages/page_bluetooth_trueos.cpp
new file mode 100644
index 00000000..3e3451fc
--- /dev/null
+++ b/src-qt5/core-utils/lumina-config/pages/page_bluetooth_trueos.cpp
@@ -0,0 +1,47 @@
+//===========================================
+// Lumina Desktop Source Code
+// Copyright (c) 2016, Ken Moore & JT Pennington
+// Available under the 3-clause BSD license
+// See the LICENSE file for full details
+//===========================================
+#include "page_bluetooth_trueos.h"
+#include "ui_page_bluetooth_trueos.h"
+#include "getPage.h"
+
+//==========
+// PUBLIC
+//==========
+page_bluetooth::page_bluetooth(QWidget *parent) : PageWidget(parent), ui(new Ui::page_bluetooth()){
+ ui->setupUi(this);
+
+ updateIcons();
+}
+
+page_bluetooth::~page_bluetooth(){
+
+}
+
+//================
+// PUBLIC SLOTS
+//================
+void page_bluetooth::SaveSettings(){
+
+ emit HasPendingChanges(false);
+}
+
+void page_bluetooth::LoadSettings(int){
+ emit HasPendingChanges(false);
+ emit ChangePageTitle( tr("Bluetooth Settings") );
+}
+
+void page_bluetooth::updateIcons(){
+
+}
+
+//=================
+// PRIVATE
+//=================
+
+//=================
+// PRIVATE SLOTS
+//=================
diff --git a/src-qt5/core-utils/lumina-config/pages/page_bluetooth_trueos.h b/src-qt5/core-utils/lumina-config/pages/page_bluetooth_trueos.h
new file mode 100644
index 00000000..1f140d82
--- /dev/null
+++ b/src-qt5/core-utils/lumina-config/pages/page_bluetooth_trueos.h
@@ -0,0 +1,33 @@
+//===========================================
+// Lumina Desktop Source Code
+// Copyright (c) 2016, Ken Moore & JT Pennington
+// Available under the 3-clause BSD license
+// See the LICENSE file for full details
+//===========================================
+#ifndef _LUMINA_CONFIG_PAGE_BLUETOOTH_TRUEOS_H
+#define _LUMINA_CONFIG_PAGE_BLUETOOTH_TRUEOS_H
+#include "../globals.h"
+#include "PageWidget.h"
+
+namespace Ui{
+ class page_bluetooth;
+};
+
+class page_bluetooth : public PageWidget{
+ Q_OBJECT
+public:
+ page_bluetooth(QWidget *parent);
+ ~page_bluetooth();
+
+public slots:
+ void SaveSettings();
+ void LoadSettings(int screennum);
+ void updateIcons();
+
+private:
+ Ui::page_bluetooth *ui;
+
+private slots:
+
+};
+#endif
diff --git a/src-qt5/core-utils/lumina-config/pages/page_bluetooth_trueos.ui b/src-qt5/core-utils/lumina-config/pages/page_bluetooth_trueos.ui
new file mode 100644
index 00000000..ce2c96d6
--- /dev/null
+++ b/src-qt5/core-utils/lumina-config/pages/page_bluetooth_trueos.ui
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ui version="4.0">
+ <class>page_mouse_trueos</class>
+ <widget class="QWidget" name="page_mouse_trueos">
+ <property name="geometry">
+ <rect>
+ <x>0</x>
+ <y>0</y>
+ <width>427</width>
+ <height>417</height>
+ </rect>
+ </property>
+ <property name="windowTitle">
+ <string>Form</string>
+ </property>
+ </widget>
+ <resources/>
+ <connections/>
+</ui>
diff --git a/src-qt5/core-utils/lumina-config/pages/pages.pri b/src-qt5/core-utils/lumina-config/pages/pages.pri
index 02319976..0a900e69 100644
--- a/src-qt5/core-utils/lumina-config/pages/pages.pri
+++ b/src-qt5/core-utils/lumina-config/pages/pages.pri
@@ -14,7 +14,10 @@ HEADERS += $${PWD}/getPage.h \
$${PWD}/page_session_locale.h \
$${PWD}/page_session_options.h \
$${PWD}/page_compton.h \
- $${PWD}/page_mouse.h
+ $${PWD}/page_mouse.h \
+// \
+ $$PWD/page_bluetooth_trueos.h \
+ $$PWD/page_mouse_trueos.h
// $${PWD}/page_mouse_trueos.h
@@ -31,7 +34,10 @@ SOURCES += $${PWD}/page_main.cpp \
$${PWD}/page_session_locale.cpp \
$${PWD}/page_session_options.cpp \
$${PWD}/page_compton.cpp \
- $${PWD}/page_mouse.cpp
+ $${PWD}/page_mouse.cpp \
+// \
+ $$PWD/page_bluetooth_trueos.cpp \
+ $$PWD/page_mouse_trueos.cpp
// $${PWD}/page_mouse_trueos.cpp
@@ -48,5 +54,8 @@ FORMS += $${PWD}/page_main.ui \
$${PWD}/page_session_locale.ui \
$${PWD}/page_session_options.ui \
$${PWD}/page_compton.ui \
- $${PWD}/page_mouse.ui
+ $${PWD}/page_mouse.ui \
+// \
+ $$PWD/page_bluetooth_trueos.ui \
+ $$PWD/page_mouse_trueos.ui
// $${PWD}/page_mouse_trueos.ui
bgstack15