mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-08-08 02:25:37 +08:00
Renamed sample_blackgui -> swiftgui_standard and sample_blackcore -> swiftcore as discussed
This commit is contained in:
@@ -20,10 +20,12 @@ contains(BLACK_CONFIG, BlackSim) {
|
||||
|
||||
contains(BLACK_CONFIG, BlackCore) {
|
||||
SUBDIRS += src/blackcore
|
||||
SUBDIRS += src/swiftcore/swiftcore.pro
|
||||
}
|
||||
|
||||
contains(BLACK_CONFIG, BlackGui) {
|
||||
SUBDIRS += src/blackgui
|
||||
SUBDIRS += src/swiftgui_standard/swiftgui_standard.pro
|
||||
}
|
||||
|
||||
win32 {
|
||||
@@ -50,9 +52,7 @@ contains(BLACK_CONFIG, Samples) {
|
||||
SUBDIRS += samples/blackmiscvectorgeo/sample_vector_geo.pro
|
||||
SUBDIRS += samples/blackmiscquantities/sample_quantities_aviation.pro
|
||||
SUBDIRS += samples/blackmiscdbus/sample_blackmisc_dbus.pro
|
||||
SUBDIRS += samples/blackgui/sample_blackgui.pro
|
||||
SUBDIRS += samples/blackgui2/sample_blackgui2.pro
|
||||
SUBDIRS += samples/blackcore/sample_blackcore.pro
|
||||
SUBDIRS += samples/blackmisc/sample_blackmisc.pro
|
||||
SUBDIRS += samples/voiceclient/sample_voice_client.pro
|
||||
SUBDIRS += samples/blacksim/sample_blacksim.pro
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
<RCC>
|
||||
<qresource prefix="/blackcore">
|
||||
<file>icons/tower.png</file>
|
||||
</qresource>
|
||||
</RCC>
|
||||
@@ -1 +0,0 @@
|
||||
IDI_ICON1 ICON DISCARDABLE "blackcore.ico"
|
||||
@@ -1,13 +0,0 @@
|
||||
Starting: dbus-daemon.exe --session
|
||||
- blocks CMD (sometimes daemon continues to run when pressing CTRL/C)
|
||||
- does not start without directory session.d, i.e. ..\Qt\Qt5.1.0DBus\qtbase\etc\dbus-1\session.d
|
||||
|
||||
!!! The includes are set in the qmake file, there are the header files
|
||||
!!! which are used in the interface
|
||||
qdbuscpp2xml testservice.h -x blackmisc_cpp2xml.dll -o BlackMiscTest.Testservice.xml
|
||||
qdbuscpp2xml datacontext.h -x blackmisc_cpp2xml.dll -o BlackMiscTest.Datacontext.xml
|
||||
Set search path for plugins: env.var. QT_PLUGIN_PATH
|
||||
|
||||
Done automatically (qmake), but if required manually
|
||||
Interface: qdbusxml2cpp blackbus.testservice.xml -p itestservice
|
||||
Adaptor: qdbusxml2cpp blackbus.testservice.xml -a atestservice
|
||||
@@ -1,7 +1,11 @@
|
||||
/* Copyright (C) 2013 VATSIM Community / authors
|
||||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
/* Copyright (C) 2013
|
||||
* swift Project Community / Contributors
|
||||
*
|
||||
* This file is part of swift project. It is subject to the license terms in the LICENSE file found in the top-level
|
||||
* directory of this distribution and at http://www.swift-project.org/license.html. No part of Swift Project,
|
||||
* including this file, may be copied, modified, propagated, or distributed except according to the terms
|
||||
* contained in the LICENSE file.
|
||||
*/
|
||||
|
||||
#include "tool.h"
|
||||
#include "blackcore/context_runtime.h"
|
||||
|
Before Width: | Height: | Size: 94 KiB After Width: | Height: | Size: 94 KiB |
@@ -32,8 +32,7 @@ DESTDIR = ../../bin
|
||||
|
||||
HEADERS += *.h
|
||||
SOURCES += *.cpp
|
||||
OTHER_FILES += readme.txt blackcore.rc blackcore.ico
|
||||
RESOURCES +=
|
||||
win32: RC_FILE = blackcore.rc
|
||||
OTHER_FILES += swiftcore.ico swiftcore.rc
|
||||
win32: RC_FILE = swiftcore.rc
|
||||
|
||||
include (../../libraries.pri)
|
||||
1
src/swiftcore/swiftcore.rc
Normal file
1
src/swiftcore/swiftcore.rc
Normal file
@@ -0,0 +1 @@
|
||||
IDI_ICON1 ICON DISCARDABLE "swiftcore.ico"
|
||||
@@ -309,13 +309,6 @@
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="4" column="3">
|
||||
<widget class="QPushButton" name="pb_Foo">
|
||||
<property name="text">
|
||||
<string>Foo</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="1" column="1">
|
||||
<widget class="QPushButton" name="pb_MainTextMessages">
|
||||
<property name="sizePolicy">
|
||||
@@ -191,8 +191,6 @@ void MainWindow::initGuiSignals()
|
||||
Q_ASSERT(connected);
|
||||
connected = this->connect(this->ui->pb_MainKeypadOpacity100, SIGNAL(clicked()), this, SLOT(ps_changeWindowOpacity()));
|
||||
Q_ASSERT(connected);
|
||||
connected = this->connect(this->ui->pb_Foo, SIGNAL(released()), this, SLOT(ps_setMainPage()));
|
||||
Q_ASSERT(connected);
|
||||
|
||||
// Sound buttons
|
||||
this->connect(this->ui->pb_SoundMute, &QPushButton::clicked, this, &MainWindow::ps_setAudioVolumes);
|
||||
Reference in New Issue
Block a user