<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Forum Pasja Informatyki - Najnowsze z tagiem qml</title>
<link>https://forum.pasja-informatyki.pl/tag/qml</link>
<description>Powered by Question2Answer</description>
<item>
<title>Doradźcie proszę, jaki następny projekt w Qt Quick</title>
<link>https://forum.pasja-informatyki.pl/577054/doradzcie-prosze-jaki-nastepny-projekt-w-qt-quick</link>
<description>Na początek chciałem się przywitać ze wszystkimi użytkownikami forum.&lt;br /&gt;
&lt;br /&gt;
Jestem na etapie juniora, stworzyłem kilka aplikacji okienkowych (MQL4), konsolowych w C++ a teraz zacząłem działać w Qt Quick (backend C++, frontend QML + integracja).&lt;br /&gt;
&lt;br /&gt;
Jak dotąd w Qt Quick stworzyłem tylko grę &amp;quot;kółko i krzyżyk&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Nie bardzo mam pomysł co stworzyć w następnej kolejności.&lt;br /&gt;
&lt;br /&gt;
Chciałbym żeby to miało wpływ na rozwój.&lt;br /&gt;
&lt;br /&gt;
Aplikacje okienkowe z widgetami wydają się proste, a co do gier nie wiem czy nie za wysoki pułap, choć myślałem o &amp;quot;Tetris&amp;quot;, &amp;quot;Asteroids&amp;quot; itp</description>
<category>C i C++</category>
<guid isPermaLink="true">https://forum.pasja-informatyki.pl/577054/doradzcie-prosze-jaki-nastepny-projekt-w-qt-quick</guid>
<pubDate>Wed, 28 Dec 2022 08:41:49 +0000</pubDate>
</item>
<item>
<title>Znacie jakiś dobry kurs Qt QML?</title>
<link>https://forum.pasja-informatyki.pl/472371/znacie-jakis-dobry-kurs-qt-qml</link>
<description>

&lt;p&gt;Znacie jakiś dobry kurs Qt QML (chodzi o to Qt quick aplication :-) ), ale darmowy? Kurs nie musi być po Polsku, może być po Angielsku ale tylko jeśli jest to kurs w formie video. Jeśli chodzi o kurs tekstowy to po Polsku.&lt;/p&gt;



&lt;p&gt;Z góry dziękuję za wszystiie odpowiedzi &lt;img alt=&quot;smiley&quot; src=&quot;https://forum.pasja-informatyki.pl/qa-plugin/ckeditor4/plugins/smiley/images/regular_smile.png&quot; style=&quot;height:23px; width:23px&quot; title=&quot;smiley&quot;&gt;&lt;/p&gt;</description>
<category>C i C++</category>
<guid isPermaLink="true">https://forum.pasja-informatyki.pl/472371/znacie-jakis-dobry-kurs-qt-qml</guid>
<pubDate>Thu, 20 Feb 2020 19:53:59 +0000</pubDate>
</item>
<item>
<title>Repeater dla wszystkich właściwości obiektu</title>
<link>https://forum.pasja-informatyki.pl/417267/repeater-dla-wszystkich-wlasciwosci-obiektu</link>
<description>

&lt;p&gt;Cześć,&lt;/p&gt;



&lt;p&gt;otóż zastanawiam się nad możliwością takiej konfiguracji obiektu Repeater w QML, który stworzy mi układ dla WSZYSTKICH właściwości modelu &lt;strong&gt;bez wykorzystania JavaScript&lt;/strong&gt;.&lt;/p&gt;



&lt;p&gt;I tak model aktualnie to:&lt;/p&gt;



&lt;pre class=&quot;brush:cpp;&quot;&gt;
#include &amp;lt;QObject&amp;gt;
#include &amp;lt;QString&amp;gt;
class ViewModel : public QObject
{
	Q_OBJECT
	Q_PROPERTY(QString name READ name WRITE setName NOTIFY nameChanged)
	Q_PROPERTY(uint material READ material WRITE setMaterial NOTIFY materialChanged)
	Q_PROPERTY(uint distance READ distance WRITE setDistance NOTIFY distanceChanged)
	Q_PROPERTY(uint tolerance READ tolerance WRITE setTolerance NOTIFY toleranceChanged)
}&lt;/pre&gt;



&lt;p&gt;natomiast w widoku chciałbym uzyskać coś takieg:&lt;/p&gt;



&lt;pre class=&quot;brush:jscript;&quot;&gt;
Repeater {
				
    // To poniżej oczywiscie nie działa...
    model: model.properties
	Label {
		text:  property.name
	}
	SpinBox {
		value:  property.value
	}
}&lt;/pre&gt;



