mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-23 21:35:28 +00:00
5fc6112ca0
- remove unsued constructor parameter. MainWindow is a QWidget - remove duplicated code. Call MainWindow::setWebServerState
50 lines
714 B
C++
50 lines
714 B
C++
#ifndef SIDEBAR_H
|
|
#define SIDEBAR_H
|
|
|
|
#include <QWidget>
|
|
|
|
class MainWindow;
|
|
|
|
namespace Ui {
|
|
class SideBar;
|
|
}
|
|
|
|
class SideBar : public QWidget
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit SideBar(MainWindow *main);
|
|
~SideBar();
|
|
|
|
public slots:
|
|
|
|
void themesButtonToggle();
|
|
|
|
private slots:
|
|
|
|
void on_tabsButton_clicked();
|
|
|
|
void on_consoleButton_clicked();
|
|
|
|
void on_webServerButton_clicked();
|
|
|
|
void on_lockButton_clicked();
|
|
|
|
void on_themesButton_clicked();
|
|
|
|
void on_calcInput_textChanged(const QString &arg1);
|
|
|
|
void on_asm2hex_clicked();
|
|
|
|
void on_hex2asm_clicked();
|
|
|
|
void on_respButton_toggled(bool checked);
|
|
|
|
private:
|
|
Ui::SideBar *ui;
|
|
MainWindow *main;
|
|
};
|
|
|
|
#endif // SIDEBAR_H
|