Skip to content

Commit

Permalink
Added documentation, removed designer plugin, added designer files
Browse files Browse the repository at this point in the history
general restructuring of the project
  • Loading branch information
machinekoder committed Apr 30, 2014
1 parent 4d1c5cb commit 6999d25
Show file tree
Hide file tree
Showing 253 changed files with 9,263 additions and 1,366 deletions.
36 changes: 35 additions & 1 deletion QtQuickVcp.pro
Original file line number Diff line number Diff line change
@@ -1,5 +1,39 @@
# QtQuickVcp project

defineTest(minQtVersion) {
maj = $$1
min = $$2
patch = $$3
isEqual(QT_MAJOR_VERSION, $$maj) {
isEqual(QT_MINOR_VERSION, $$min) {
isEqual(QT_PATCH_VERSION, $$patch) {
return(true)
}
greaterThan(QT_PATCH_VERSION, $$patch) {
return(true)
}
}
greaterThan(QT_MINOR_VERSION, $$min) {
return(true)
}
}
greaterThan(QT_MAJOR_VERSION, $$maj) {
return(true)
}
return(false)
}

!minQtVersion(5, 2, 0) {
message("Cannot build qbs with Qt version $${QT_VERSION}.")
error("Use at least Qt 5.2.0.")
}

TEMPLATE = subdirs

CONFIG += ordered
SUBDIRS += src applications
SUBDIRS += src applications examples
#!android: SUBDIRS += LedctrlDemo MotorctrlDemo PidctrlDemo

include(qtquickvcp_version.pri)
include(paths.pri)
include(doc/doc.pri)
12 changes: 6 additions & 6 deletions applications/AppDiscover/qml/main.qml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import QtQuick 2.1
import QtQuick.Controls 1.0
import Machinekit.HalRemote 1.0 as HAL
import Machinekit.HalRemote 1.0

ApplicationWindow {
id: mainWindow
Expand Down Expand Up @@ -111,7 +111,7 @@ ApplicationWindow {
PropertyAnimation { duration: 500; properties: "opacity"; easing.type: Easing.InCubic }
}

// Capture the Android Back kay and backspace key
// Capture the Android Back key and backspace key
// on the desktop tp go back in the application
// focus needs to be true to capture key events
focus: true
Expand All @@ -132,15 +132,15 @@ ApplicationWindow {
}
}