&lt;p&gt;Czy borykał się ktoś juz z podobnym problemem? Ważną rzeczą jest to, aby wartości mogły być wiązane, czyli aby calość pozwalała na modyfikację wartości modelu z widoku.&lt;/p&gt;</description>
<category>C i C++</category>
<guid isPermaLink="true">https://forum.pasja-informatyki.pl/417267/repeater-dla-wszystkich-wlasciwosci-obiektu</guid>
<pubDate>Fri, 01 Mar 2019 11:24:05 +0000</pubDate>
</item>
<item>
<title>Qt, QML przesylanie zmiennych</title>
<link>https://forum.pasja-informatyki.pl/391092/qt-qml-przesylanie-zmiennych</link>
<description>

&lt;p&gt;Witam,&lt;/p&gt;



&lt;p&gt;napisalem prosty skrypt pobierajacy dane ze z GPS na Raspberry Pi. Chcialbym te dane pokazac na mapie uzywajac OpenStreet'a. Tylko mam problem, jezeli chodzi o wyswietlanie danych, bo nie wiem jak je przekazac. Skrypt pobierajacy dane z GPS nie jest w projekcie z Qt, ale mysle, ze to nie bedzie problem, bo wkleje tyllko caly skrypt a pozniej dokleje go do projektu.&lt;/p&gt;



&lt;pre class=&quot;brush:python;&quot;&gt;
import serial
import time

goToInformationOfGPS = serial.Serial(&quot;/dev/ttyUSB0&quot;, baudrate = 9600)#access to the usb0
#filename = &quot;file_&quot; + str(time.asctime()) + '.txt'
filename = &quot;file_&quot; + str(time.strftime(&quot;%a_%d_%b_%Y_%H:%M:%S&quot;)) + '.txt'  
while True:
    #time.sleep(5)
    line = goToInformationOfGPS.readline()
    
    information = line.split(&quot;,&quot;.encode())
                         
    if (information[0] ==&quot;$GPRMC&quot;):
        if (information[2]==&quot;A&quot;):
            try:
                #print (information [3] , information [4])
                #print (information [5] , information [6])
                try:
                    x = float(information [3]) / 100
                    y = float(information [5]) / 100
                finally:
                #print (x)
                #print (y)
                    listax = [str(x),&quot;;&quot;, information [4], '\n']
                    listay = [str(y),&quot;;&quot;, information [6], '\n']
            except ValueError:
                pass
            try:
                #plik = open('dane.txt', 'a')
                plik = open (filename, 'a')
                try:
                    plik.writelines(listax)
                    plik.writelines(listay)
                    plik.flush()
                finally:
                    plik.close()
                    
            except IOError:
                pass

&lt;/pre&gt;



&lt;p&gt;A tu czesc od qml&lt;/p&gt;



&lt;pre class=&quot;brush:xml;&quot;&gt;
import QtQuick 2.9
import QtQuick.Controls 2.2
import QtQuick.Window 2.0
import QtLocation 5.6
import QtPositioning 5.6

Plugin {
    id: mapPlugin
    name: &quot;osm&quot;
    //PluginParameter { name: &quot;osm.useragent&quot;; value: &quot;My great Qt OSM application&quot; }
    //PluginParameter { name: &quot;osm.mapping.host&quot;; value: &quot;http://osm.tile.server.address/&quot; }
    //PluginParameter { name: &quot;osm.mapping.copyright&quot;; value: &quot;All mine&quot; }
    //PluginParameter { name: &quot;osm.routing.host&quot;; value: &quot;http://osrm.server.address/viaroute&quot; }
    //PluginParameter { name: &quot;osm.geocoding.host&quot;; value: &quot;http://geocoding.server.address&quot; }
}

ApplicationWindow {
    id: app_window
    visible: true
    width: 1024
    height: 800
    title: qsTr(&quot;Navigation&quot;)

    Rectangle {
        width: 500
        height: 500
        anchors.horizontalCenter: parent.horizontalCenter
        anchors.verticalCenter: parent.verticalCenter
        Map {
            id: map
            anchors.fill: parent
            plugin: mapPlugin
            center {
                latitude: 59.91//länge
                longitude: 10.75//breite
            }
            zoomLevel: 14
//******************************START POINT******************************//
                MapCircle {
                        center {
                            latitude: 59.91
                            longitude: 10.75
                        }
                        radius: 100.0
                        color: 'green'
                        border.width: 3
                    }
    //******************************FINISH POINT******************************//
                MapCircle {
                        center {
                            latitude: 59.91
                            longitude: 10.75
                        }
                        radius: 100.0
                        color: 'red'
                        border.width: 3
                    }
        }// Map
    } //Rectangle
    PositionSource {
    nmeaSource: &quot;socket://127.0.0.1:12345&quot;
    }


}
&lt;/pre&gt;



