![]() |
QML and SelectionDialog [and other QML-related questions]
1 Attachment(s)
Hi
I'm learning QML. My code is: Code:
import QtQuick 1.0 I want the lyricssrcbutton to display the currently selected option. Why isn't it working. What's the problem with the loops? Thanks in advance. |
Re: QML and SelectionDialog
The SelectionDialog is in its own Popup window, you can't place it inside a Column/Row, so it's giving you those loop warnings (column and dialog battling out to see who will provide the layout).
|
Re: QML and SelectionDialog
@Slocan are right
1 more thing is your SelectionDialog's selectedIndex should be start with 0, not 1 |
Re: QML and SelectionDialog
I'm still having problems. The index set for 0 solves one the problem of a blank label, but
With this code: Code:
import QtQuick 1.0 Code:
import QtQuick 1.0 |
Re: QML and SelectionDialog
Quote:
Code:
Item { |
Re: QML and SelectionDialog
Quote:
Code:
import QtQuick 1.0 Code:
.../main.qml:53 ReferenceError: Can't find variable fontcolor |
Re: QML and SelectionDialog
Quote:
|
Re: QML and SelectionDialog
Quote:
|
Re: QML and SelectionDialog
Quote:
|
Re: QML and SelectionDialog
Quote:
|
All times are GMT. The time now is 00:04. |
vBulletin® Version 3.8.8