mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-03-10 16:14:29 +00:00
Qt: improve docks and toolbar flat style
This commit is contained in:
parent
b9c9bb30ba
commit
544f8711f0
@ -332,7 +332,7 @@ void rpcs3_app::OnChangeStyleSheetRequest(const QString& path)
|
||||
"QSlider#sizeSlider::groove:horizontal { border-radius: .15em; background: #5b5b5b; height: .3em; }"
|
||||
|
||||
// main window toolbar
|
||||
"QToolBar#mw_toolbar { background-color: #F0F0F0; }"
|
||||
"QToolBar#mw_toolbar { background-color: #F0F0F0; border: none; }"
|
||||
"QToolBar#mw_toolbar::separator { background-color: rgba(207, 207, 207, 235); width: 0.125em; margin-top: 0.250em; margin-bottom: 0.250em; }"
|
||||
|
||||
// main window toolbar icon color
|
||||
@ -345,11 +345,20 @@ void rpcs3_app::OnChangeStyleSheetRequest(const QString& path)
|
||||
"QLabel#gamelist_icon_background_color { color: rgba(36, 36, 36, 255); }"
|
||||
|
||||
// tables
|
||||
"QTableWidget { alternate-background-color: #f2f2f2; background-color: #fff; }"
|
||||
"QTableWidget#game_grid { alternate-background-color: #f2f2f2; background-color: #fff; font-weight: 600; font-size: 8pt; font-family: Lucida Grande; color: rgba(51, 51, 51, 255); }"
|
||||
"QTableWidget { alternate-background-color: #f2f2f2; background-color: #fff; border: none; }"
|
||||
"QTableWidget#game_grid { alternate-background-color: #f2f2f2; background-color: #fff; font-weight: 600; font-size: 8pt; font-family: Lucida Grande; color: rgba(51, 51, 51, 255); border: 0em solid white; }"
|
||||
"QTableView::item { border-left: 0.063em solid white; border-right: 0.063em solid white; padding-left:0.313em; }"
|
||||
"QTableView::item:selected { background-color: #148aff; color: #fff; }"
|
||||
"QTableView#game_grid::item:hover:!selected { background-color: #94c9ff; color: #fff; }"
|
||||
"QTableView#game_grid::item:hover:selected { background-color: #007fff; color: #fff; }"
|
||||
"QHeaderView::section { padding-left: .5em; padding-right: .5em; padding-top: .4em; padding-bottom: -.1em; border: 0.063em solid #ffffff; }"
|
||||
"QHeaderView::section:hover { background: #e3e3e3; padding-left: .5em; padding-right: .5em; padding-top: .4em; padding-bottom: -.1em; border: 0.063em solid #ffffff; }"
|
||||
|
||||
// dock widget
|
||||
"QDockWidget{ background: transparent; color: black; }"
|
||||
"[floating = \"true\"]{ background: white; }"
|
||||
"QDockWidget::title{ background: #e3e3e3; border: none; padding-top: 0.2em; padding-left: 0.2em; }"
|
||||
"QDockWidget::close-button, QDockWidget::float-button{ background-color: #e3e3e3; }"
|
||||
|
||||
// log frame tty
|
||||
"QTextEdit#tty_frame { background-color: #ffffff; }"
|
||||
|
@ -15,6 +15,8 @@ extern bool user_asked_for_frame_capture;
|
||||
debugger_frame::debugger_frame(std::shared_ptr<gui_settings> settings, QWidget *parent)
|
||||
: custom_dock_widget(tr("Debugger"), parent), xgui_settings(settings)
|
||||
{
|
||||
setContentsMargins(0, 0, 0, 0);
|
||||
|
||||
m_update = new QTimer(this);
|
||||
connect(m_update, &QTimer::timeout, this, &debugger_frame::UpdateUI);
|
||||
EnableUpdateTimer(true);
|
||||
@ -23,8 +25,10 @@ debugger_frame::debugger_frame(std::shared_ptr<gui_settings> settings, QWidget *
|
||||
m_mono.setPointSize(10);
|
||||
|
||||
QVBoxLayout* vbox_p_main = new QVBoxLayout();
|
||||
QHBoxLayout* hbox_b_main = new QHBoxLayout();
|
||||
vbox_p_main->setContentsMargins(5, 5, 5, 5);
|
||||
|
||||
QHBoxLayout* hbox_b_main = new QHBoxLayout();
|
||||
hbox_b_main->setContentsMargins(0, 0, 0, 0);
|
||||
|
||||
m_breakpoint_handler = new breakpoint_handler();
|
||||
m_debugger_list = new debugger_list(this, settings, m_breakpoint_handler);
|
||||
|
Loading…
x
Reference in New Issue
Block a user