Browse Source

Add lines between menu, toolbar and plugins on the carla-vst

tags/1.9.5
falkTX 10 years ago
parent
commit
ccb9bb5b01
1 changed files with 10 additions and 0 deletions
  1. +10
    -0
      source/modules/native-plugins/resources/carla-plugin

+ 10
- 0
source/modules/native-plugins/resources/carla-plugin View File

@@ -359,7 +359,9 @@ if LINUX and not config_UseQt5:
#menuBar.removeAction(gui.ui.menu_File.menuAction())

self.addWidget(gui.menuBar())
self.addLine()
self.addWidget(gui.ui.toolBar)
self.addLine()
self.addWidget(gui.centralWidget())

self.setFixedSize(740, 512)
@@ -370,6 +372,14 @@ if LINUX and not config_UseQt5:
widget.setParent(self)
self.fLayout.addWidget(widget)

def addLine(self):
line = QFrame(self)
line.setFrameShadow(QFrame.Sunken)
line.setFrameShape(QFrame.HLine)
line.setLineWidth(0)
line.setMidLineWidth(1)
self.fLayout.addWidget(line)

def showEvent(self, event):
QX11EmbedWidget.showEvent(self, event)



Loading…
Cancel
Save