mirror of
				https://github.com/fralx/LimeReport.git
				synced 2025-10-31 05:11:56 +03:00 
			
		
		
		
	Dark theme updated
This commit is contained in:
		| @@ -267,6 +267,7 @@ QMenu::separator { | |||||||
| QMenu::indicator { | QMenu::indicator { | ||||||
|     width: 18px; |     width: 18px; | ||||||
|     height: 18px; |     height: 18px; | ||||||
|  |     padding-left: 4px; | ||||||
| } | } | ||||||
|  |  | ||||||
| /* non-exclusive indicator = check box style indicator | /* non-exclusive indicator = check box style indicator | ||||||
| @@ -1061,10 +1062,8 @@ QSlider::handle:vertical { | |||||||
| } | } | ||||||
|  |  | ||||||
| QToolButton { | QToolButton { | ||||||
| \\    background: #404040; |  | ||||||
|     color : white; |     color : white; | ||||||
|     border: 1px solid #404040; |     border: 1px solid transparent; | ||||||
| \\    border-radius: 2px; |  | ||||||
|     margin: 2px; |     margin: 2px; | ||||||
|     padding: 2px; |     padding: 2px; | ||||||
| } | } | ||||||
| @@ -1089,10 +1088,6 @@ QToolButton:disabled{ | |||||||
|     border: 1px transparent #2b2b2b; |     border: 1px transparent #2b2b2b; | ||||||
| } | } | ||||||
|  |  | ||||||
|  |  | ||||||
| QToolBar QToolButton{ |  | ||||||
|     border: 1px solid #383838; |  | ||||||
| } |  | ||||||
| \\ | \\ | ||||||
| \\QToolButton[popupMode="1"] { /* only for MenuButtonPopup */ | \\QToolButton[popupMode="1"] { /* only for MenuButtonPopup */ | ||||||
| \\ padding-right: 20px; /* make way for the popup button */ | \\ padding-right: 20px; /* make way for the popup button */ | ||||||
|   | |||||||
| @@ -1219,12 +1219,12 @@ void BaseDesignIntf::contextMenuEvent(QGraphicsSceneContextMenuEvent *event) | |||||||
|         page->clearSelection(); |         page->clearSelection(); | ||||||
|         this->setSelected(true); |         this->setSelected(true); | ||||||
|     } |     } | ||||||
|     QMenu menu; |     QMenu menu(event->widget()); | ||||||
|     QAction* copyAction = menu.addAction(QIcon(":/report/images/copy.png"), tr("Copy")); |     QAction* copyAction = menu.addAction(QIcon(":/report/images/copy"), tr("Copy")); | ||||||
|     copyAction->setShortcut(QKeySequence(Qt::CTRL + Qt::Key_C)); |     copyAction->setShortcut(QKeySequence(Qt::CTRL + Qt::Key_C)); | ||||||
|     QAction* cutAction = menu.addAction(QIcon(":/report/images/cut"), tr("Cut")); |     QAction* cutAction = menu.addAction(QIcon(":/report/images/cut"), tr("Cut")); | ||||||
|     cutAction->setShortcut(QKeySequence(Qt::CTRL + Qt::Key_X)); |     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->setShortcut(QKeySequence(Qt::CTRL + Qt::Key_V)); | ||||||
|     pasteAction->setEnabled(false); |     pasteAction->setEnabled(false); | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user