Subversion Repositories Projects

Compare Revisions

Ignore whitespace Rev 904 → Rev 908

/QMK-Groundstation/trunk/QMK-Scope/Dialogs/dlg_LCD.cpp
0,0 → 1,32
/***************************************************************************
* Copyright (C) 2009 by Manuel Schrape *
* manuel.schrape@gmx.de *
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License. *
* *
* This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU General Public License for more details. *
* *
* You should have received a copy of the GNU General Public License *
* along with this program; if not, write to the *
* Free Software Foundation, Inc., *
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
***************************************************************************/
#include "dlg_LCD.h"
 
dlg_LCD::dlg_LCD(QWidget *parent) : QDialog(parent)
{
setupUi(this);
}
 
void dlg_LCD::show_Data(int *Data)
{
le_LCD0->setText(ToolBox::Data2QString(Data,2,22));
le_LCD1->setText(ToolBox::Data2QString(Data,22,42));
le_LCD2->setText(ToolBox::Data2QString(Data,42,62));
le_LCD3->setText(ToolBox::Data2QString(Data,62,82));
}
/QMK-Groundstation/trunk/QMK-Scope/Dialogs/dlg_LCD.h
0,0 → 1,36
/***************************************************************************
* Copyright (C) 2009 by Manuel Schrape *
* manuel.schrape@gmx.de *
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License. *
* *
* This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU General Public License for more details. *
* *
* You should have received a copy of the GNU General Public License *
* along with this program; if not, write to the *
* Free Software Foundation, Inc., *
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
***************************************************************************/
#ifndef DLG_LCD_H
#define DLG_LCD_H
 
#include <QObject>
 
#include "ui_dlg_LCD.h"
#include "../Classes/ToolBox.h"
 
class dlg_LCD : public QDialog, public Ui::dlg_LCD_UI
{
Q_OBJECT
 
public:
dlg_LCD(QWidget *parent = 0);
void show_Data(int *Data);
};
 
#endif // DLG_LCD_H
/QMK-Groundstation/trunk/QMK-Scope/Dialogs/dlg_LCD.ui
0,0 → 1,208
<ui version="4.0" >
<class>dlg_LCD_UI</class>
<widget class="QDialog" name="dlg_LCD_UI" >
<property name="geometry" >
<rect>
<x>0</x>
<y>0</y>
<width>250</width>
<height>205</height>
</rect>
</property>
<property name="windowTitle" >
<string>LCD-Display</string>
</property>
<layout class="QGridLayout" name="gridLayout" >
<item row="0" column="0" >
<layout class="QGridLayout" name="gridLayout_41" >
<item row="0" column="0" colspan="3" >
<widget class="QLineEdit" name="le_LCD0" >
<property name="sizePolicy" >
<sizepolicy vsizetype="Minimum" hsizetype="Minimum" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize" >
<size>
<width>240</width>
<height>0</height>
</size>
</property>
<property name="font" >
<font>
<family>Courier 10 Pitch</family>
<pointsize>12</pointsize>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string/>
</property>
<property name="maxLength" >
<number>22</number>
</property>
<property name="alignment" >
<set>Qt::AlignCenter</set>
</property>
<property name="readOnly" >
<bool>true</bool>
</property>
</widget>
</item>
<item row="1" column="0" colspan="3" >
<widget class="QLineEdit" name="le_LCD1" >
<property name="minimumSize" >
<size>
<width>240</width>
<height>0</height>
</size>
</property>
<property name="font" >
<font>
<family>Courier 10 Pitch</family>
<pointsize>12</pointsize>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string/>
</property>
<property name="maxLength" >
<number>22</number>
</property>
<property name="alignment" >
<set>Qt::AlignCenter</set>
</property>
<property name="readOnly" >
<bool>false</bool>
</property>
</widget>
</item>
<item row="2" column="0" colspan="3" >
<widget class="QLineEdit" name="le_LCD2" >
<property name="minimumSize" >
<size>
<width>240</width>
<height>0</height>
</size>
</property>
<property name="font" >
<font>
<family>Courier 10 Pitch</family>
<pointsize>12</pointsize>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string/>
</property>
<property name="maxLength" >
<number>22</number>
</property>
<property name="alignment" >
<set>Qt::AlignCenter</set>
</property>
<property name="readOnly" >
<bool>false</bool>
</property>
</widget>
</item>
<item row="3" column="0" colspan="3" >
<widget class="QLineEdit" name="le_LCD3" >
<property name="minimumSize" >
<size>
<width>240</width>
<height>0</height>
</size>
</property>
<property name="font" >
<font>
<family>Courier 10 Pitch</family>
<pointsize>12</pointsize>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string/>
</property>
<property name="maxLength" >
<number>22</number>
</property>
<property name="alignment" >
<set>Qt::AlignCenter</set>
</property>
<property name="readOnly" >
<bool>true</bool>
</property>
</widget>
</item>
<item row="4" column="0" >
<widget class="QCheckBox" name="cb_LCD" >
<property name="text" >
<string>Auto-Refresh </string>
</property>
<property name="checked" >
<bool>true</bool>
</property>
</widget>
</item>
<item row="4" column="1" >
<widget class="QPushButton" name="pb_LCDdown" >
<property name="text" >
<string/>
</property>
<property name="icon" >
<iconset resource="../MKTool.qrc" >
<normaloff>:/Arrows/Images/Arrows/Left-1.png</normaloff>:/Arrows/Images/Arrows/Left-1.png</iconset>
</property>
</widget>
</item>
<item row="4" column="2" >
<widget class="QPushButton" name="pb_LCDup" >
<property name="text" >
<string/>
</property>
<property name="icon" >
<iconset resource="../MKTool.qrc" >
<normaloff>:/Arrows/Images/Arrows/Right-1.png</normaloff>:/Arrows/Images/Arrows/Right-1.png</iconset>
</property>
</widget>
</item>
</layout>
</item>
<item row="1" column="0" >
<widget class="QPushButton" name="pushButton" >
<property name="text" >
<string>Schließen</string>
</property>
</widget>
</item>
</layout>
</widget>
<resources>
<include location="../MKTool.qrc" />
</resources>
<connections>
<connection>
<sender>pushButton</sender>
<signal>clicked()</signal>
<receiver>dlg_LCD_UI</receiver>
<slot>close()</slot>
<hints>
<hint type="sourcelabel" >
<x>124</x>
<y>187</y>
</hint>
<hint type="destinationlabel" >
<x>124</x>
<y>102</y>
</hint>
</hints>
</connection>
</connections>
</ui>
/QMK-Groundstation/trunk/QMK-Scope/Dialogs/wgt_Index.cpp
0,0 → 1,59
/***************************************************************************
* Copyright (C) 2010 by Manuel Schrape *
* manuel.schrape@gmx.de *
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License. *
* *
* This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU General Public License for more details. *
* *
* You should have received a copy of the GNU General Public License *
* along with this program; if not, write to the *
* Free Software Foundation, Inc., *
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
***************************************************************************/
 
