import QtQuick.Controls 2.1
import QtQuick.Controls.Styles 1.4
import QtQuick.Layouts 1.3
import QtQuick.Window 2.11
import cplusplus 1.0
Rectangle
{
id: base
width:640
height:480
ColumnLayout
{
anchors.fill:parent
anchors.margins: 6
spacing: 4
Rectangle
{
id:image
Layout.fillWidth: true
Layout.fillHeight: true
color:"#cdcdc0"
TextEdit
{
id:text
anchors.centerIn: parent
width:parent.width
text:"請點(diǎn)擊下方按鍵"
verticalAlignment: Text.AlignVCenter
horizontalAlignment: Text.AlignHCenter
wrapMode: Text.WordWrap
font.pointSize: 12
}
}
RowLayout
{
Rectangle
{
Layout.fillWidth: true
}
Button
{
property int index: 0
text:"點(diǎn)擊"
onClicked:
{
text.text = cplusplusObject.getString()
}
}
}
}
}
只有注冊用戶登錄后才能發(fā)表評論。 | ||
【推薦】100%開源!大型工業(yè)跨平臺軟件C++源碼提供,建模,組態(tài)!
![]() |
||
相關(guān)文章:
|
||
網(wǎng)站導(dǎo)航:
博客園
IT新聞
BlogJava
博問
Chat2DB
管理
|
||
|