corinthia-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@apache.org
Subject [2/2] incubator-corinthia git commit: first set compiles
Date Sat, 15 Aug 2015 20:11:58 GMT
first set compiles


Project: http://git-wip-us.apache.org/repos/asf/incubator-corinthia/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-corinthia/commit/6e55afa3
Tree: http://git-wip-us.apache.org/repos/asf/incubator-corinthia/tree/6e55afa3
Diff: http://git-wip-us.apache.org/repos/asf/incubator-corinthia/diff/6e55afa3

Branch: refs/heads/editorFramework
Commit: 6e55afa377afa56a0651ac946522edb5b7a7dd04
Parents: 0731832
Author: jani <jani@apache.org>
Authored: Sat Aug 15 22:11:35 2015 +0200
Committer: jani <jani@apache.org>
Committed: Sat Aug 15 22:11:35 2015 +0200

----------------------------------------------------------------------
 .../src/Layer1_toolkit/qt/qt_toolkit.cpp        |  2 +
 .../src/Layer1_toolkit/qt/windows.hpp           | 48 ++++++++++++++++++++
 2 files changed, 50 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/6e55afa3/experiments/editorFramework/src/Layer1_toolkit/qt/qt_toolkit.cpp
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/src/Layer1_toolkit/qt/qt_toolkit.cpp b/experiments/editorFramework/src/Layer1_toolkit/qt/qt_toolkit.cpp
index 9b6f991..132ed8f 100644
--- a/experiments/editorFramework/src/Layer1_toolkit/qt/qt_toolkit.cpp
+++ b/experiments/editorFramework/src/Layer1_toolkit/qt/qt_toolkit.cpp
@@ -16,5 +16,7 @@
 // under the License.
 
 #pragma once
+#include <QtWidgets/QApplication>
+#include "windows.hpp"
 #include "qt_toolkit.hpp"
 

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/6e55afa3/experiments/editorFramework/src/Layer1_toolkit/qt/windows.hpp
----------------------------------------------------------------------
diff --git a/experiments/editorFramework/src/Layer1_toolkit/qt/windows.hpp b/experiments/editorFramework/src/Layer1_toolkit/qt/windows.hpp
new file mode 100644
index 0000000..cdf0ee7
--- /dev/null
+++ b/experiments/editorFramework/src/Layer1_toolkit/qt/windows.hpp
@@ -0,0 +1,48 @@
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements.  See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership.  The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License.  You may obtain a copy of the License at
+//
+//   http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing,
+// software distributed under the License is distributed on an
+// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+// KIND, either express or implied.  See the License for the
+// specific language governing permissions and limitations
+// under the License.
+
+#pragma once
+
+/******************** WINDOWS.HPP ********************
+ * This file contain all the graphical classes 
+ * inherited from Qt
+ */
+
+#include <QtWidgets/QWidget>
+
+
+
+class MainWindow : public QWidget
+{
+    Q_OBJECT
+public:
+    MainWindow(QApplication *app);
+    virtual ~MainWindow();
+    public slots:
+    void insertTable();
+    void insertLink();
+    void insertCharacter();
+    void backspace();
+    void moveLeft();
+    void moveRight();
+    void undo();
+    void redo();
+private:
+    QApplication *_app;
+//    Toolbar *_toolbar;
+//    Editor *_editor;
+};


Mime
View raw message