mirror of
https://github.com/fralx/LimeReport.git
synced 2024-12-23 16:22:58 +03:00
Dark theme updated
This commit is contained in:
parent
977be6cf77
commit
bac39060bf
11
3rdparty/dark_style_sheet/qdarkstyle/style.qss
vendored
11
3rdparty/dark_style_sheet/qdarkstyle/style.qss
vendored
@ -267,12 +267,13 @@ QMenu::separator {
|
||||
QMenu::indicator {
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
padding-left: 4px;
|
||||
}
|
||||
|
||||
/* non-exclusive indicator = check box style indicator
|
||||
(see QActionGroup::setExclusive) */
|
||||
QMenu::indicator:non-exclusive:unchecked {
|
||||
image: url(:/qss_icons/rc/checkbox_unchecked.png);
|
||||
image: url(:/qss_icons/rc/checkbox_unchecked.png);
|
||||
}
|
||||
|
||||
QMenu::indicator:non-exclusive:unchecked:selected {
|
||||
@ -1061,10 +1062,8 @@ QSlider::handle:vertical {
|
||||
}
|
||||
|
||||
QToolButton {
|
||||
\\ background: #404040;
|
||||
color : white;
|
||||
border: 1px solid #404040;
|
||||
\\ border-radius: 2px;
|
||||
border: 1px solid transparent;
|
||||
margin: 2px;
|
||||
padding: 2px;
|
||||
}
|
||||
@ -1089,10 +1088,6 @@ QToolButton:disabled{
|
||||
border: 1px transparent #2b2b2b;
|
||||
}
|
||||
|
||||
|
||||
QToolBar QToolButton{
|
||||
border: 1px solid #383838;
|
||||
}
|
||||
\\
|
||||
\\QToolButton[popupMode="1"] { /* only for MenuButtonPopup */
|
||||
\\ padding-right: 20px; /* make way for the popup button */
|
||||
|
@ -1219,12 +1219,12 @@ void BaseDesignIntf::contextMenuEvent(QGraphicsSceneContextMenuEvent *event)
|
||||
page->clearSelection();
|
||||
this->setSelected(true);
|
||||
}
|
||||
QMenu menu;
|
||||
QAction* copyAction = menu.addAction(QIcon(":/report/images/copy.png"), tr("Copy"));
|
||||
QMenu menu(event->widget());
|
||||
QAction* copyAction = menu.addAction(QIcon(":/report/images/copy"), tr("Copy"));
|
||||
copyAction->setShortcut(QKeySequence(Qt::CTRL + Qt::Key_C));
|
||||
QAction* cutAction = menu.addAction(QIcon(":/report/images/cut"), tr("Cut"));
|
||||
cutAction->setShortcut(QKeySequence(Qt::CTRL + Qt::Key_X));
|
||||
QAction* pasteAction = menu.addAction(QIcon(":/report/images/paste.png"), tr("Paste"));
|
||||
QAction* pasteAction = menu.addAction(QIcon(":/report/images/paste"), tr("Paste"));
|
||||
pasteAction->setShortcut(QKeySequence(Qt::CTRL + Qt::Key_V));
|
||||
pasteAction->setEnabled(false);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user