Hello again. How can I add code manually to a project on Flipabit. and what version of Flipabit support this.
import QtQuick 2.2
import QtQuick.Dialogs 1.0
Item {
Connections {
target: document.childByName("buttonOpenFile").scriptAdaptor
onEventItemClicked: {
fileDialog.visible = true
}
}
FileDialog {
id: fileDialog
selectMultiple: true
folder: shortcuts.home
onAccepted: {
document.childByName("TextListVideo").content.text = ""+fileDialog.fileUrls
document.childByName("TextListVideo").content.scriptAdaptor.actionReplaceString(",file:///","
file:///")
document.childByName("ListVideo").content.model = document.childByName("TextListVideo").content.text
document.childByName("ListVideo").content.scriptAdaptor.actionSetIndex("0")
document.childByName("Player").content.scriptAdaptor.actionSetVideo(document.childByName("ListVideo").content.Label)
document.childByName("Player").loaded = "true"
document.childByName("Player").content.scriptAdaptor.actionPlay()
}
onRejected: {
}
}
}
1 Like
What version of the Flipabit app is this
ΠΠ΅ΡΡΠΈΡ ΠΏΡΠΎΠ³ΡΠ°ΠΌΠΌΡ - Π»ΡΠ±Π°Ρ. ΠΎΠ±ΡΠ°ΡΠΈΡΠ΅ Π²Π½ΠΈΠΌΠ°Π½ΠΈΠ΅ Π½Π° Π²Π΅ΡΡΠΈΡ ΠΏΡΠΈ ΠΈΠΌΠΏΠΎΡΡΠΈΡΠΎΠ²Π°Π½ΠΈΠΈ
import QtQuick 2.2
import QtQuick.Dialogs 1.0
Any version of the program. pay attention to the version when importing
import QtQuick 2.2
import QtQuick.Dialogs 1.0
1 Like
Hello again. Thanks forβ¦
I need to add a code of .xml file. Where in the app do I do this