&lt;p&gt;&amp;nbsp;Teoretycznie stworzenie zmiennej w QML to nie problem, tylko nie wiem jak moge przeslac zmienna stworzona w pythonie do zmiennej w qml.&lt;/p&gt;



&lt;p&gt;&amp;nbsp;&lt;/p&gt;



&lt;p&gt;Pozdrawiam&amp;nbsp;&lt;/p&gt;



&lt;p&gt;DragonCoder&lt;/p&gt;</description>
<category>C i C++</category>
<guid isPermaLink="true">https://forum.pasja-informatyki.pl/391092/qt-qml-przesylanie-zmiennych</guid>
<pubDate>Mon, 05 Nov 2018 06:05:30 +0000</pubDate>
</item>
<item>
<title>[Tut] Qt Android (QML) - przygotowanie środowiska</title>
<link>https://forum.pasja-informatyki.pl/193554/tut-qt-android-qml-przygotowanie-srodowiska</link>
<description>

&lt;p&gt;Hej,&lt;/p&gt;



&lt;p&gt;Zapraszam do rzucenia okiem na pierwszą część serii poradników poświęconych Qt i Androidowi. W pierwszej części zajmiemy się przygotowaniem środowiska.&lt;/p&gt;



&lt;p&gt;[&lt;a rel=&quot;nofollow&quot; href=&quot;http://szymonsiarkiewicz.pl/poradniki/qt-android/qt-android-qml-przygotowanie-srodowiska/&quot;&gt;Qt Android (QML)&lt;/a&gt;]&lt;/p&gt;



&lt;p&gt;Jeżeli ktoś jest zainteresowany biblioteką Qt, lecz nie Androidem, to zapraszam do odwiedzenia serii poświęconej urządzeniom desktopowym:&lt;/p&gt;



&lt;p&gt;[&lt;a rel=&quot;nofollow&quot; href=&quot;http://szymonsiarkiewicz.pl/poradniki/kurs-qt-wstep-i-spis-tresci/&quot;&gt;Qt (Desktop)&lt;/a&gt;]&lt;/p&gt;



&lt;p&gt;Wszelkie uwagi i komentarze są mile widziane zarówno w tym wątku jak i na blogu, jednak z zastrzeżeniem aby (pytania) dotyczyły wyłącznie ww. wątku, a więc:&amp;nbsp;&lt;em&gt;Qt Android (QML) - przygotowanie środowiska&lt;/em&gt;&lt;/p&gt;</description>
<category>Nasze poradniki</category>
<guid isPermaLink="true">https://forum.pasja-informatyki.pl/193554/tut-qt-android-qml-przygotowanie-srodowiska</guid>
<pubDate>Fri, 04 Nov 2016 12:55:11 +0000</pubDate>
</item>
<item>
<title>QML, kurs, co trzeba znać ?</title>
<link>https://forum.pasja-informatyki.pl/177205/qml-kurs-co-trzeba-znac</link>
<description>Witam,&lt;br /&gt;
&lt;br /&gt;
mam pytanie o QML, czy jest jakaś polska książka/kurs ? czy QML sam w sobie jest na tyle prosty że nie nie ma nic do niego, czy aby napisać coś w QML trzeba znać HTML/JS/Qt &amp;nbsp;? Z góry dziękuję za pomoc : )</description>
<category>C i C++</category>
<guid isPermaLink="true">https://forum.pasja-informatyki.pl/177205/qml-kurs-co-trzeba-znac</guid>
<pubDate>Wed, 07 Sep 2016 19:17:29 +0000</pubDate>
</item>
<item>
<title>Użycie clearRect spoza obiektu Canvas</title>
<link>https://forum.pasja-informatyki.pl/136799/uzycie-clearrect-spoza-obiektu-canvas</link>
<description>

&lt;p&gt;Programuję w Qt aplikację Qt Quick. Program rysuje łuk. Chciałbym, żeby po kliknięciu na mouseArea10 usuwał to, co narysował. Ktoś ma pomysł dlaczego nie działa albo jak to powinno wyglądać? Wstawiam kod w formie tekstu (EDIT wcześniej wkleiłem słabo widoczny zrzut), bo nie ma wyszczególnionego języka QML, a wybierając JavaScript nie działa. Oczywiście sam sygnał onClicked działa, coś jest nie tak z dalszym poleceniem.&lt;/p&gt;



&lt;p&gt;&lt;span style=&quot;color:#808000&quot;&gt;import&lt;/span&gt;&lt;span style=&quot;color:#c0c0c0&quot;&gt; &lt;/span&gt;QtQuick&lt;span style=&quot;color:#c0c0c0&quot;&gt; &lt;/span&gt;2.4&lt;/p&gt;



&lt;pre style=&quot;margin-left:0px; margin-right:0px&quot;&gt;
&lt;span style=&quot;color:#808000&quot;&gt;import&lt;/span&gt;&lt;span style=&quot;color:#c0c0c0&quot;&gt; &lt;/span&gt;QtQuick.Controls&lt;span style=&quot;color:#c0c0c0&quot;&gt; &lt;/span&gt;1.4&lt;/pre&gt;



&lt;pre style=&quot;margin-left:0px; margin-right:0px&quot;&gt;
&lt;span style=&quot;color:#808000&quot;&gt;import&lt;/span&gt;&lt;span style=&quot;color:#c0c0c0&quot;&gt; &lt;/span&gt;QtQuick.Dialogs&lt;span style=&quot;color:#c0c0c0&quot;&gt; &lt;/span&gt;1.2&lt;/pre&gt;



&lt;pre style=&quot;margin-left:0px; margin-right:0px&quot;&gt;
&lt;span style=&quot;color:#808000&quot;&gt;import&lt;/span&gt;&lt;span style=&quot;color:#c0c0c0&quot;&gt; &lt;/span&gt;QtQuick.Extras&lt;span style=&quot;color:#c0c0c0&quot;&gt; &lt;/span&gt;1.4&lt;/pre&gt;



&lt;pre style=&quot;margin-left:0px; margin-right:0px&quot;&gt;
&lt;span style=&quot;color:#808000&quot;&gt;import&lt;/span&gt;&lt;span style=&quot;color:#c0c0c0&quot;&gt; &lt;/span&gt;QtQuick.Controls.Styles&lt;span style=&quot;color:#c0c0c0&quot;&gt; &lt;/span&gt;1.4&lt;/pre&gt;



&lt;pre style=&quot;margin-left:0px; margin-right:0px&quot;&gt;
&lt;span style=&quot;color:#808000&quot;&gt;import&lt;/span&gt;&lt;span style=&quot;color:#c0c0c0&quot;&gt; &lt;/span&gt;QtQuick.Window&lt;span style=&quot;color:#c0c0c0&quot;&gt; &lt;/span&gt;2.2&lt;/pre&gt;



&lt;pre style=&quot;margin-left:0px; margin-right:0px&quot;&gt;
&lt;span style=&quot;color:#808000&quot;&gt;import&lt;/span&gt;&lt;span style=&quot;color:#c0c0c0&quot;&gt; &lt;/span&gt;QtQuick.Layouts&lt;span style=&quot;color:#c0c0c0&quot;&gt; &lt;/span&gt;1.1&lt;/pre&gt;



&lt;pre style=&quot;margin-left:0px; margin-right:0px&quot;&gt;

&amp;nbsp;&lt;/pre&gt;



&lt;pre style=&quot;margin-left:0px; margin-right:0px&quot;&gt;

&amp;nbsp;&lt;/pre&gt;



&lt;pre style=&quot;margin-left:0px; margin-right:0px&quot;&gt;
&lt;span style=&quot;color:#800080&quot;&gt;ApplicationWindow&lt;/span&gt;&lt;span style=&quot;color:#c0c0c0&quot;&gt; &lt;/span&gt;{&lt;/pre&gt;



&lt;pre style=&quot;margin-left:0px; margin-right:0px&quot;&gt;
&lt;span style=&quot;color:#c0c0c0&quot;&gt;    &lt;/span&gt;&lt;span style=&quot;color:#800000&quot;&gt;visible&lt;/span&gt;:&lt;span style=&quot;color:#c0c0c0&quot;&gt; &lt;/span&gt;true&lt;/pre&gt;



&lt;pre style=&quot;margin-left:0px; margin-right:0px&quot;&gt;
&lt;span style=&quot;color:#c0c0c0&quot;&gt;    &lt;/span&gt;&lt;span style=&quot;color:#800000&quot;&gt;width&lt;/span&gt;:&lt;span style=&quot;color:#c0c0c0&quot;&gt; &lt;/span&gt;1050&lt;/pre&gt;



&lt;pre style=&quot;margin-left:0px; margin-right:0px&quot;&gt;
&lt;span style=&quot;color:#c0c0c0&quot;&gt;    &lt;/span&gt;&lt;span style=&quot;color:#800000&quot;&gt;height&lt;/span&gt;:&lt;span style=&quot;color:#c0c0c0&quot;&gt; &lt;/span&gt;700&lt;/pre&gt;



&lt;pre style=&quot;margin-left:0px; margin-right:0px&quot;&gt;
&lt;span style=&quot;color:#c0c0c0&quot;&gt;    &lt;/span&gt;&lt;span style=&quot;color:#800000&quot;&gt;color&lt;/span&gt;:&lt;span style=&quot;color:#c0c0c0&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color:#008000&quot;&gt;&quot;#b09273&quot;&lt;/span&gt;&lt;/pre&gt;



&lt;pre style=&quot;margin-left:0px; margin-right:0px&quot;&gt;
&lt;span style=&quot;color:#c0c0c0&quot;&gt;    &lt;/span&gt;&lt;span style=&quot;color:#800000&quot;&gt;title&lt;/span&gt;:&lt;span style=&quot;color:#c0c0c0&quot;&gt; &lt;/span&gt;&lt;em&gt;qsTr&lt;/em&gt;(&lt;span style=&quot;color:#008000&quot;&gt;&quot;Hello&lt;/span&gt;&lt;span style=&quot;color:#c0c0c0&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color:#008000&quot;&gt;World&quot;&lt;/span&gt;)&lt;/pre&gt;



&lt;pre style=&quot;margin-left:0px; margin-right:0px&quot;&gt;

&amp;nbsp;&lt;/pre&gt;



&lt;pre style=&quot;margin-left:0px; margin-right:0px&quot;&gt;
&lt;span style=&quot;color:#c0c0c0&quot;&gt;    &lt;/span&gt;&lt;span style=&quot;color:#800080&quot;&gt;MainForm&lt;/span&gt;&lt;span style=&quot;color:#c0c0c0&quot;&gt; &lt;/span&gt;{&lt;/pre&gt;



&lt;pre style=&quot;margin-left:0px; margin-right:0px&quot;&gt;
&lt;span style=&quot;color:#c0c0c0&quot;&gt;        &lt;/span&gt;&lt;span style=&quot;color:#800000&quot;&gt;anchors.fill&lt;/span&gt;:&lt;span style=&quot;color:#c0c0c0&quot;&gt; &lt;/span&gt;&lt;em&gt;parent&lt;/em&gt;&lt;/pre&gt;



&lt;pre style=&quot;margin-left:0px; margin-right:0px&quot;&gt;
&lt;span style=&quot;color:#c0c0c0&quot;&gt;        &lt;/span&gt;&lt;span style=&quot;color:#800000&quot;&gt;id&lt;/span&gt;:&lt;span style=&quot;color:#c0c0c0&quot;&gt; &lt;/span&gt;&lt;em&gt;mainform&lt;/em&gt;&lt;/pre&gt;



&lt;pre style=&quot;margin-left:0px; margin-right:0px&quot;&gt;
&lt;span style=&quot;color:#c0c0c0&quot;&gt;        &lt;/span&gt;&lt;span style=&quot;color:#800000&quot;&gt;mouseArea10.onClicked&lt;/span&gt;:&lt;span style=&quot;color:#c0c0c0&quot;&gt; &lt;/span&gt;{&lt;em&gt;mojCanvas&lt;/em&gt;.context.clearRect(0,&lt;span style=&quot;color:#c0c0c0&quot;&gt; &lt;/span&gt;0,&lt;span style=&quot;color:#c0c0c0&quot;&gt; &lt;/span&gt;&lt;em&gt;mojCanvas&lt;/em&gt;.width,&lt;span style=&quot;color:#c0c0c0&quot;&gt; &lt;/span&gt;&lt;em&gt;mojCanvas&lt;/em&gt;.height)}&lt;/pre&gt;



&lt;pre style=&quot;margin-left:0px; margin-right:0px&quot;&gt;
&lt;span style=&quot;color:#c0c0c0&quot;&gt;    &lt;/span&gt;}&lt;/pre&gt;



&lt;pre style=&quot;margin-left:0px; margin-right:0px&quot;&gt;

&amp;nbsp;&lt;/pre&gt;



&lt;pre style=&quot;margin-left:0px; margin-right:0px&quot;&gt;
&lt;span style=&quot;color:#c0c0c0&quot;&gt;    &lt;/span&gt;&lt;span style=&quot;color:#800080&quot;&gt;Canvas&lt;/span&gt;&lt;span style=&quot;color:#c0c0c0&quot;&gt; &lt;/span&gt;{&lt;/pre&gt;



&lt;pre style=&quot;margin-left:0px; margin-right:0px&quot;&gt;
&lt;span style=&quot;color:#c0c0c0&quot;&gt;        &lt;/span&gt;&lt;span style=&quot;color:#800000&quot;&gt;id&lt;/span&gt;:&lt;em&gt;mojCanvas&lt;/em&gt;&lt;/pre&gt;



&lt;pre style=&quot;margin-left:0px; margin-right:0px&quot;&gt;
&lt;span style=&quot;color:#c0c0c0&quot;&gt;        &lt;/span&gt;&lt;span style=&quot;color:#800000&quot;&gt;width&lt;/span&gt;:&lt;span style=&quot;color:#c0c0c0&quot;&gt; &lt;/span&gt;1050&lt;/pre&gt;



&lt;pre style=&quot;margin-left:0px; margin-right:0px&quot;&gt;
&lt;span style=&quot;color:#c0c0c0&quot;&gt;        &lt;/span&gt;&lt;span style=&quot;color:#800000&quot;&gt;height&lt;/span&gt;:&lt;span style=&quot;color:#c0c0c0&quot;&gt; &lt;/span&gt;590&lt;/pre&gt;



&lt;pre style=&quot;margin-left:0px; margin-right:0px&quot;&gt;
&lt;span style=&quot;color:#c0c0c0&quot;&gt;        &lt;/span&gt;&lt;span style=&quot;color:#800000&quot;&gt;anchors.top&lt;/span&gt;:&lt;span style=&quot;color:#c0c0c0&quot;&gt; &lt;/span&gt;&lt;em&gt;parent&lt;/em&gt;.top&lt;/pre&gt;



&lt;pre style=&quot;margin-left:0px; margin-right:0px&quot;&gt;
&lt;span style=&quot;color:#c0c0c0&quot;&gt;        &lt;/span&gt;&lt;span style=&quot;color:#800000&quot;&gt;anchors.topMargin&lt;/span&gt;:&lt;span style=&quot;color:#c0c0c0&quot;&gt; &lt;/span&gt;55&lt;/pre&gt;



&lt;pre style=&quot;margin-left:0px; margin-right:0px&quot;&gt;
&lt;span style=&quot;color:#c0c0c0&quot;&gt;        &lt;/span&gt;&lt;span style=&quot;color:#800000&quot;&gt;anchors.bottom&lt;/span&gt;:&lt;span style=&quot;color:#c0c0c0&quot;&gt; &lt;/span&gt;&lt;em&gt;parent&lt;/em&gt;.bottom&lt;/pre&gt;



&lt;pre style=&quot;margin-left:0px; margin-right:0px&quot;&gt;
&lt;span style=&quot;color:#c0c0c0&quot;&gt;        &lt;/span&gt;&lt;span style=&quot;color:#800000&quot;&gt;anchors.bottomMargin&lt;/span&gt;:&lt;span style=&quot;color:#c0c0c0&quot;&gt; &lt;/span&gt;55&lt;/pre&gt;



&lt;pre style=&quot;margin-left:0px; margin-right:0px&quot;&gt;

&amp;nbsp;&lt;/pre&gt;



&lt;pre style=&quot;margin-left:0px; margin-right:0px&quot;&gt;
&lt;span style=&quot;color:#c0c0c0&quot;&gt;        &lt;/span&gt;&lt;span style=&quot;color:#800000&quot;&gt;anchors.left&lt;/span&gt;:&lt;span style=&quot;color:#c0c0c0&quot;&gt; &lt;/span&gt;&lt;em&gt;parent&lt;/em&gt;.left&lt;/pre&gt;



&lt;pre style=&quot;margin-left:0px; margin-right:0px&quot;&gt;

&amp;nbsp;&lt;/pre&gt;



&lt;pre style=&quot;margin-left:0px; margin-right:0px&quot;&gt;
&lt;span style=&quot;color:#c0c0c0&quot;&gt;        &lt;/span&gt;&lt;span style=&quot;color:#800000&quot;&gt;anchors.right&lt;/span&gt;:&lt;span style=&quot;color:#c0c0c0&quot;&gt; &lt;/span&gt;&lt;em&gt;parent&lt;/em&gt;.right&lt;/pre&gt;



&lt;pre style=&quot;margin-left:0px; margin-right:0px&quot;&gt;
&lt;span style=&quot;color:#c0c0c0&quot;&gt;        &lt;/span&gt;&lt;span style=&quot;color:#800000&quot;&gt;contextType&lt;/span&gt;:&lt;span style=&quot;color:#c0c0c0&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color:#008000&quot;&gt;&quot;2d&quot;&lt;/span&gt;&lt;/pre&gt;



&lt;pre style=&quot;margin-left:0px; margin-right:0px&quot;&gt;

&amp;nbsp;&lt;/pre&gt;



&lt;pre style=&quot;margin-left:0px; margin-right:0px&quot;&gt;
&lt;span style=&quot;color:#c0c0c0&quot;&gt;        &lt;/span&gt;&lt;span style=&quot;color:#800080&quot;&gt;Path&lt;/span&gt;&lt;span style=&quot;color:#c0c0c0&quot;&gt; &lt;/span&gt;{&lt;/pre&gt;



&lt;pre style=&quot;margin-left:0px; margin-right:0px&quot;&gt;
&lt;span style=&quot;color:#c0c0c0&quot;&gt;            &lt;/span&gt;&lt;span style=&quot;color:#800000&quot;&gt;id&lt;/span&gt;:&lt;span style=&quot;color:#c0c0c0&quot;&gt; &lt;/span&gt;&lt;em&gt;myPath&lt;/em&gt;&lt;/pre&gt;



&lt;pre style=&quot;margin-left:0px; margin-right:0px&quot;&gt;
&lt;span style=&quot;color:#c0c0c0&quot;&gt;            &lt;/span&gt;&lt;span style=&quot;color:#800000&quot;&gt;startX&lt;/span&gt;:&lt;span style=&quot;color:#c0c0c0&quot;&gt; &lt;/span&gt;450;&lt;span style=&quot;color:#c0c0c0&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color:#800000&quot;&gt;startY&lt;/span&gt;:&lt;span style=&quot;color:#c0c0c0&quot;&gt; &lt;/span&gt;590&lt;/pre&gt;



&lt;pre style=&quot;margin-left:0px; margin-right:0px&quot;&gt;

&amp;nbsp;&lt;/pre&gt;



&lt;pre style=&quot;margin-left:0px; margin-right:0px&quot;&gt;
&lt;span style=&quot;color:#c0c0c0&quot;&gt;            &lt;/span&gt;&lt;span style=&quot;color:#800080&quot;&gt;PathArc&lt;/span&gt;&lt;span style=&quot;color:#c0c0c0&quot;&gt; &lt;/span&gt;{&lt;/pre&gt;



&lt;pre style=&quot;margin-left:0px; margin-right:0px&quot;&gt;
&lt;span style=&quot;color:#c0c0c0&quot;&gt;                &lt;/span&gt;&lt;span style=&quot;color:#800000&quot;&gt;x&lt;/span&gt;:&lt;span style=&quot;color:#c0c0c0&quot;&gt; &lt;/span&gt;0;&lt;span style=&quot;color:#c0c0c0&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color:#800000&quot;&gt;y&lt;/span&gt;:&lt;span style=&quot;color:#c0c0c0&quot;&gt; &lt;/span&gt;269.30848034096934944;&lt;/pre&gt;



&lt;pre style=&quot;margin-left:0px; margin-right:0px&quot;&gt;
&lt;span style=&quot;color:#c0c0c0&quot;&gt;                &lt;/span&gt;&lt;span style=&quot;color:#800000&quot;&gt;radiusX&lt;/span&gt;:&lt;span style=&quot;color:#c0c0c0&quot;&gt; &lt;/span&gt;332.8125&lt;span style=&quot;color:#c0c0c0&quot;&gt; &lt;/span&gt;/&lt;span style=&quot;color:#c0c0c0&quot;&gt; &lt;/span&gt;&lt;em&gt;Math&lt;/em&gt;.sin(&lt;em&gt;mainform&lt;/em&gt;.dial1.value&lt;span style=&quot;color:#c0c0c0&quot;&gt; &lt;/span&gt;*&lt;span style=&quot;color:#c0c0c0&quot;&gt; &lt;/span&gt;&lt;em&gt;Math&lt;/em&gt;.PI&lt;span style=&quot;color:#c0c0c0&quot;&gt; &lt;/span&gt;/&lt;span style=&quot;color:#c0c0c0&quot;&gt; &lt;/span&gt;180);&lt;span style=&quot;color:#c0c0c0&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color:#800000&quot;&gt;radiusY&lt;/span&gt;:&lt;span style=&quot;color:#c0c0c0&quot;&gt; &lt;/span&gt;332.8125&lt;span style=&quot;color:#c0c0c0&quot;&gt; &lt;/span&gt;/&lt;span style=&quot;color:#c0c0c0&quot;&gt; &lt;/span&gt;&lt;em&gt;Math&lt;/em&gt;.sin(&lt;em&gt;mainform&lt;/em&gt;.dial1.value&lt;span style=&quot;color:#c0c0c0&quot;&gt; &lt;/span&gt;*&lt;span style=&quot;color:#c0c0c0&quot;&gt; &lt;/span&gt;&lt;em&gt;Math&lt;/em&gt;.PI&lt;span style=&quot;color:#c0c0c0&quot;&gt; &lt;/span&gt;/&lt;span style=&quot;color:#c0c0c0&quot;&gt; &lt;/span&gt;180);&lt;/pre&gt;



&lt;pre style=&quot;margin-left:0px; margin-right:0px&quot;&gt;
&lt;span style=&quot;color:#c0c0c0&quot;&gt;                &lt;/span&gt;&lt;span style=&quot;color:#800000&quot;&gt;useLargeArc&lt;/span&gt;:&lt;span style=&quot;color:#c0c0c0&quot;&gt; &lt;/span&gt;false&lt;/pre&gt;



&lt;pre style=&quot;margin-left:0px; margin-right:0px&quot;&gt;
&lt;span style=&quot;color:#c0c0c0&quot;&gt;                &lt;/span&gt;&lt;span style=&quot;color:#800000&quot;&gt;direction&lt;/span&gt;:&lt;span style=&quot;color:#c0c0c0&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color:#800080&quot;&gt;PathArc&lt;/span&gt;.Counterclockwise&lt;/pre&gt;



&lt;pre style=&quot;margin-left:0px; margin-right:0px&quot;&gt;
&lt;span style=&quot;color:#c0c0c0&quot;&gt;            &lt;/span&gt;}&lt;/pre&gt;



&lt;pre style=&quot;margin-left:0px; margin-right:0px&quot;&gt;
&lt;span style=&quot;color:#c0c0c0&quot;&gt;        &lt;/span&gt;}&lt;/pre&gt;



&lt;pre style=&quot;margin-left:0px; margin-right:0px&quot;&gt;
&lt;span style=&quot;color:#c0c0c0&quot;&gt;        &lt;/span&gt;&lt;span style=&quot;color:#800000&quot;&gt;onPaint&lt;/span&gt;:&lt;span style=&quot;color:#c0c0c0&quot;&gt; &lt;/span&gt;{&lt;/pre&gt;



&lt;pre style=&quot;margin-left:0px; margin-right:0px&quot;&gt;
&lt;span style=&quot;color:#c0c0c0&quot;&gt;            &lt;/span&gt;&lt;em&gt;context&lt;/em&gt;.strokeStyle&lt;span style=&quot;color:#c0c0c0&quot;&gt; &lt;/span&gt;=&lt;span style=&quot;color:#c0c0c0&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color:#008000&quot;&gt;&quot;indigo&quot;&lt;/span&gt;;&lt;/pre&gt;



&lt;pre style=&quot;margin-left:0px; margin-right:0px&quot;&gt;
&lt;span style=&quot;color:#c0c0c0&quot;&gt;            &lt;/span&gt;&lt;em&gt;context&lt;/em&gt;.lineWidth&lt;span style=&quot;color:#c0c0c0&quot;&gt; &lt;/span&gt;=&lt;span style=&quot;color:#c0c0c0&quot;&gt; &lt;/span&gt;3;&lt;/pre&gt;



&lt;pre style=&quot;margin-left:0px; margin-right:0px&quot;&gt;
&lt;span style=&quot;color:#c0c0c0&quot;&gt;            &lt;/span&gt;&lt;em&gt;context&lt;/em&gt;.path&lt;span style=&quot;color:#c0c0c0&quot;&gt; &lt;/span&gt;=&lt;span style=&quot;color:#c0c0c0&quot;&gt; &lt;/span&gt;&lt;em&gt;myPath&lt;/em&gt;;&lt;/pre&gt;



&lt;pre style=&quot;margin-left:0px; margin-right:0px&quot;&gt;
&lt;span style=&quot;color:#c0c0c0&quot;&gt;            &lt;/span&gt;&lt;em&gt;context&lt;/em&gt;.stroke();&lt;/pre&gt;



&lt;pre style=&quot;margin-left:0px; margin-right:0px&quot;&gt;
&lt;span style=&quot;color:#c0c0c0&quot;&gt;        &lt;/span&gt;}&lt;/pre&gt;



&lt;pre style=&quot;margin-left:0px; margin-right:0px&quot;&gt;
&lt;span style=&quot;color:#c0c0c0&quot;&gt;    &lt;/span&gt;}&lt;/pre&gt;



&lt;pre style=&quot;margin-left:0px; margin-right:0px&quot;&gt;
}&lt;/pre&gt;



&lt;p&gt;&amp;nbsp;&lt;/p&gt;



&lt;p&gt;&amp;nbsp;&lt;/p&gt;



&lt;p&gt;
&lt;br&gt;
&amp;nbsp;&lt;/p&gt;



&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description>
<category>JavaScript</category>
<guid isPermaLink="true">https://forum.pasja-informatyki.pl/136799/uzycie-clearrect-spoza-obiektu-canvas</guid>
<pubDate>Mon, 02 May 2016 21:53:34 +0000</pubDate>
</item>
<item>
<title>Ktoś ogarnia QML?</title>
<link>https://forum.pasja-informatyki.pl/100988/ktos-ogarnia-qml</link>
<description>Zainteresowalem sie QML i jego polaczeniem z C++ w Qt, czy ktoś z Was ogarnia ten temat, zebym mogl podpytac o kwestie zwiazane wlasnie z łączeniem obiektow pisanych w tych dwoch roznych jezykach?</description>
<category>C i C++</category>
<guid isPermaLink="true">https://forum.pasja-informatyki.pl/100988/ktos-ogarnia-qml</guid>
<pubDate>Thu, 21 Jan 2016 11:35:01 +0000</pubDate>
</item>
</channel>
</rss>