mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-24 05:45:27 +00:00
Temp fix for seek arrows color
This commit is contained in:
parent
a1fba8e6b1
commit
1b7462327e
@ -114,20 +114,6 @@ void MainWindow::initUI()
|
|||||||
QTabBar *centralbar = ui->centralTabWidget->tabBar();
|
QTabBar *centralbar = ui->centralTabWidget->tabBar();
|
||||||
centralbar->setVisible(false);
|
centralbar->setVisible(false);
|
||||||
|
|
||||||
// Sepparator between back/forward and undo/redo buttons
|
|
||||||
QWidget *spacer4 = new QWidget();
|
|
||||||
spacer4->setSizePolicy(QSizePolicy::Fixed, QSizePolicy::Expanding);
|
|
||||||
spacer4->setMinimumSize(10, 10);
|
|
||||||
ui->mainToolBar->insertWidget(ui->actionForward, spacer4);
|
|
||||||
ui->actionForward->setIcon(QIcon(new SvgIconEngine(QString(":/img/icons/arrow_right.svg"))));
|
|
||||||
|
|
||||||
// Popup menu on theme toolbar button
|
|
||||||
QToolButton *backButton = new QToolButton(this);
|
|
||||||
backButton->setIcon(QIcon(new SvgIconEngine(QString(":/img/icons/arrow_left.svg"))));
|
|
||||||
//backButton->setPopupMode(QToolButton::DelayedPopup);
|
|
||||||
ui->mainToolBar->insertWidget(ui->actionForward, backButton);
|
|
||||||
connect(backButton, SIGNAL(clicked()), this, SLOT(backButton_clicked()));
|
|
||||||
|
|
||||||
// Sepparator between undo/redo and goto lineEdit
|
// Sepparator between undo/redo and goto lineEdit
|
||||||
QWidget *spacer3 = new QWidget();
|
QWidget *spacer3 = new QWidget();
|
||||||
spacer3->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
|
spacer3->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
|
||||||
@ -508,11 +494,6 @@ void MainWindow::toggleDockWidget(QDockWidget *dock_widget, bool show)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void MainWindow::backButton_clicked()
|
|
||||||
{
|
|
||||||
core->seekPrev();
|
|
||||||
}
|
|
||||||
|
|
||||||
void MainWindow::restoreDocks()
|
void MainWindow::restoreDocks()
|
||||||
{
|
{
|
||||||
// In the upper half the functions are the first widget
|
// In the upper half the functions are the first widget
|
||||||
@ -688,16 +669,6 @@ void MainWindow::on_actionSaveAs_triggered()
|
|||||||
saveProjectAs();
|
saveProjectAs();
|
||||||
}
|
}
|
||||||
|
|
||||||
void MainWindow::on_actionUndoSeek_triggered()
|
|
||||||
{
|
|
||||||
Core()->seekPrev();
|
|
||||||
}
|
|
||||||
|
|
||||||
void MainWindow::on_actionRedoSeek_triggered()
|
|
||||||
{
|
|
||||||
Core()->seekNext();
|
|
||||||
}
|
|
||||||
|
|
||||||
void MainWindow::on_actionRun_Script_triggered()
|
void MainWindow::on_actionRun_Script_triggered()
|
||||||
{
|
{
|
||||||
QFileDialog dialog(this);
|
QFileDialog dialog(this);
|
||||||
@ -749,9 +720,24 @@ void MainWindow::on_actionQuit_triggered()
|
|||||||
close();
|
close();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void MainWindow::on_actionBackward_triggered()
|
||||||
|
{
|
||||||
|
Core()->seekPrev();
|
||||||
|
}
|
||||||
|
|
||||||
void MainWindow::on_actionForward_triggered()
|
void MainWindow::on_actionForward_triggered()
|
||||||
{
|
{
|
||||||
core->seekNext();
|
Core()->seekNext();
|
||||||
|
}
|
||||||
|
|
||||||
|
void MainWindow::on_actionUndoSeek_triggered()
|
||||||
|
{
|
||||||
|
Core()->seekPrev();
|
||||||
|
}
|
||||||
|
|
||||||
|
void MainWindow::on_actionRedoSeek_triggered()
|
||||||
|
{
|
||||||
|
Core()->seekNext();
|
||||||
}
|
}
|
||||||
|
|
||||||
void MainWindow::on_actionDisasAdd_comment_triggered()
|
void MainWindow::on_actionDisasAdd_comment_triggered()
|
||||||
|
@ -109,8 +109,6 @@ public slots:
|
|||||||
|
|
||||||
void toggleResponsive(bool maybe);
|
void toggleResponsive(bool maybe);
|
||||||
|
|
||||||
void backButton_clicked();
|
|
||||||
|
|
||||||
private slots:
|
private slots:
|
||||||
void on_actionAbout_triggered();
|
void on_actionAbout_triggered();
|
||||||
|
|
||||||
@ -127,13 +125,13 @@ private slots:
|
|||||||
void on_actionSave_triggered();
|
void on_actionSave_triggered();
|
||||||
void on_actionSaveAs_triggered();
|
void on_actionSaveAs_triggered();
|
||||||
|
|
||||||
|
void on_actionBackward_triggered();
|
||||||
|
void on_actionForward_triggered();
|
||||||
void on_actionUndoSeek_triggered();
|
void on_actionUndoSeek_triggered();
|
||||||
void on_actionRedoSeek_triggered();
|
void on_actionRedoSeek_triggered();
|
||||||
|
|
||||||
void on_actionOpen_triggered();
|
void on_actionOpen_triggered();
|
||||||
|
|
||||||
void on_actionForward_triggered();
|
|
||||||
|
|
||||||
void on_actionTabs_on_Top_triggered();
|
void on_actionTabs_on_Top_triggered();
|
||||||
|
|
||||||
void on_actionReset_settings_triggered();
|
void on_actionReset_settings_triggered();
|
||||||
|
@ -61,15 +61,7 @@ QToolTip {
|
|||||||
color: rgb(232, 232, 232);
|
color: rgb(232, 232, 232);
|
||||||
font: 11pt "Monaco";
|
font: 11pt "Monaco";
|
||||||
}
|
}
|
||||||
/*
|
</string>
|
||||||
QDockWidget::title {
|
|
||||||
background: rgb(64, 66, 68);
|
|
||||||
}
|
|
||||||
|
|
||||||
QDockWidget {
|
|
||||||
color: rgb(232, 232, 232);
|
|
||||||
}
|
|
||||||
*/</string>
|
|
||||||
</property>
|
</property>
|
||||||
<property name="documentMode">
|
<property name="documentMode">
|
||||||
<bool>false</bool>
|
<bool>false</bool>
|
||||||
@ -282,21 +274,21 @@ border-top: 0px;
|
|||||||
<string notr="true">Main toolbar</string>
|
<string notr="true">Main toolbar</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="styleSheet">
|
<property name="styleSheet">
|
||||||
<string notr="true">QToolButton { /* all types of tool button */
|
<string notr="true">
|
||||||
margin-bottom: 1px;
|
QToolButton {
|
||||||
margin-top: 1px;
|
margin: 1px;
|
||||||
margin-left: 2px;
|
margin-left: 2px;
|
||||||
margin-right: 2px;
|
margin-right: 2px;
|
||||||
padding: 2px;
|
padding: 2px;
|
||||||
padding-left: 7px;
|
padding-left: 7px;
|
||||||
padding-right: 7px;
|
padding-right: 7px;
|
||||||
background-color: palette(light);
|
border-radius: 6px;
|
||||||
border-radius: 6px;
|
background-color: #ffffff;
|
||||||
}
|
}
|
||||||
|
|
||||||
QToolButton:pressed {
|
QToolButton:pressed {
|
||||||
background-color: palette(dark);
|
background-color: palette(dark);
|
||||||
}</string>
|
}
|
||||||
|
</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="movable">
|
<property name="movable">
|
||||||
<bool>false</bool>
|
<bool>false</bool>
|
||||||
@ -316,6 +308,7 @@ QToolButton:pressed {
|
|||||||
<attribute name="toolBarBreak">
|
<attribute name="toolBarBreak">
|
||||||
<bool>false</bool>
|
<bool>false</bool>
|
||||||
</attribute>
|
</attribute>
|
||||||
|
<addaction name="actionBackward"/>
|
||||||
<addaction name="actionForward"/>
|
<addaction name="actionForward"/>
|
||||||
</widget>
|
</widget>
|
||||||
<action name="actionDefault">
|
<action name="actionDefault">
|
||||||
@ -432,7 +425,7 @@ QToolButton:pressed {
|
|||||||
<string>Find previous</string>
|
<string>Find previous</string>
|
||||||
</property>
|
</property>
|
||||||
</action>
|
</action>
|
||||||
<action name="actionBack">
|
<action name="actionBackward">
|
||||||
<property name="icon">
|
<property name="icon">
|
||||||
<iconset resource="resources.qrc">
|
<iconset resource="resources.qrc">
|
||||||
<normaloff>:/img/icons/arrow_left.svg</normaloff>:/img/icons/arrow_left.svg</iconset>
|
<normaloff>:/img/icons/arrow_left.svg</normaloff>:/img/icons/arrow_left.svg</iconset>
|
||||||
|
Loading…
Reference in New Issue
Block a user