Editing QtComponents/Butaca

Warning: You are not logged in. Your IP address will be recorded in this page's edit history.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 182: Line 182:
== Refactor QML files ==
== Refactor QML files ==
-
As on [QtComponents/Miniature], we need to replace namespace by the fremantle one. In this case we need to go a bit further.
+
As on [QtComponents/Miniature], we need to replace namespace by the fremantle one. In this case we need to go a bit further use [[migrateTo]] for this task.
-
=== Update namespace ===
+
=== Update hardcoded paths ===
-
Use [QtComponents/migrateTo], sed or an app like regexxer. See [QtComponents/Miniature] for required changes
+
-
 
+
-
==== Hardcoded Paths ====
+
-
Butaca fetch Properties directly from UIConstants.js js library. This library is private to QtComponents, so it uses a file://point/to/uiConstants.js schemas that we should also change.
+
-
 
+
-
See [[QtComponents/ThemeHowto]] for a better (and non upstream portable) way of doing this.
+
=== Remove QtQuick 1.1 code ===
=== Remove QtQuick 1.1 code ===
-
Reached this point. Project should be runnable on QtSimulator. '''Use QtSimulator 1.1'''. If we get console.log errors, it would be produced by unsupported QtQuick 1.1 code.
 
-
<syntaxhighlight lang="bash">
+
commit.
-
PATH/TO/QTSIMULATOR 1.1/Qt/gcc/bin/qmake butaca.pro && make && ./butaca
+
-
</syntaxhighlight>
+
-
See [[QtComponents/QtSimulator]] for hints about how to get QtComponents running on it
 
-
 
-
After a trial and error process we get:
 
-
<syntaxhighlight lang="diff">
 
-
diff --git a/qml/MultipleMoviesDelegate.qml b/qml/MultipleMoviesDelegate.qml
 
-
index 03b5a05..df468de 100644
 
-
--- a/qml/MultipleMoviesDelegate.qml
 
-
+++ b/qml/MultipleMoviesDelegate.qml
 
-
@@ -107,7 +107,9 @@ Item {
 
-
                    font.weight: movieDelegate.titleWeight
 
-
                    font.pixelSize: movieDelegate.titleSize
 
-
                    color: movieDelegate.titleColor
 
-
-                    maximumLineCount: 3
 
-
+                  //{QTQUICK1.1
 
-
+                  //maximumLineCount: 3
 
-
+                  //}
 
-
                    wrapMode: Text.WordWrap
 
-
                    text: title
 
-
                }
 
-
</syntaxhighlight>
 
-
 
-
commit.
 
== Handle Close events ==
== Handle Close events ==

Learn more about Contributing to the wiki.


Please note that all contributions to maemo.org wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see maemo.org wiki:Copyrights for details). Do not submit copyrighted work without permission!


Cancel | Editing help (opens in new window)