Skip to content
Snippets Groups Projects
Commit 28ea73c7 authored by inso's avatar inso
Browse files

Enhance toolbar

parent 2ba4690a
No related branches found
No related tags found
No related merge requests found
...@@ -126,7 +126,6 @@ On Linux, you'll need buildable python-dbus and notify2 : ...@@ -126,7 +126,6 @@ On Linux, you'll need buildable python-dbus and notify2 :
```bash ```bash
pyenv activate sakia-env pyenv activate sakia-env
pip install PyQt5 pip install PyQt5
rm ~/.pyenv/versions/sakia-env/bin/pyuic5 # Because of some bug in binary packages we need to remove this
pip install -U git+https://github.com/posborne/dbus-python.git pip install -U git+https://github.com/posborne/dbus-python.git
pip install notify2 pip install notify2
``` ```
......
...@@ -61,11 +61,11 @@ class ToolbarView(QFrame, Ui_SakiaToolbar): ...@@ -61,11 +61,11 @@ class ToolbarView(QFrame, Ui_SakiaToolbar):
self.button_identity.setIconSize(self.button_identity.iconSize()*dpi_ratio()) self.button_identity.setIconSize(self.button_identity.iconSize()*dpi_ratio())
self.button_explore.setIconSize(self.button_explore.iconSize()*dpi_ratio()) self.button_explore.setIconSize(self.button_explore.iconSize()*dpi_ratio())
self.toolbutton_menu.setIconSize(self.toolbutton_menu.iconSize()*dpi_ratio()) self.toolbutton_menu.setIconSize(self.toolbutton_menu.iconSize()*dpi_ratio())
self.button_network.setFixedHeight(self.button_network.height()*dpi_ratio()) self.button_network.setFixedHeight(self.button_network.height()*dpi_ratio()+5*dpi_ratio())
self.button_contacts.setFixedHeight(self.button_contacts.height()*dpi_ratio()) self.button_contacts.setFixedHeight(self.button_contacts.height()*dpi_ratio()+5*dpi_ratio())
self.button_identity.setFixedHeight(self.button_identity.height()*dpi_ratio()) self.button_identity.setFixedHeight(self.button_identity.height()*dpi_ratio()+5*dpi_ratio())
self.button_explore.setFixedHeight(self.button_explore.height()*dpi_ratio()) self.button_explore.setFixedHeight(self.button_explore.height()*dpi_ratio()+5*dpi_ratio())
self.toolbutton_menu.setFixedHeight(self.toolbutton_menu.height()*dpi_ratio()) self.toolbutton_menu.setFixedHeight(self.toolbutton_menu.height()*dpi_ratio()+5*dpi_ratio())
async def ask_for_connection(self, connections): async def ask_for_connection(self, connections):
connections_titles = [c.title() for c in connections] connections_titles = [c.title() for c in connections]
......
...@@ -112,6 +112,28 @@ ...@@ -112,6 +112,28 @@
</item> </item>
</layout> </layout>
</item> </item>
<item>
<widget class="QFrame" name="frame">
<property name="frameShape">
<enum>QFrame::StyledPanel</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Raised</enum>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_4">
<item>
<widget class="QLabel" name="label">
<property name="frameShadow">
<enum>QFrame::Raised</enum>
</property>
<property name="text">
<string>Step 1. Check the key/user / Step 2. Accept the money licence / Step 3. Sign to confirm certification</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
</layout> </layout>
</widget> </widget>
<widget class="QWidget" name="page_2"> <widget class="QWidget" name="page_2">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment