Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
Geth-Modification
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
张蕾
Geth-Modification
Commits
dc3b0e17
Commit
dc3b0e17
authored
Aug 12, 2014
by
obscuren
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Name changes
parent
59d97468
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
12 deletions
+16
-12
wallet.qml
ethereal/assets/qml/wallet.qml
+14
-11
gui.go
ethereal/gui.go
+2
-0
ui_lib.go
ethereal/ui_lib.go
+0
-1
No files found.
ethereal/assets/qml/wallet.qml
View file @
dc3b0e17
...
...
@@ -318,14 +318,6 @@ ApplicationWindow {
}
function
importApp
(
path
)
{
var
ext
=
path
.
split
(
'.'
).
pop
()
if
(
ext
==
"html"
||
ext
==
"htm"
)
{
ui
.
openHtml
(
path
)
}
else
if
(
ext
==
"qml"
){
ui
.
openQml
(
path
)
}
}
/******************
* Dialogs
...
...
@@ -340,6 +332,17 @@ ApplicationWindow {
}
/******************
* Wallet functions
*****************/
function
importApp
(
path
)
{
var
ext
=
path
.
split
(
'.'
).
pop
()
if
(
ext
==
"html"
||
ext
==
"htm"
)
{
ui
.
openHtml
(
path
)
}
else
if
(
ext
==
"qml"
){
ui
.
openQml
(
path
)
}
}
function
setWalletValue
(
value
)
{
walletValueLabel
.
text
=
value
...
...
@@ -381,9 +384,9 @@ ApplicationWindow {
return
time
;
}
/
/ ********************
**********************
//
Windows
// ******************************************
/**********************
*
Windows
*********************/
Window
{
id
:
peerWindow
//flags: Qt.CustomizeWindowHint | Qt.Tool | Qt.WindowCloseButtonHint
...
...
ethereal/gui.go
View file @
dc3b0e17
...
...
@@ -106,11 +106,13 @@ func (gui *Gui) Start(assetPath string) {
logger
.
Infoln
(
"Starting GUI"
)
gui
.
open
=
true
win
.
Show
()
// only add the gui logger after window is shown otherwise slider wont be shown
if
addlog
{
ethlog
.
AddLogSystem
(
gui
)
}
win
.
Wait
()
// need to silence gui logger after window closed otherwise logsystem hangs (but do not save loglevel)
gui
.
logLevel
=
ethlog
.
Silence
gui
.
open
=
false
...
...
ethereal/ui_lib.go
View file @
dc3b0e17
...
...
@@ -112,7 +112,6 @@ func (self *UiLib) StartDbWithCode(code string) {
func
(
self
*
UiLib
)
StartDebugger
()
{
dbWindow
:=
NewDebuggerWindow
(
self
)
//self.DbWindow = dbWindow
dbWindow
.
Show
()
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment