Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
sakia
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor 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
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
clients
python
sakia
Commits
ebd6f6c1
Commit
ebd6f6c1
authored
9 years ago
by
inso
Browse files
Options
Downloads
Patches
Plain Diff
Diverse fixes in display
parent
aa9f1705
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/cutecoin/gui/mainwindow.py
+1
-0
1 addition, 0 deletions
src/cutecoin/gui/mainwindow.py
src/cutecoin/gui/process_cfg_community.py
+2
-0
2 additions, 0 deletions
src/cutecoin/gui/process_cfg_community.py
src/cutecoin/models/network.py
+7
-0
7 additions, 0 deletions
src/cutecoin/models/network.py
with
10 additions
and
0 deletions
src/cutecoin/gui/mainwindow.py
+
1
−
0
View file @
ebd6f6c1
...
@@ -70,6 +70,7 @@ class MainWindow(QMainWindow, Ui_MainWindow):
...
@@ -70,6 +70,7 @@ class MainWindow(QMainWindow, Ui_MainWindow):
self
.
homescreen
=
HomeScreenWidget
(
self
.
app
,
self
.
status_label
)
self
.
homescreen
=
HomeScreenWidget
(
self
.
app
,
self
.
status_label
)
self
.
homescreen
.
frame_communities
.
community_tile_clicked
.
connect
(
self
.
change_community
)
self
.
homescreen
.
frame_communities
.
community_tile_clicked
.
connect
(
self
.
change_community
)
self
.
homescreen
.
toolbutton_new_account
.
clicked
.
connect
(
self
.
open_add_account_dialog
)
self
.
homescreen
.
toolbutton_new_account
.
addAction
(
self
.
action_add_account
)
self
.
homescreen
.
toolbutton_new_account
.
addAction
(
self
.
action_add_account
)
self
.
homescreen
.
toolbutton_new_account
.
addAction
(
self
.
action_import
)
self
.
homescreen
.
toolbutton_new_account
.
addAction
(
self
.
action_import
)
self
.
homescreen
.
button_add_community
.
clicked
.
connect
(
self
.
action_open_add_community
)
self
.
homescreen
.
button_add_community
.
clicked
.
connect
(
self
.
action_open_add_community
)
...
...
This diff is collapsed.
Click to expand it.
src/cutecoin/gui/process_cfg_community.py
+
2
−
0
View file @
ebd6f6c1
...
@@ -94,6 +94,8 @@ class StepPageInit(Step):
...
@@ -94,6 +94,8 @@ class StepPageInit(Step):
self
.
account
.
broadcast_error
.
connect
(
self
.
handle_error
)
self
.
account
.
broadcast_error
.
connect
(
self
.
handle_error
)
yield
from
self
.
account
.
send_selfcert
(
password
,
community
)
yield
from
self
.
account
.
send_selfcert
(
password
,
community
)
self
.
config_dialog
.
community
=
community
self
.
config_dialog
.
community
=
community
else
:
self
.
config_dialog
.
label_error
.
setText
(
self
.
tr
(
"
Pubkey already exists on the network
"
))
else
:
else
:
self
.
config_dialog
.
label_error
.
setText
(
self
.
tr
(
"
Could not connect.
"
))
self
.
config_dialog
.
label_error
.
setText
(
self
.
tr
(
"
Could not connect.
"
))
...
...
This diff is collapsed.
Click to expand it.
src/cutecoin/models/network.py
+
7
−
0
View file @
ebd6f6c1
...
@@ -72,6 +72,13 @@ class NetworkFilterProxyModel(QSortFilterProxyModel):
...
@@ -72,6 +72,13 @@ class NetworkFilterProxyModel(QSortFilterProxyModel):
and
role
==
Qt
.
DisplayRole
:
and
role
==
Qt
.
DisplayRole
:
return
source_data
[:
5
]
return
source_data
[:
5
]
if
index
.
column
()
==
source_model
.
columns_types
.
index
(
'
current_block
'
)
\
and
role
==
Qt
.
DisplayRole
:
if
source_data
==
-
1
:
return
""
else
return
source_data
if
index
.
column
()
==
source_model
.
columns_types
.
index
(
'
current_hash
'
)
\
if
index
.
column
()
==
source_model
.
columns_types
.
index
(
'
current_hash
'
)
\
and
role
==
Qt
.
DisplayRole
:
and
role
==
Qt
.
DisplayRole
:
return
source_data
[:
10
]
return
source_data
[:
10
]
...
...
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