good morning!!!!
Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
B
bor
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Harbor Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
open
bor
Commits
10e2c40b
Commit
10e2c40b
authored
May 21, 2014
by
Jeffrey Wilcke
Browse files
Options
Downloads
Patches
Plain Diff
Improved on some ui elements
parent
68f4a12a
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
ethereal/assets/qml/wallet.qml
+39
-0
39 additions, 0 deletions
ethereal/assets/qml/wallet.qml
ethereal/ui/gui.go
+1
-0
1 addition, 0 deletions
ethereal/ui/gui.go
with
40 additions
and
0 deletions
ethereal/assets/qml/wallet.qml
+
39
−
0
View file @
10e2c40b
...
...
@@ -67,6 +67,7 @@ ApplicationWindow {
networkView
.
visible
=
false
historyView
.
visible
=
false
newTxView
.
visible
=
false
infoView
.
visible
=
false
view
.
visible
=
true
//root.title = "Ethereal - " = view.title
}
...
...
@@ -120,6 +121,17 @@ ApplicationWindow {
}
}
}
Image
{
source
:
ui
.
assetPath
(
"
net.png
"
)
anchors.horizontalCenter
:
parent
.
horizontalCenter
MouseArea
{
anchors.fill
:
parent
onClicked
:
{
setView
(
infoView
)
}
}
}
}
}
...
...
@@ -217,6 +229,33 @@ ApplicationWindow {
}
}
Rectangle
{
id
:
infoView
property
var
title
:
"
Information
"
visible
:
false
color
:
"
#00000000
"
anchors.fill
:
parent
Label
{
id
:
addressLabel
text
:
"
Address
"
anchors
{
margins
:
5
top
:
parent
.
top
left
:
parent
.
left
}
}
TextField
{
anchors
{
margins
:
5
left
:
addressLabel
.
right
top
:
parent
.
top
}
text
:
pub
.
getKey
().
address
width
:
500
}
}
/*
signal addPlugin(string name)
Component {
...
...
This diff is collapsed.
Click to expand it.
ethereal/ui/gui.go
+
1
−
0
View file @
10e2c40b
...
...
@@ -74,6 +74,7 @@ func (gui *Gui) Start(assetPath string) {
// Expose the eth library and the ui library to QML
context
.
SetVar
(
"eth"
,
gui
)
context
.
SetVar
(
"pub"
,
gui
.
pub
)
gui
.
uiLib
=
NewUiLib
(
gui
.
engine
,
gui
.
eth
,
assetPath
)
context
.
SetVar
(
"ui"
,
gui
.
uiLib
)
...
...
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