Using qrc resource files for images and preparing qrc resources for qml
This commit is contained in:
@@ -19,7 +19,8 @@ Item {
|
||||
Button
|
||||
{
|
||||
id: addBusinessBtn
|
||||
icon.source: "../images/addbusiness.svg"
|
||||
//icon.source: "../images/addbusiness.svg"
|
||||
icon.source: "qrc:/images/addbusiness.svg"
|
||||
icon.color: "olive"
|
||||
anchors.right: parent.right
|
||||
flat: true
|
||||
@@ -108,7 +109,7 @@ Item {
|
||||
rowSpacing: 2
|
||||
model: dbm
|
||||
alternatingRows: true
|
||||
resizableColumns: true
|
||||
resizableColumns: true // @disable-check M16
|
||||
selectionBehavior: TableView.SelectRows
|
||||
selectionModel: ItemSelectionModel
|
||||
{
|
||||
@@ -168,7 +169,7 @@ Item {
|
||||
width: parent.width
|
||||
height: parent.height
|
||||
verticalAlignment: Text.AlignVCenter
|
||||
leftPadding: 9 //@disable-check M16
|
||||
leftPadding: 9 //@d isable-check M16
|
||||
color: addBusinessBtn.palette.text
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user