This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import QtQuick 1.1 | |
Item { | |
width: 200 | |
height: 300 | |
ListView { | |
anchors.fill: parent | |
model: nestedModel | |
delegate: categoryDelegate |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
entity serial_tx is | |
Port ( | |
clk_50 : in STD_LOGIC; | |
reset : in std_logic; | |
tx : out STD_LOGIC; | |
tx_idle : out std_logic; | |
din : in STD_LOGIC_VECTOR(7 downto 0); | |
din_strobe : in STD_LOGIC |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library IEEE; | |
use IEEE.STD_LOGIC_1164.ALL; | |
use IEEE.STD_LOGIC_ARITH.ALL; | |
use IEEE.STD_LOGIC_UNSIGNED.ALL; | |
entity serial_rx is | |
port ( | |
clk_50 : in std_logic; | |
rx : in std_logic; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import QtQuick 1.1 | |
import com.meego 1.0 | |
import QtMobility.gallery 1.1 | |
Item { | |
id: root | |
width: screen.width | |
height: screen.height | |
GridView { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Qt 4.7 | |
Loader { | |
property bool keepLoaded : true | |
property url viewSource | |
anchors.top: parent.top | |
anchors.bottom: parent.bottom | |
width: parent.width | |
opacity: 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
int main(int argc, char *argv[]) | |
{ | |
QApplication::setGraphicsSystem("openvg"); // Use "opengl" for systems not supporting OpenVG | |
QApplication a(argc, argv); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Juha Turunen ([email protected]), 2010 | |
Use freely in any commercial or non-commercial way. All rights waived. | |
More Qt/QtQuick/Symbian stuff at: http://www.juhaturunen.com/blog/ | |
Instructions: | |
- You need to link to a few Symbian DLLs. Add this line to your applications .pro file: | |
symbian { LIBS += -lcone -lws32 -lbafl -legul } | |
- Deploy your font files to a place where the Symbian font and bitmap server can read them. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Qt 4.7 | |
Rectangle { | |
width: 360 | |
height: 640 | |
color: "#000000" | |
Rectangle { | |
height: 80 |