Qt QML Festive Hot Tips
Mike Trahearn - Qt QML Festive Hot Tips

Qt QML Festive Hot Tips

Ho Ho Hot Tips - Christmas Special!

While your projects are getting stuffed and your turkey is still compiling I thought I'd share a couple of alternative tips this Christmas Eve!

Garlic and Bacon Brussel Sprouts

No alt text provided for this image
import Christmas

Recipe {
  sprouts: "all the leftovers"
  bacon: "lots"
  liquid: "chicken stock"
  fat: [
     "olive oil",
     "butter"
  ]
  aromats: [
     "onion",
     "garlic paste"
  ]
  seasoning: [
     "salt",
     "pepper"
  ]
  method: "chuck it all in the pan"
  Component.onCompleted: console.log("down with a beer")
}        

Turkey Curry

No alt text provided for this image

import Christmas

Recipe {
  turkey: "all the leftovers"
  liquid: "cream"
  fat: [
    "ghee or veg oil"
  ]
  spices: [
     "mustard seeds",
     "red chillies"
  ]
  aromats: [
     "onion",
     "garlic paste",
     "ginger",
     "cumin",
     "chilli powder,
     "garam masala",
     "curry powder",
     "fenugreek",
     "coriander"
  ]
  seasoning: [
     "salt",
     "pepper"
  ]
  method: "fry off aromats and spices and add turkey and cream"
  Component.onCompleted: console.log("serve with Naan and rice")
}        

要查看或添加评论,请登录

Mike Trahearn的更多文章

  • Qt QML Hot Tips #9

    Qt QML Hot Tips #9

    Part 9 - Move your QML over to the DARK side..

    11 条评论
  • #QtStories - My Experience. My Story. Your Future!

    #QtStories - My Experience. My Story. Your Future!

    The letters 'Q' and 't' have been at the core of my career and I would like to take a couple of moments to explain why.…

    6 条评论
  • Qt QML Hot Tips #8

    Qt QML Hot Tips #8

    Part 8 - How to save face by using namespaces - a quick guide to QML and enums! Following a rather extended period…

  • Qt QML Hot Tips #7

    Qt QML Hot Tips #7

    Part 7 - Does my RCC look BIG in this? Or, "How to handle your large assets"..

    1 条评论
  • Qt QML Hot Tips #6

    Qt QML Hot Tips #6

    Part 6 - The "Unbinding" Like sounding like a potential horror film title, this article is inspired by a shuddering…

    1 条评论
  • Qt QML Hot Tips #5

    Qt QML Hot Tips #5

    Part 5 - I'm sorry, your access is restricted! From Qt 5.15 and much more strictly in Qt 6, a series of improvements…

  • Qt QML Hot Tips #4

    Qt QML Hot Tips #4

    Part 4 - May I See Your ID? In this article I cover one of the easiest parts of the QML syntax - but its inclusion in…

    3 条评论
  • Qt QML Hot Tips #3

    Qt QML Hot Tips #3

    Part 3 - Are your properties required? if(someObjectProperty !== null) someObjectProperty.callFunction() is found…

    6 条评论
  • Qt QML Hot Tips #2

    Qt QML Hot Tips #2

    Welcome to Part 2! Continuing on a theme of raging against the tide of poorly written QML using examples from years of…

  • Qt QML Hot Tips #1

    Qt QML Hot Tips #1

    Welcome! This is the first of many extremely short articles containing some absolute nuggets of gold stashed away until…

    12 条评论

社区洞察

其他会员也浏览了