HAL.AppConfig {
AppConfig {
id: appConfig

uri: "tcp://192.168.1.18:5590"
timeout: 3000
ready: true
filters: [ HAL.AppConfigFilter { type: HAL.AppConfigItem.QT5_QML },
HAL.AppConfigFilter { type: HAL.AppConfigItem.GLADEVCP } ]
selectedConfig: HAL.AppConfigItem {
filters: [ AppConfigFilter { type: AppConfigItem.QT5_QML },
AppConfigFilter { type: AppConfigItem.GLADEVCP } ]
selectedConfig: AppConfigItem {
id: selectedConfig
}

Expand Down
295 changes: 295 additions & 0 deletions doc/classic.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,295 @@
BODY,H1,H2,H3,H4,H5,H6,P,CENTER,TD,TH,UL,DL,DIV {
font-family: Arial, Geneva, Helvetica, sans-serif;
}
H1 {
text-align: center;
font-size: 160%;
}
H2 {
font-size: 120%;
}
H3 {
font-size: 100%;
}

h3.fn,span.fn
{
background-color: #eee;
border-width: 1px;
border-style: solid;
border-color: #ddd;
font-weight: bold;
padding: 6px 0px 6px 10px;
margin: 42px 0px 0px 0px;
}

hr {
border: 0;
color: #a0a0a0;
background-color: #ccc;
height: 1px;
width: 100%;
text-align: left;
margin: 34px 0px 34px 0px;
}

table.valuelist {
border-width: 1px 1px 1px 1px;
border-style: solid;
border-color: #dddddd;
border-collapse: collapse;
background-color: #f0f0f0;
}

table.indextable {
border-width: 1px 1px 1px 1px;
border-collapse: collapse;
background-color: #f0f0f0;
border-color:#555;
font-size: 110%;
}

table td.largeindex {
border-width: 1px 1px 1px 1px;
border-collapse: collapse;
background-color: #f0f0f0;
border-color:#555;
font-size: 120%;
}

table.valuelist th {
border-width: 1px 1px 1px 2px;
padding: 4px;
border-style: solid;
border-color: #666;
color:white;
background-color:#666;
}

th.titleheader {
border-width: 1px 0px 1px 0px;
padding: 4px;
border-style: solid;
border-color: #444;
color:white;
background-color:#555555;
font-size: 110%;
}

th.largeheader {
border-width: 1px 0px 1px 0px;
padding: 4px;
border-style: solid;
border-color: #444;
color:white;
background-color:#555555;
font-size: 120%;
}

p {

margin-left: 4px;
margin-top: 8px;
margin-bottom: 8px;
}

a:link
{
color: #0046ad;
text-decoration: none
}

a:visited
{
color: #672967;
text-decoration: none
}

a.obsolete
{
color: #661100;
text-decoration: none
}

a.compat
{
color: #661100;
text-decoration: none
}

a.obsolete:visited
{
color: #995500;
text-decoration: none
}

a.compat:visited
{
color: #995500;
text-decoration: none
}

body
{
background: #ffffff;
color: black
}

table.generic, table.annotated
{
border-width: 1px;
border-color:#bbb;
border-style:solid;
border-collapse:collapse;
}

table td.memItemLeft {
width: 180px;
padding: 2px 0px 0px 8px;
margin: 4px;
border-width: 1px;
border-color: #E0E0E0;
border-style: none;
font-size: 100%;
white-space: nowrap
}

table td.memItemRight {
padding: 2px 8px 0px 8px;
margin: 4px;
border-width: 1px;
border-color: #E0E0E0;
border-style: none;
font-size: 100%;
}

table tr.odd {
background: #f0f0f0;
color: black;
}

table tr.even {
background: #e4e4e4;
color: black;
}

table.annotated th {
padding: 3px;
text-align: left
}

table.annotated td {
padding: 3px;
}

table tr pre
{
padding-top: 0px;
padding-bottom: 0px;
padding-left: 0px;
padding-right: 0px;
border: none;
background: none
}

tr.qt-style
{
background: #96E066;
color: black
}

body pre
{
padding: 0.2em;
border: #e7e7e7 1px solid;
background: #f1f1f1;
color: black
}

table tr.qt-code pre
{
padding: 0.2em;
border: #e7e7e7 1px solid;
background: #f1f1f1;
color: black
}

span.preprocessor, span.preprocessor a
{
color: darkblue;
}

span.comment
{
color: darkred;
font-style: italic
}

span.string,span.char
{
color: darkgreen;
}

.title
{
text-align: center
}

.subtitle
{
font-size: 0.8em
}

.small-subtitle
{
font-size: 0.65em
}

.qmlitem {
padding: 0;
}

.qmlname {
white-space: nowrap;
font-weight: bold;
font-size: 125%;
}

.qmltype {
font-weight: bold;
font-size: 125%;
}

.qmlproto, .qmldoc {
// border-top: 1px solid #84b0c7;
}

.qmlproto {
padding: 0;
//background-color: #e4e4e4;//#d5e1e8;
//font-weight: bold;
//-webkit-border-top-left-radius: 8px;
//-webkit-border-top-right-radius: 8px;
//-moz-border-radius-topleft: 8px;
//-moz-border-radius-topright: 8px;
}

.qmldoc {
border-top: 1px solid #e4e4e4;
//padding: 2px 5px;
//background-color: #eef3f5;
//border-top-width: 0;
//-webkit-border-bottom-left-radius: 8px;
//-webkit-border-bottom-right-radius: 8px;
//-moz-border-radius-bottomleft: 8px;
//-moz-border-radius-bottomright: 8px;
}

.qmldoc p, .qmldoc dl, .qmldoc ul {
//margin: 6px 0;
}

*.qmlitem p {
//margin-top: 0px;
//margin-bottom: 0px;
}
Loading

0 comments on commit 6999d25

Please sign in to comment.