[Pkg-running-devel] [openambit] 45/131: adding missing files for ticket #11
Christian Perrier
bubulle at moszumanska.debian.org
Thu Jul 17 20:19:10 UTC 2014
This is an automated email from the git hooks/post-receive script.
bubulle pushed a commit to branch master
in repository openambit.
commit 64e6f4931ca8aa964a5127fc0780de83b4ef1cb2
Author: Marco Bernasocchi <marco at opengis.ch>
Date: Mon Jan 13 23:07:08 2014 +0100
adding missing files for ticket #11
---
src/openambit/confirmbetadialog.cpp | 22 +++++++++
src/openambit/confirmbetadialog.h | 27 +++++++++++
src/openambit/confirmbetadialog.ui | 96 +++++++++++++++++++++++++++++++++++++
3 files changed, 145 insertions(+)
diff --git a/src/openambit/confirmbetadialog.cpp b/src/openambit/confirmbetadialog.cpp
new file mode 100644
index 0000000..32b00b1
--- /dev/null
+++ b/src/openambit/confirmbetadialog.cpp
@@ -0,0 +1,22 @@
+#include "confirmbetadialog.h"
+#include "ui_confirmbetadialog.h"
+
+ConfirmBetaDialog::ConfirmBetaDialog(QWidget *parent) :
+ QDialog(parent),
+ ui(new Ui::ConfirmBetaDialog)
+{
+ ui->setupUi(this);
+}
+
+ConfirmBetaDialog::~ConfirmBetaDialog()
+{
+ delete ui;
+}
+
+void ConfirmBetaDialog::accept()
+{
+ settings.beginGroup("generalSettings");
+ settings.setValue("skipBetaCheck", ui->skipBetaCheck->isChecked());
+ settings.endGroup();
+ QDialog::accept();
+}
diff --git a/src/openambit/confirmbetadialog.h b/src/openambit/confirmbetadialog.h
new file mode 100644
index 0000000..9a9a2b4
--- /dev/null
+++ b/src/openambit/confirmbetadialog.h
@@ -0,0 +1,27 @@
+#ifndef CONFIRMBETADIALOG_H
+#define CONFIRMBETADIALOG_H
+
+#include <QDialog>
+#include "settings.h"
+
+namespace Ui {
+class ConfirmBetaDialog;
+}
+
+class ConfirmBetaDialog : public QDialog
+{
+ Q_OBJECT
+
+public:
+ explicit ConfirmBetaDialog(QWidget *parent = 0);
+ ~ConfirmBetaDialog();
+
+public slots:
+ void accept();
+
+private:
+ Ui::ConfirmBetaDialog *ui;
+ Settings settings;
+};
+
+#endif // CONFIRMBETADIALOG_H
diff --git a/src/openambit/confirmbetadialog.ui b/src/openambit/confirmbetadialog.ui
new file mode 100644
index 0000000..ba4bf7a
--- /dev/null
+++ b/src/openambit/confirmbetadialog.ui
@@ -0,0 +1,96 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ui version="4.0">
+ <class>ConfirmBetaDialog</class>
+ <widget class="QDialog" name="ConfirmBetaDialog">
+ <property name="geometry">
+ <rect>
+ <x>0</x>
+ <y>0</y>
+ <width>558</width>
+ <height>498</height>
+ </rect>
+ </property>
+ <property name="windowTitle">
+ <string>Dialog</string>
+ </property>
+ <layout class="QGridLayout" name="gridLayout">
+ <item row="2" column="0">
+ <widget class="QDialogButtonBox" name="buttonBox">
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ <property name="standardButtons">
+ <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
+ </property>
+ </widget>
+ </item>
+ <item row="0" column="0">
+ <widget class="QTextEdit" name="textEdit">
+ <property name="html">
+ <string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
+<html><head><meta name="qrichtext" content="1" /><style type="text/css">
+p, li { white-space: pre-wrap; }
+</style></head><body style=" font-family:'Ubuntu'; font-size:11pt; font-weight:400; font-style:normal;">
+<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">EARLY BETA SOFTWARE: <a href="http://en.wikipedia.org/wiki/Here_be_dragons"><span style=" text-decoration: underline; color:#0000ff;">here be dragons</span></a></p>
+<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><br /></p>
+<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">This software is in early beta stage, it might upload invalid logs to movescount that cannot be overwritten, and do other bizarre things.</p>
+<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><br /></p>
+<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#008000;">Openambit</span><span style=" color:#c0c0c0;"> </span><span style=" color:#008000;">is</span><span style=" color:#c0c0c0;"> </span><span style=" color:#008000;">free</span><span style=" color:#c0c0c0;"> [...]
+<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Courier New,courier';"><br /></p>
+<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Courier New,courier'; color:#008000;">This</span><span style=" font-family:'Courier New,courier'; color:#c0c0c0;"> </span><span style=" font-family:'Courier New,courier'; color:#008000;">program</span><span style=" font-family:'Courier New,courier'; color: [...]
+<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><br /></p>
+<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Please use this software at <span style=" text-decoration: underline;">your own</span> risk and only if you understand the risks involved.</p>
+<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><br /></p>
+<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">If you decide to use openambit please consider <a href="https://sourceforge.net/p/openambit/tickets/"><span style=" text-decoration: underline; color:#0000ff;">reporting bugs</span></a> so we can make it better.</p>
+<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><br /></p>
+<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Thanks </p>
+<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Courier New,courier'; color:#008000;"><br /></p>
+<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Courier New,courier'; color:#008000;"><br /></p></body></html></string>
+ </property>
+ </widget>
+ </item>
+ <item row="1" column="0">
+ <widget class="QCheckBox" name="skipBetaCheck">
+ <property name="text">
+ <string>Don't ask me again, I really want to use openambit</string>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </widget>
+ <resources/>
+ <connections>
+ <connection>
+ <sender>buttonBox</sender>
+ <signal>accepted()</signal>
+ <receiver>ConfirmBetaDialog</receiver>
+ <slot>accept()</slot>
+ <hints>
+ <hint type="sourcelabel">
+ <x>248</x>
+ <y>254</y>
+ </hint>
+ <hint type="destinationlabel">
+ <x>157</x>
+ <y>274</y>
+ </hint>
+ </hints>
+ </connection>
+ <connection>
+ <sender>buttonBox</sender>
+ <signal>rejected()</signal>
+ <receiver>ConfirmBetaDialog</receiver>
+ <slot>reject()</slot>
+ <hints>
+ <hint type="sourcelabel">
+ <x>316</x>
+ <y>260</y>
+ </hint>
+ <hint type="destinationlabel">
+ <x>286</x>
+ <y>274</y>
+ </hint>
+ </hints>
+ </connection>
+ </connections>
+</ui>
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-running/openambit.git
More information about the Pkg-running-devel
mailing list