#include "wgt_Index.h"
 
wgt_Index::wgt_Index(QWidget *parent) : QWidget(parent)
{
setupUi(this);
 
connect(cb_Box, SIGNAL(clicked()), this, SLOT(slot_Clicked()));
}
 
void wgt_Index::set_Name(QString s_Name)
{
lb_Name->setText(s_Name);
}
 
void wgt_Index::set_StyleSheet(QString s_StyleSheet)
{
lb_Name->setStyleSheet(s_StyleSheet);
lb_Wert->setStyleSheet(s_StyleSheet);
// cb_Box->setStyleSheet("");
}
 
void wgt_Index::set_Checked(bool b_Check)
{
cb_Box->setChecked(b_Check);
}
 
void wgt_Index::set_Wert(QString s_Wert)
{
lb_Wert->setText(s_Wert);
}
 
bool wgt_Index::get_Checked()
{
return cb_Box->isChecked();
}
 
void wgt_Index::slot_Clicked()
{
emit(sig_Clicked());
}
/QMK-Groundstation/trunk/QMK-Scope/Dialogs/wgt_Index.h
0,0 → 1,49
/***************************************************************************
* Copyright (C) 2009 by Manuel Schrape *
* manuel.schrape@gmx.de *
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License. *
* *
* This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU General Public License for more details. *
* *
* You should have received a copy of the GNU General Public License *
* along with this program; if not, write to the *
* Free Software Foundation, Inc., *
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
***************************************************************************/
#ifndef WGT_INDEX_H
#define WGT_INDEX_H
 
#include <QWidget>
 
#include "ui_wgt_Index.h"
 
class wgt_Index : public QWidget, public Ui::wgt_Index_ui
{
Q_OBJECT
 
public:
wgt_Index(QWidget *parent = 0);
 
void set_StyleSheet(QString s_StyleSheet);
void set_Name(QString s_Name);
void set_Checked(bool b_Check);
void set_Wert(QString s_Wert);
 
bool get_Checked();
 
private slots:
void slot_Clicked();
 
signals:
void sig_Clicked();
 
 
};
 
#endif // WGT_INDEX_H
/QMK-Groundstation/trunk/QMK-Scope/Dialogs/wgt_Index.ui
0,0 → 1,63
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>wgt_Index_ui</class>
<widget class="QWidget" name="wgt_Index_ui">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>142</width>
<height>23</height>
</rect>
</property>
<property name="windowTitle">
<string>Form</string>
</property>
<layout class="QGridLayout" name="gridLayout">
<property name="topMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<property name="spacing">
<number>0</number>
</property>
<item row="0" column="0">
<widget class="QCheckBox" name="cb_Box">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string/>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
</item>
<item row="0" column="2">
<widget class="QLabel" name="lb_Wert">
<property name="text">
<string>0</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QLabel" name="lb_Name">
<property name="text">
<string>TextLabel</string>
</property>
</widget>
</item>
</layout>
</widget>
<resources/>
<connections/>
</ui>
/QMK-Groundstation/trunk/QMK-Scope/QMK-Scope.pro
2,10 → 2,18
# Project created by QtCreator 2009-07-20T20:04:00
# -------------------------------------------------
include(../Global/Widget_Connection.pri)
 
# For Mac OS X, please define $QWT_HOME in your environment as path to QWT
 
