Skip to content

Commit

Permalink
Modify style menu
Browse files Browse the repository at this point in the history
  • Loading branch information
KangLin committed Dec 14, 2023
1 parent bc59c93 commit 1ae0a69
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 24 deletions.
2 changes: 1 addition & 1 deletion App/MainWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ MainWindow::MainWindow(QWidget *parent) :
QActionGroup *pSourceGroup = new QActionGroup(this);
pSourceGroup->addAction(ui->actionFile);
pSourceGroup->addAction(ui->actionCamera);

RabbitCommon::CTools::AddStyleMenu(ui->menuTools);
ui->menuTools->addMenu(RabbitCommon::CTools::GetLogMenu(this));

// File
Expand Down
24 changes: 1 addition & 23 deletions App/MainWindow.ui
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<x>0</x>
<y>0</y>
<width>600</width>
<height>20</height>
<height>27</height>
</rect>
</property>
<widget class="QMenu" name="menuOperate">
Expand Down Expand Up @@ -103,7 +103,6 @@
<addaction name="actionOptions_O"/>
<addaction name="menuCamer_Orientation"/>
<addaction name="actionKeep_display_aspect_ratio"/>
<addaction name="actionStyle"/>
</widget>
<widget class="QMenu" name="menuHelp_H">
<property name="title">
Expand Down Expand Up @@ -447,27 +446,6 @@
<string>Keep display aspect ratio</string>
</property>
</action>
<action name="actionStyle">
<property name="icon">
<iconset theme="style">
<normaloff>.</normaloff>.</iconset>
</property>
<property name="text">
<string>Style</string>
</property>
<property name="iconText">
<string>Load Style</string>
</property>
<property name="toolTip">
<string>Load Style</string>
</property>
<property name="statusTip">
<string>Load Style</string>
</property>
<property name="whatsThis">
<string>Load Style</string>
</property>
</action>
</widget>
<resources/>
<connections/>
Expand Down

0 comments on commit 1ae0a69

Please sign in to comment.