mirror of
https://github.com/YACReader/yacreader
synced 2025-06-04 01:28:55 -04:00
Show comic info in InfoComicsView
This commit is contained in:
parent
88f2d2a754
commit
79b7654924
@ -1,7 +1,8 @@
|
|||||||
import QtQuick 2.3
|
import QtQuick 2.5
|
||||||
|
|
||||||
import QtQuick.Controls 1.2
|
import QtQuick.Controls 1.2
|
||||||
import QtGraphicalEffects 1.0
|
import QtGraphicalEffects 1.0
|
||||||
|
import QtQuick.Controls.Styles 1.4
|
||||||
|
|
||||||
import com.yacreader.ComicModel 1.0
|
import com.yacreader.ComicModel 1.0
|
||||||
|
|
||||||
@ -33,6 +34,7 @@ Rectangle {
|
|||||||
}
|
}
|
||||||
|
|
||||||
Rectangle {
|
Rectangle {
|
||||||
|
id: indicator_container
|
||||||
width: parent.width
|
width: parent.width
|
||||||
y: 250
|
y: 250
|
||||||
|
|
||||||
@ -49,14 +51,47 @@ Rectangle {
|
|||||||
fillMode: Image.TileHorizontally
|
fillMode: Image.TileHorizontally
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Rectangle {
|
Rectangle {
|
||||||
id: info_container
|
id: info_container
|
||||||
width: parent.width
|
width: parent.width
|
||||||
y: flow.height + flow.additionalBottomSpace - 6
|
y: flow.height + flow.additionalBottomSpace - 6
|
||||||
height: parent.height
|
height: parent.height - y
|
||||||
|
|
||||||
color: "#2e2e2e"
|
color: "#2e2e2e"
|
||||||
|
|
||||||
|
ScrollView {
|
||||||
|
anchors.fill: parent
|
||||||
|
anchors.margins: 0
|
||||||
|
|
||||||
|
horizontalScrollBarPolicy: Qt.ScrollBarAlwaysOff
|
||||||
|
|
||||||
|
style: ScrollViewStyle {
|
||||||
|
transientScrollBars: false
|
||||||
|
incrementControl: Item {}
|
||||||
|
decrementControl: Item {}
|
||||||
|
handle: Item {
|
||||||
|
implicitWidth: 10
|
||||||
|
implicitHeight: 26
|
||||||
|
Rectangle {
|
||||||
|
color: "#424246"
|
||||||
|
anchors.fill: parent
|
||||||
|
anchors.topMargin: 6
|
||||||
|
anchors.leftMargin: 4
|
||||||
|
anchors.rightMargin: 4
|
||||||
|
anchors.bottomMargin: 6
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
scrollBarBackground: Item {
|
||||||
|
implicitWidth: 14
|
||||||
|
implicitHeight: 26
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
ComicInfo {
|
||||||
|
width: info_container.width - 14
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user