Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
cellframe-dashboard
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Code
Merge requests
4
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cellframe
cellframe-dashboard
Commits
6b9158a6
Commit
6b9158a6
authored
5 years ago
by
andrey.daragan
Browse files
Options
Downloads
Patches
Plain Diff
[*] Created a generic screen concept.
parent
e1f88da0
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
KelvinDashboardGUI/DapUiQmlWidgetChainNodeLogs.ui.qml
+103
-26
103 additions, 26 deletions
KelvinDashboardGUI/DapUiQmlWidgetChainNodeLogs.ui.qml
with
103 additions
and
26 deletions
KelvinDashboardGUI/DapUiQmlWidgetChainNodeLogs.ui.qml
+
103
−
26
View file @
6b9158a6
import
QtQuick
2.11
import
QtQuick
.
Controls
1.4
import
QtQuick
.
Controls
2.2
import
KelvinDashboard
1.0
Page
{
id
:
dapUiQmlWidgetChainNodeLogs
title
:
"
Logs
"
TableView
{
id
:
tableViewLogs
anchors.top
:
parent
.
top
anchors.bottom
:
parent
.
bottom
anchors.left
:
parent
.
left
anchors.right
:
parent
.
right
TableViewColumn
{
id
:
columnDate
role
:
"
date
"
title
:
"
Date
"
}
TableViewColumn
{
id
:
columnTime
role
:
"
time
"
title
:
"
Time
"
}
TableViewColumn
{
id
:
columnFile
role
:
"
file
"
title
:
"
File
"
ListModel
{
id
:
dataModel
ListElement
{
name
:
"
Apple
"
cost
:
2.45
}
ListElement
{
name
:
"
Orange
"
cost
:
3.25
}
ListElement
{
name
:
"
Banana
"
cost
:
1.95
}
}
TableViewColumn
{
id
:
columnMessage
role
:
"
Message
"
title
:
"
Message
"
TabView
{
id
:
tabViewLogs
anchors.top
:
parent
.
top
anchors.bottom
:
parent
.
bottom
anchors.left
:
parent
.
left
anchors.right
:
parent
.
right
Repeater
{
anchors.fill
:
parent
model
:
dapUiQmlWidgetModel
delegate
:
Tab
{
title
:
qsTr
(
name
)
TableView
{
id
:
tableViewLogs
// anchors.top: parent.top
// anchors.bottom: parent.bottom
// anchors.left: parent.left
// anchors.right: parent.right
model
:
dataModel
clip
:
true
TableViewColumn
{
id
:
columnType
role
:
"
type
"
title
:
"
Type
"
delegate
:
Image
{
id
:
names
source
:
"
qrc:/Resources/Icons/icon.png
"
}
}
TableViewColumn
{
id
:
columnDate
role
:
"
name
"
title
:
"
Date
"
}
TableViewColumn
{
id
:
columnTime
role
:
"
cost
"
title
:
"
Time
"
}
TableViewColumn
{
id
:
columnFile
role
:
"
file
"
title
:
"
File
"
}
TableViewColumn
{
id
:
columnMessage
role
:
"
Message
"
title
:
"
Message
"
}
itemDelegate
:
Item
{
Text
{
anchors.centerIn
:
parent
renderType
:
Text
.
NativeRendering
text
:
styleData
.
value
}
}
headerDelegate
:
Rectangle
{
height
:
20
color
:
"
red
"
Text
{
text
:
styleData
.
value
color
:
"
#FFF
"
width
:
parent
.
width
height
:
parent
.
height
font.pointSize
:
18
minimumPointSize
:
3
fontSizeMode
:
Text
.
Fit
horizontalAlignment
:
Text
.
AlignHCenter
verticalAlignment
:
Text
.
AlignVCenter
}
}
}
}
}
}
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment