Skip to content

Commit

Permalink
ninja mode
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredmales committed Jan 29, 2025
1 parent 073f057 commit cb6a5b0
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 6 deletions.
4 changes: 2 additions & 2 deletions gui/resources/MagAOXStyleSheets/magaox.qss
Original file line number Diff line number Diff line change
Expand Up @@ -904,7 +904,7 @@ QTabWidget::pane

QTabWidget::pane[isAdmin="true"]
{
border: 0.1ex solid #ff0000;
border: 0.1ex solid #ffff00;
padding: 0.5ex;
margin: 0.1ex;
}
Expand Down Expand Up @@ -1371,7 +1371,7 @@ QSlider::add-page:vertical
QSlider::sub-page:horizontal[isAdmin="true"],
QSlider::add-page:vertical[isAdmin="true"]
{
background: #ff0000;
background: #ffff00;
border-radius: 0.3ex;
}

Expand Down
Binary file added gui/resources/icons/account_64.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added gui/resources/icons/ninja_64.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 3 additions & 1 deletion gui/resources/magaox.qrc
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@
<file>icons/keyboard_double_arrow_down.png</file>
<file>icons/keyboard_double_arrow_up.png</file>
<file>icons/keyboard_double_arrow_left.png</file>
<file>icons/keyboard_double_arrow_down.png</file>
<file>icons/keyboard_double_arrow_right.png</file>
<file>icons/account_64.png</file>
<file>icons/ninja_64.png</file>
</qresource>
</RCC>

Expand Down
20 changes: 17 additions & 3 deletions gui/widgets/pwr/pwr.ui
Original file line number Diff line number Diff line change
Expand Up @@ -1183,11 +1183,21 @@
<enum>QTabWidget::West</enum>
</property>
<property name="currentIndex">
<number>0</number>
<number>1</number>
</property>
<property name="iconSize">
<size>
<width>48</width>
<height>48</height>
</size>
</property>
<widget class="QWidget" name="tabUser">
<attribute name="icon">
<iconset resource="../../resources/magaox.qrc">
<normaloff>:/icons/account_64.png</normaloff>:/icons/account_64.png</iconset>
</attribute>
<attribute name="title">
<string>User</string>
<string/>
</attribute>
<layout class="QGridLayout" name="gridLayout_2">
<item row="0" column="0">
Expand Down Expand Up @@ -1219,8 +1229,12 @@
<property name="styleSheet">
<string notr="true"/>
</property>
<attribute name="icon">
<iconset resource="../../resources/magaox.qrc">
<normaloff>:/icons/ninja_64.png</normaloff>:/icons/ninja_64.png</iconset>
</attribute>
<attribute name="title">
<string>Admin</string>
<string/>
</attribute>
<layout class="QGridLayout" name="gridLayout_3" rowstretch="0,0">
<item row="0" column="0">
Expand Down

0 comments on commit cb6a5b0

Please sign in to comment.