From dbd646230c9e233a76d799bc48afe193b0ae60f1 Mon Sep 17 00:00:00 2001 From: Dan Ballard Date: Thu, 18 Oct 2018 21:08:06 -0700 Subject: [PATCH] clickable identities: mark 1 --- identities.go | 86 ++++++++++++++++++++++++++++++++---------- main.go | 15 ++++++-- qml/MainWindow.qml | 8 ++-- qml/ProfilesColumn.qml | 51 +++++++++++++++++-------- 4 files changed, 117 insertions(+), 43 deletions(-) diff --git a/identities.go b/identities.go index f4be921..8bb916f 100644 --- a/identities.go +++ b/identities.go @@ -2,35 +2,80 @@ package main import ( "github.com/therecipe/qt/core" + "fmt" ) func init() { QIdentityListModel_QmlRegisterType2("CustomQmlTypes", 1, 0, "QIdentityListModel") } - +// TODO: register QObj of Item const ( Name = int(core.Qt__UserRole) + 1<