QT += network
TARGET = QMK-Scope
TEMPLATE = app
win32 {
 
TRANSLATIONS = $${TARGET}_en.ts \
$${TARGET}_de.ts \
$${TARGET}_fr.ts
 
win32 {
include( C:\Qt\qwt-5.2.0\examples\examples.pri )
QWT_ROOT = c:\qt\qwt-5.2.0
include( $${QWT_ROOT}\qwtconfig.pri )
25,38 → 33,57
win32-g++:LIBS += -L$${QWT_ROOT}/lib \
-l$${QWTLIB}
}
 
DESTDIR = ../Binary
OBJECTS_DIR = ../Binary/.build/QMK-Scope
UI_DIR = ../Binary/.build/QMK-Scope
MOC_DIR = ../Binary/.build/QMK-Scope
RCC_DIR = ../Binary/.build/QMK-Scope
debug {
DEFINES += _BETA_
LIBS += -lqwt
INCLUDEPATH += $(HOME)/include \
/usr/include/qwt
OBJECTS_DIR = ../Binary/.build/$${TARGET}
UI_DIR = ../Binary/.build/$${TARGET}
MOC_DIR = ../Binary/.build/$${TARGET}
RCC_DIR = ../Binary/.build/$${TARGET}
 
 
# Mac specific stuff
macx:{
# LIBS += /System/Library/Frameworks/CoreFoundation.framework/CoreFoundation
ICON = ../Global/Images/Icons/$${TARGET}.icns
QMAKE_POST_LINK = cp ../$${TARGET}/*.qm ../Binary/$${TARGET}.app/Contents/MacOS/.
}
 
# And other
!macx:{
QMAKE_POST_LINK = cp ../$${TARGET}/*.qm ../Binary/.
}
 
Suse {
LIBS += -lqwt
INCLUDEPATH += $(HOME)/include \
/usr/include/qwt
}
 
Debian {
LIBS += -lqwt-qt4
INCLUDEPATH += $(HOME)/include \
/usr/include/qwt-qt4
}
 
Gentoo {
LIBS += -lqwt
INCLUDEPATH += $(HOME)/include \
/usr/include/qwt5
}
 
OSX {
LIBS += -L/opt/local/lib \
-lqwt
INCLUDEPATH += /opt/local/include
LIBS += -L$(QWT_HOME)/lib -lqwt
INCLUDEPATH += $(QWT_HOME)/include
}
RESOURCES += QMK-Scope.qrc
 
#debug {
# DEFINES += _BETA_
# LIBS += -lqwt
# INCLUDEPATH += $(HOME)/include \
# /usr/include/qwt
#}
 
RESOURCES += $${TARGET}.qrc
SOURCES += main.cpp \
Dialogs/dlg_Main.cpp \
Classes/cSettings.cpp \
/QMK-Groundstation/trunk/QMK-Scope/QMK-Scope.pro.user
0,0 → 1,117
<!DOCTYPE QtCreatorProject>
<qtcreator>
<data>
<variable>ProjectExplorer.Project.ActiveTarget</variable>
<value type="int">0</value>
</data>
<data>
<variable>ProjectExplorer.Project.EditorSettings</variable>
<valuemap type="QVariantMap">
<value key="EditorConfiguration.Codec" type="QByteArray">System</value>
</valuemap>
</data>
<data>
<variable>ProjectExplorer.Project.Target.0</variable>
<valuemap type="QVariantMap">
<value key="ProjectExplorer.ProjectConfiguration.DisplayName" type="QString">Desktop</value>
<value key="ProjectExplorer.ProjectConfiguration.Id" type="QString">Qt4ProjectManager.Target.DesktopTarget</value>
<value key="ProjectExplorer.Target.ActiveBuildConfiguration" type="int">0</value>
<value key="ProjectExplorer.Target.ActiveRunConfiguration" type="int">0</value>
<valuemap key="ProjectExplorer.Target.BuildConfiguration.0" type="QVariantMap">
<valuemap key="ProjectExplorer.BuildConfiguration.BuildStep.0" type="QVariantMap">
<value key="ProjectExplorer.ProjectConfiguration.DisplayName" type="QString">qmake</value>
<value key="ProjectExplorer.ProjectConfiguration.Id" type="QString">QtProjectManager.QMakeBuildStep</value>
<valuelist key="QtProjectManager.QMakeBuildStep.QMakeArguments" type="QVariantList">
<value type="QString">CONFIG+=OSX</value>
</valuelist>
</valuemap>
<valuemap key="ProjectExplorer.BuildConfiguration.BuildStep.1" type="QVariantMap">
<value key="ProjectExplorer.ProjectConfiguration.DisplayName" type="QString">Make</value>
<value key="ProjectExplorer.ProjectConfiguration.Id" type="QString">Qt4ProjectManager.MakeStep</value>
<value key="Qt4ProjectManager.MakeStep.Clean" type="bool">false</value>
<valuelist key="Qt4ProjectManager.MakeStep.MakeArguments" type="QVariantList"/>
<value key="Qt4ProjectManager.MakeStep.MakeCommand" type="QString"></value>
</valuemap>
<value key="ProjectExplorer.BuildConfiguration.BuildStepsCount" type="int">2</value>
<valuemap key="ProjectExplorer.BuildConfiguration.CleanStep.0" type="QVariantMap">
<value key="ProjectExplorer.ProjectConfiguration.DisplayName" type="QString">Make</value>
<value key="ProjectExplorer.ProjectConfiguration.Id" type="QString">Qt4ProjectManager.MakeStep</value>
<value key="Qt4ProjectManager.MakeStep.Clean" type="bool">true</value>
<valuelist key="Qt4ProjectManager.MakeStep.MakeArguments" type="QVariantList">
<value type="QString">clean</value>
</valuelist>
<value key="Qt4ProjectManager.MakeStep.MakeCommand" type="QString"></value>
</valuemap>
<value key="ProjectExplorer.BuildConfiguration.CleanStepsCount" type="int">1</value>
<value key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment" type="bool">false</value>
<valuelist key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges" type="QVariantList"/>
<value key="ProjectExplorer.ProjectConfiguration.DisplayName" type="QString">Debug</value>
<value key="ProjectExplorer.ProjectConfiguration.Id" type="QString">Qt4ProjectManager.Qt4BuildConfiguration</value>
<value key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration" type="int">2</value>
<value key="Qt4ProjectManager.Qt4BuildConfiguration.BuildDirectory" type="QString">/Users/erik/Development/Erik/Mikrokopter/QMK-Tools-Trunk/QMK-Scope</value>
<value key="Qt4ProjectManager.Qt4BuildConfiguration.QtVersionId" type="int">2</value>
<value key="Qt4ProjectManager.Qt4BuildConfiguration.ToolChain" type="int">0</value>
<value key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild" type="bool">false</value>
</valuemap>
<valuemap key="ProjectExplorer.Target.BuildConfiguration.1" type="QVariantMap">
<valuemap key="ProjectExplorer.BuildConfiguration.BuildStep.0" type="QVariantMap">
<value key="ProjectExplorer.ProjectConfiguration.DisplayName" type="QString">qmake</value>
<value key="ProjectExplorer.ProjectConfiguration.Id" type="QString">QtProjectManager.QMakeBuildStep</value>
<valuelist key="QtProjectManager.QMakeBuildStep.QMakeArguments" type="QVariantList">
<value type="QString">CONFIG+=OSX</value>
</valuelist>
</valuemap>
<valuemap key="ProjectExplorer.BuildConfiguration.BuildStep.1" type="QVariantMap">
<value key="ProjectExplorer.ProjectConfiguration.DisplayName" type="QString">Make</value>
<value key="ProjectExplorer.ProjectConfiguration.Id" type="QString">Qt4ProjectManager.MakeStep</value>
<value key="Qt4ProjectManager.MakeStep.Clean" type="bool">false</value>
<valuelist key="Qt4ProjectManager.MakeStep.MakeArguments" type="QVariantList"/>
<value key="Qt4ProjectManager.MakeStep.MakeCommand" type="QString"></value>
</valuemap>
<value key="ProjectExplorer.BuildConfiguration.BuildStepsCount" type="int">2</value>
<valuemap key="ProjectExplorer.BuildConfiguration.CleanStep.0" type="QVariantMap">
<value key="ProjectExplorer.ProjectConfiguration.DisplayName" type="QString">Make</value>
<value key="ProjectExplorer.ProjectConfiguration.Id" type="QString">Qt4ProjectManager.MakeStep</value>
<value key="Qt4ProjectManager.MakeStep.Clean" type="bool">true</value>
<valuelist key="Qt4ProjectManager.MakeStep.MakeArguments" type="QVariantList">
<value type="QString">clean</value>
</valuelist>
<value key="Qt4ProjectManager.MakeStep.MakeCommand" type="QString"></value>
</valuemap>
<value key="ProjectExplorer.BuildConfiguration.CleanStepsCount" type="int">1</value>
<value key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment" type="bool">false</value>
<valuelist key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges" type="QVariantList"/>
<value key="ProjectExplorer.ProjectConfiguration.DisplayName" type="QString">Release</value>
<value key="ProjectExplorer.ProjectConfiguration.Id" type="QString">Qt4ProjectManager.Qt4BuildConfiguration</value>
<value key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration" type="int">0</value>
<value key="Qt4ProjectManager.Qt4BuildConfiguration.BuildDirectory" type="QString">/Users/erik/Development/Erik/Mikrokopter/QMK-Tools-Trunk/QMK-Scope</value>
<value key="Qt4ProjectManager.Qt4BuildConfiguration.QtVersionId" type="int">2</value>
<value key="Qt4ProjectManager.Qt4BuildConfiguration.ToolChain" type="int">0</value>
<value key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild" type="bool">false</value>
</valuemap>
<value key="ProjectExplorer.Target.BuildConfigurationCount" type="int">2</value>
<valuemap key="ProjectExplorer.Target.RunConfiguration.0" type="QVariantMap">
<value key="ProjectExplorer.ProjectConfiguration.DisplayName" type="QString">QMK-Scope</value>
<value key="ProjectExplorer.ProjectConfiguration.Id" type="QString">Qt4ProjectManager.Qt4RunConfiguration</value>
<value key="Qt4ProjectManager.Qt4RunConfiguration.BaseEnvironmentBase" type="int">2</value>
<valuelist key="Qt4ProjectManager.Qt4RunConfiguration.CommandLineArguments" type="QVariantList"/>
<value key="Qt4ProjectManager.Qt4RunConfiguration.ProFile" type="QString">QMK-Scope.pro</value>
<value key="Qt4ProjectManager.Qt4RunConfiguration.UseDyldImageSuffix" type="bool">false</value>
<value key="Qt4ProjectManager.Qt4RunConfiguration.UseTerminal" type="bool">false</value>
<valuelist key="Qt4ProjectManager.Qt4RunConfiguration.UserEnvironmentChanges" type="QVariantList"/>
<value key="Qt4ProjectManager.Qt4RunConfiguration.UserSetName" type="bool">false</value>
<value key="Qt4ProjectManager.Qt4RunConfiguration.UserSetWorkingDirectory" type="bool">false</value>
<value key="Qt4ProjectManager.Qt4RunConfiguration.UserWorkingDirectory" type="QString"></value>
</valuemap>
<value key="ProjectExplorer.Target.RunConfigurationCount" type="int">1</value>
</valuemap>
</data>
<data>
<variable>ProjectExplorer.Project.TargetCount</variable>
<value type="int">1</value>
</data>
<data>
<variable>ProjectExplorer.Project.Updater.FileVersion</variable>
<value type="int">4</value>
</data>
</qtcreator>
/QMK-Groundstation/trunk/QMK-Scope/QMK-Scope_de.ts
0,0 → 1,213
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.0" language="de_DE">
<context>
<name>ManageSerialPort</name>
<message>
<location filename="../Global/Class_SerialPort/ManageSerialPort.cpp" line="234"/>
<location filename="../Global/Class_SerialPort/ManageSerialPort.cpp" line="278"/>
<source>None</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../Global/Class_SerialPort/ManageSerialPort.cpp" line="236"/>
<source>Odd</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../Global/Class_SerialPort/ManageSerialPort.cpp" line="238"/>
<source>Even</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../Global/Class_SerialPort/ManageSerialPort.cpp" line="240"/>
<source>Mark</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../Global/Class_SerialPort/ManageSerialPort.cpp" line="242"/>
<source>Space</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../Global/Class_SerialPort/ManageSerialPort.cpp" line="280"/>
<source>Hardware</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../Global/Class_SerialPort/ManageSerialPort.cpp" line="282"/>
<source>Xon/Xoff</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>dlg_Main</name>
<message utf8="true">
<location filename="Dialogs/dlg_Main.cpp" line="86"/>
<source>Über &amp;Qt</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="Dialogs/dlg_Main.cpp" line="188"/>
<source>Trennen</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="Dialogs/dlg_Main.cpp" line="193"/>
<source>Verbinden</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="Dialogs/dlg_Main.cpp" line="266"/>
<source>Plotter stoppen</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="Dialogs/dlg_Main.cpp" line="270"/>
<source>Plotter starten</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>dlg_Main_UI</name>
<message>
<location filename="Dialogs/dlg_Main.ui" line="14"/>
<source>QMK-Scope</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="Dialogs/dlg_Main.ui" line="49"/>
<source>Plotter starten</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="Dialogs/dlg_Main.ui" line="178"/>
<source>Programm</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="Dialogs/dlg_Main.ui" line="185"/>
<source>Einstellungen</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="Dialogs/dlg_Main.ui" line="191"/>
<source>Hilfe</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="Dialogs/dlg_Main.ui" line="205"/>
<source>Beenden</source>
<translation type="unfinished"></translation>
</message>
<message utf8="true">
<location filename="Dialogs/dlg_Main.ui" line="214"/>
<source>Über QMK-Scope</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="Dialogs/dlg_Main.ui" line="230"/>
<source>Verbinden</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="Dialogs/dlg_Main.ui" line="235"/>
<source>Analoglabels auslesen</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>wgt_Connection</name>
<message utf8="true">
<location filename="../Global/Widget_Connection/wgt_Connection.cpp" line="344"/>
<source>Authentifizierung fehlgeschlagen. &lt;br /&gt;Daten senden zum Mikrokopter nicht möglich.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../Global/Widget_Connection/wgt_Connection.cpp" line="515"/>
<source>QMK-Datenserver: Verbindung wurde vom Server beendet.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../Global/Widget_Connection/wgt_Connection.cpp" line="521"/>
<source>QMK-Datenserver: Kann nicht zum Server verbinden.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../Global/Widget_Connection/wgt_Connection.cpp" line="527"/>
<source>QMK-Datenserver: Loginname oder Password falsch.</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>wgt_Connection_ui</name>
<message>
<location filename="../Global/Widget_Connection/wgt_Connection.ui" line="14"/>
<source>Form</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../Global/Widget_Connection/wgt_Connection.ui" line="38"/>
<source>Verbinden</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../Global/Widget_Connection/wgt_Connection.ui" line="59"/>
<source>Server:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../Global/Widget_Connection/wgt_Connection.ui" line="76"/>
<source>127.0.0.1:64400</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../Global/Widget_Connection/wgt_Connection.ui" line="84"/>
<source>Password:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../Global/Widget_Connection/wgt_Connection.ui" line="123"/>
<source>FC</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../Global/Widget_Connection/wgt_Connection.ui" line="130"/>
<source>NC</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../Global/Widget_Connection/wgt_Connection.ui" line="137"/>
<source>MK3MAG</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../Global/Widget_Connection/wgt_Connection.ui" line="157"/>
<source>Intervall:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../Global/Widget_Connection/wgt_Connection.ui" line="170"/>
<source> ms</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>wgt_Index_ui</name>
<message>
<location filename="Dialogs/wgt_Index.ui" line="14"/>
<source>Form</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="Dialogs/wgt_Index.ui" line="45"/>
<source>0</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="Dialogs/wgt_Index.ui" line="55"/>
<source>TextLabel</source>
<translation type="unfinished"></translation>
</message>
</context>
</TS>
/QMK-Groundstation/trunk/QMK-Scope/QMK-Scope_en.qm
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/QMK-Groundstation/trunk/QMK-Scope/QMK-Scope_en.ts
0,0 → 1,213
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.0" language="en_US">
<context>
<name>ManageSerialPort</name>
<message>
<location filename="../Global/Class_SerialPort/ManageSerialPort.cpp" line="234"/>
<location filename="../Global/Class_SerialPort/ManageSerialPort.cpp" line="278"/>
<source>None</source>
<translation></translation>
</message>
<message>
<location filename="../Global/Class_SerialPort/ManageSerialPort.cpp" line="236"/>
<source>Odd</source>
<translation></translation>
</message>
<message>
<location filename="../Global/Class_SerialPort/ManageSerialPort.cpp" line="238"/>
<source>Even</source>
<translation></translation>
</message>
<message>
<location filename="../Global/Class_SerialPort/ManageSerialPort.cpp" line="240"/>
<source>Mark</source>
<translation></translation>
</message>
<message>
<location filename="../Global/Class_SerialPort/ManageSerialPort.cpp" line="242"/>
<source>Space</source>
<translation></translation>
</message>
<message>
<location filename="../Global/Class_SerialPort/ManageSerialPort.cpp" line="280"/>
<source>Hardware</source>
<translation></translation>
</message>
<message>
<location filename="../Global/Class_SerialPort/ManageSerialPort.cpp" line="282"/>
<source>Xon/Xoff</source>
<translation></translation>
</message>
</context>
<context>
<name>dlg_Main</name>
<message utf8="true">
<location filename="Dialogs/dlg_Main.cpp" line="86"/>
<source>Über &amp;Qt</source>
<translation>About &amp;Qt</translation>
</message>
<message>
<location filename="Dialogs/dlg_Main.cpp" line="188"/>
<source>Trennen</source>
<translation>Disconnect</translation>
</message>
<message>
<location filename="Dialogs/dlg_Main.cpp" line="193"/>
<source>Verbinden</source>
<translation>Connect</translation>
</message>
<message>
<location filename="Dialogs/dlg_Main.cpp" line="266"/>
<source>Plotter stoppen</source>
<translation>Stop plotter</translation>
</message>
<message>
<location filename="Dialogs/dlg_Main.cpp" line="270"/>
<source>Plotter starten</source>
<translation>Start plotter</translation>
</message>
</context>
<context>
<name>dlg_Main_UI</name>
<message>
<location filename="Dialogs/dlg_Main.ui" line="14"/>
<source>QMK-Scope</source>
<translation></translation>
</message>
<message>
<location filename="Dialogs/dlg_Main.ui" line="49"/>
<source>Plotter starten</source>
<translation>Start Plotter</translation>
</message>
<message>
<location filename="Dialogs/dlg_Main.ui" line="178"/>
<source>Programm</source>
<translation>Program</translation>
</message>
<message>
<location filename="Dialogs/dlg_Main.ui" line="185"/>
<source>Einstellungen</source>
<translation>Settings</translation>
</message>
<message>
<location filename="Dialogs/dlg_Main.ui" line="191"/>
<source>Hilfe</source>
<translation>Help</translation>
</message>
<message>
<location filename="Dialogs/dlg_Main.ui" line="205"/>
<source>Beenden</source>
<translation>Quit</translation>
</message>
<message utf8="true">
<location filename="Dialogs/dlg_Main.ui" line="214"/>
<source>Über QMK-Scope</source>
<translation>About QMK-Scope</translation>
</message>
<message>
<location filename="Dialogs/dlg_Main.ui" line="230"/>
<source>Verbinden</source>
<translation>Connect</translation>
</message>
<message>
<location filename="Dialogs/dlg_Main.ui" line="235"/>
<source>Analoglabels auslesen</source>
<translation>Read analogue labels</translation>
</message>
</context>
<context>
<name>wgt_Connection</name>
<message utf8="true">
<location filename="../Global/Widget_Connection/wgt_Connection.cpp" line="344"/>
<source>Authentifizierung fehlgeschlagen. &lt;br /&gt;Daten senden zum Mikrokopter nicht möglich.</source>
<translation>Authentication failed. &lt;br/&gt; Unable to send data to Mikrokopter.</translation>
</message>
<message>
<location filename="../Global/Widget_Connection/wgt_Connection.cpp" line="515"/>
<source>QMK-Datenserver: Verbindung wurde vom Server beendet.</source>
<translation>QMK-Dataserver: Connection terminated by server.</translation>
</message>
<message>
<location filename="../Global/Widget_Connection/wgt_Connection.cpp" line="521"/>
<source>QMK-Datenserver: Kann nicht zum Server verbinden.</source>
<translation>QMK-Dataserver: Could not connect to server.</translation>
</message>
<message>
<location filename="../Global/Widget_Connection/wgt_Connection.cpp" line="527"/>
<source>QMK-Datenserver: Loginname oder Password falsch.</source>
<translation>QMK-Dataserver: Wrong login or password.</translation>
</message>
</context>
<context>
<name>wgt_Connection_ui</name>
<message>
<location filename="../Global/Widget_Connection/wgt_Connection.ui" line="14"/>
<source>Form</source>
<translation></translation>
</message>
<message>
<location filename="../Global/Widget_Connection/wgt_Connection.ui" line="38"/>
<source>Verbinden</source>
<translation>Connect</translation>
</message>
<message>
<location filename="../Global/Widget_Connection/wgt_Connection.ui" line="59"/>
<source>Server:</source>
<translation></translation>
</message>
<message>
<location filename="../Global/Widget_Connection/wgt_Connection.ui" line="76"/>
<source>127.0.0.1:64400</source>
<translation></translation>
</message>
<message>
<location filename="../Global/Widget_Connection/wgt_Connection.ui" line="84"/>
<source>Password:</source>
<translation></translation>
</message>
<message>
<location filename="../Global/Widget_Connection/wgt_Connection.ui" line="123"/>
<source>FC</source>
<translation></translation>
</message>
<message>
<location filename="../Global/Widget_Connection/wgt_Connection.ui" line="130"/>
<source>NC</source>
<translation></translation>
</message>
<message>
<location filename="../Global/Widget_Connection/wgt_Connection.ui" line="137"/>
<source>MK3MAG</source>
<translation></translation>
</message>
<message>
<location filename="../Global/Widget_Connection/wgt_Connection.ui" line="157"/>
<source>Intervall:</source>
<translation>Interval:</translation>
</message>
<message>
<location filename="../Global/Widget_Connection/wgt_Connection.ui" line="170"/>
<source> ms</source>
<translation></translation>
</message>
</context>
<context>
<name>wgt_Index_ui</name>
<message>
<location filename="Dialogs/wgt_Index.ui" line="14"/>
<source>Form</source>
<translation></translation>
</message>
<message>
<location filename="Dialogs/wgt_Index.ui" line="45"/>
<source>0</source>
<translation></translation>
</message>
<message>
<location filename="Dialogs/wgt_Index.ui" line="55"/>
<source>TextLabel</source>
<translation></translation>
</message>
</context>
</TS>
/QMK-Groundstation/trunk/QMK-Scope/QMK-Scope_fr.qm
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:executable
+*
\ No newline at end of property
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/QMK-Groundstation/trunk/QMK-Scope/QMK-Scope_fr.ts
0,0 → 1,214
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.0" language="fr_FR">
<context>
<name>ManageSerialPort</name>
<message>
<location filename="../Global/Class_SerialPort/ManageSerialPort.cpp" line="234"/>
<location filename="../Global/Class_SerialPort/ManageSerialPort.cpp" line="278"/>
<source>None</source>
<translation type="unfinished">Aucun</translation>
</message>
<message>
<location filename="../Global/Class_SerialPort/ManageSerialPort.cpp" line="236"/>
<source>Odd</source>
<translation type="unfinished">Impair</translation>
</message>
<message>
<location filename="../Global/Class_SerialPort/ManageSerialPort.cpp" line="238"/>
<source>Even</source>
<translation type="unfinished">Even</translation>
</message>
<message>
<location filename="../Global/Class_SerialPort/ManageSerialPort.cpp" line="240"/>
<source>Mark</source>
<translation type="unfinished">Mark</translation>
</message>
<message>
<location filename="../Global/Class_SerialPort/ManageSerialPort.cpp" line="242"/>
<source>Space</source>
<translation type="unfinished">Space</translation>
</message>
<message>
<location filename="../Global/Class_SerialPort/ManageSerialPort.cpp" line="280"/>
<source>Hardware</source>
<translation type="unfinished">Hardware</translation>
</message>
<message>
<location filename="../Global/Class_SerialPort/ManageSerialPort.cpp" line="282"/>
<source>Xon/Xoff</source>
<translation type="unfinished">Xon/Xoff</translation>
</message>
</context>
<context>
<name>dlg_Main</name>
<message utf8="true">
<location filename="Dialogs/dlg_Main.cpp" line="86"/>
<source>Über &amp;Qt</source>
<translation type="unfinished">A propos de &amp;Qt</translation>
</message>
<message>
<location filename="Dialogs/dlg_Main.cpp" line="188"/>
<source>Trennen</source>
<translation type="unfinished">Deconnexion</translation>
</message>
<message>
<location filename="Dialogs/dlg_Main.cpp" line="193"/>
<source>Verbinden</source>
<translation type="unfinished">Connexion</translation>
</message>
<message>
<location filename="Dialogs/dlg_Main.cpp" line="266"/>
<source>Plotter stoppen</source>
<translation type="unfinished">Arret Scope</translation>
</message>
<message>
<location filename="Dialogs/dlg_Main.cpp" line="270"/>
<source>Plotter starten</source>
<translation type="unfinished">Démarrer Scope</translation>
</message>
</context>
<context>
<name>dlg_Main_UI</name>
<message>
<location filename="Dialogs/dlg_Main.ui" line="14"/>
<source>QMK-Scope</source>
<translation type="unfinished">QMK-Scope</translation>
</message>
<message>
<location filename="Dialogs/dlg_Main.ui" line="49"/>
<source>Plotter starten</source>
<translation type="unfinished">Démarrer Scope</translation>
</message>
<message>
<location filename="Dialogs/dlg_Main.ui" line="178"/>
<source>Programm</source>
<translation type="unfinished">Programme</translation>
</message>
<message>
<location filename="Dialogs/dlg_Main.ui" line="185"/>
<source>Einstellungen</source>
<translation type="unfinished">Paramètres</translation>
</message>
<message>
<location filename="Dialogs/dlg_Main.ui" line="191"/>
<source>Hilfe</source>
<translation type="unfinished">Aide</translation>
</message>
<message>
<location filename="Dialogs/dlg_Main.ui" line="205"/>
<source>Beenden</source>
<translation type="unfinished">Quitter</translation>
</message>
<message utf8="true">
<location filename="Dialogs/dlg_Main.ui" line="214"/>
<source>Über QMK-Scope</source>
<translation type="unfinished">A propos de QMK-Scope</translation>
</message>
<message>
<location filename="Dialogs/dlg_Main.ui" line="230"/>
<source>Verbinden</source>
<translation type="unfinished">Deconnexion</translation>
</message>
<message>
<location filename="Dialogs/dlg_Main.ui" line="235"/>
<source>Analoglabels auslesen</source>
<translation type="unfinished">Afficher paramètres</translation>
</message>
</context>
<context>
<name>wgt_Connection</name>
<message utf8="true">
<location filename="../Global/Widget_Connection/wgt_Connection.cpp" line="344"/>
<source>Authentifizierung fehlgeschlagen. &lt;br /&gt;Daten senden zum Mikrokopter nicht möglich.</source>
<translatorcomment>L&apos;authentification a échoué. &lt;br /&gt;Impossible d&apos;envoyer des données au Mikrokopter.</translatorcomment>
<translation type="unfinished">L&apos;authentification a échoué. &lt;br /&gt; Impossible d&apos;envoyer des données au Mikrokopter</translation>
</message>
<message>
<location filename="../Global/Widget_Connection/wgt_Connection.cpp" line="515"/>
<source>QMK-Datenserver: Verbindung wurde vom Server beendet.</source>
<translation type="unfinished">Serveur QMK: La connexion a été fermée par le serveur.</translation>
</message>
<message>
<location filename="../Global/Widget_Connection/wgt_Connection.cpp" line="521"/>
<source>QMK-Datenserver: Kann nicht zum Server verbinden.</source>
<translation type="unfinished">QMK serveur: Impossible de se connecter au serveur.</translation>
</message>
<message>
<location filename="../Global/Widget_Connection/wgt_Connection.cpp" line="527"/>
<source>QMK-Datenserver: Loginname oder Password falsch.</source>
<translation type="unfinished">QMK Serveur: Nom d&apos;utilisateur ou mot de passe incorrect.</translation>
</message>
</context>
<context>
<name>wgt_Connection_ui</name>
<message>
<location filename="../Global/Widget_Connection/wgt_Connection.ui" line="14"/>
<source>Form</source>
<translation type="unfinished">Form</translation>
</message>
<message>
<location filename="../Global/Widget_Connection/wgt_Connection.ui" line="38"/>
<source>Verbinden</source>
<translation type="unfinished">Connexion</translation>
</message>
<message>
<location filename="../Global/Widget_Connection/wgt_Connection.ui" line="59"/>
<source>Server:</source>
<translation type="unfinished">Serveur:</translation>
</message>
<message>
<location filename="../Global/Widget_Connection/wgt_Connection.ui" line="76"/>
<source>127.0.0.1:64400</source>
<translation type="unfinished">127.0.0.1:64400</translation>
</message>
<message>
<location filename="../Global/Widget_Connection/wgt_Connection.ui" line="84"/>
<source>Password:</source>
<translation type="unfinished">Password:</translation>
</message>
<message>
<location filename="../Global/Widget_Connection/wgt_Connection.ui" line="123"/>
<source>FC</source>
<translation type="unfinished">FC</translation>
</message>
<message>
<location filename="../Global/Widget_Connection/wgt_Connection.ui" line="130"/>
<source>NC</source>
<translation type="unfinished">NC</translation>
</message>
<message>
<location filename="../Global/Widget_Connection/wgt_Connection.ui" line="137"/>
<source>MK3MAG</source>
<translation type="unfinished">MK3MAG</translation>
</message>
<message>
<location filename="../Global/Widget_Connection/wgt_Connection.ui" line="157"/>
<source>Intervall:</source>
<translation type="unfinished">Intervalle:</translation>
</message>
<message>
<location filename="../Global/Widget_Connection/wgt_Connection.ui" line="170"/>
<source> ms</source>
<translation type="unfinished"> ms</translation>
</message>
</context>
<context>
<name>wgt_Index_ui</name>
<message>
<location filename="Dialogs/wgt_Index.ui" line="14"/>
<source>Form</source>
<translation type="unfinished">Form</translation>
</message>
<message>
<location filename="Dialogs/wgt_Index.ui" line="45"/>
<source>0</source>
<translation type="unfinished">0</translation>
</message>
<message>
<location filename="Dialogs/wgt_Index.ui" line="55"/>
<source>TextLabel</source>
<translation type="unfinished">TextLabel</translation>
</message>
</context>
</TS>
Property changes:
Added: svn:executable
+*
\ No newline at end of property
/QMK-Groundstation/trunk/QMK-Scope/main.cpp
18,6 → 18,9
***************************************************************************/
 
#include <QtGui/QApplication>
#include <QTranslator>
#include <QDir>
 
#include "Dialogs/dlg_Main.h"
 
int main(int argc, char *argv[])
24,13 → 27,25
{
QApplication App(argc, argv);
 
QString locale = QLocale::system().name();
qDebug() << "QMK-Scope_" << locale;
 
// Enable translation service
QTranslator translator;
 
QDir dir(argv[0]);
QString appPath = dir.canonicalPath().toAscii().append("_");
 
if (!translator.load(QString(appPath).append(locale))) {
qDebug() << "Error loading translation file: " << appPath << locale;
}
 
App.installTranslator(&translator);
dlg_Main *MainApp = new dlg_Main();
 
MainApp->show();
 
int iReturn = App.exec();
 
delete MainApp;
 
return iReturn;
}