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
d7d3d279
Commit
d7d3d279
authored
9 years ago
by
inso
Browse files
Options
Downloads
Patches
Plain Diff
Disable QtWebEngineWidgets
parent
493b60a2
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
res/ui/node_manager.ui
+1
-9
1 addition, 9 deletions
res/ui/node_manager.ui
src/sakia/gui/mainwindow.py
+2
-1
2 additions, 1 deletion
src/sakia/gui/mainwindow.py
src/sakia/gui/node_manager.py
+4
-3
4 additions, 3 deletions
src/sakia/gui/node_manager.py
with
7 additions
and
13 deletions
res/ui/node_manager.ui
+
1
−
9
View file @
d7d3d279
...
...
@@ -15,18 +15,10 @@
</property>
<layout
class=
"QVBoxLayout"
name=
"verticalLayout"
>
<item>
<widget
class=
"QW
ebEngineView
"
name=
"web_view"
native=
"true"
/>
<widget
class=
"QW
idget
"
name=
"web_view"
native=
"true"
/>
</item>
</layout>
</widget>
<customwidgets>
<customwidget>
<class>
QWebEngineView
</class>
<extends>
QWidget
</extends>
<header>
PyQt5.QtWebEngineWidgets
</header>
<container>
1
</container>
</customwidget>
</customwidgets>
<resources/>
<connections/>
</ui>
This diff is collapsed.
Click to expand it.
src/sakia/gui/mainwindow.py
+
2
−
1
View file @
d7d3d279
...
...
@@ -109,6 +109,7 @@ class MainWindow(QObject):
self
.
ui
.
actionAbout
.
triggered
.
connect
(
self
.
open_about_popup
)
self
.
ui
.
actionManage_local_node
.
triggered
.
connect
(
self
.
open_duniter_ui
)
self
.
ui
.
menu_duniter
.
setDisabled
(
True
)
def
_init_homescreen
(
self
):
"""
...
...
@@ -143,7 +144,7 @@ class MainWindow(QObject):
main_window
=
cls
(
app
,
None
,
HomeScreenWidget
(
app
,
None
),
CommunityWidget
(
app
,
None
,
None
),
NodeManager
.
create
(
qmainwindow
),
None
,
#
NodeManager.create(qmainwindow),
qmainwindow
,
Ui_MainWindow
(),
QLabel
(
""
,
qmainwindow
),
QLabel
(
""
,
qmainwindow
),
QLabel
(
""
,
qmainwindow
),
QComboBox
(
qmainwindow
),
...
...
This diff is collapsed.
Click to expand it.
src/sakia/gui/node_manager.py
+
4
−
3
View file @
d7d3d279
...
...
@@ -3,7 +3,7 @@ import aiohttp
from
PyQt5.QtCore
import
QObject
,
QEvent
,
QUrl
from
PyQt5.QtWidgets
import
QDialog
from
..gen_resources.node_manager_uic
import
Ui_NodeManager
#
from ..gen_resources.node_manager_uic import Ui_NodeManager
from
.widgets.dialogs
import
QAsyncMessageBox
from
..tools.decorators
import
asyncify
...
...
@@ -29,8 +29,9 @@ class NodeManager(QObject):
@classmethod
def
create
(
cls
,
parent
):
dialog
=
cls
(
QDialog
(
parent
),
Ui_NodeManager
())
return
dialog
raise
TypeError
(
"
Not implemented ( https://github.com/ucoin-io/sakia/issues/399 )
"
)
#dialog = cls(QDialog(parent), Ui_NodeManager())
#return dialog
@asyncify
async
def
open_home_page
(
self
):
...
...
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