add findInFiles plugin

This commit is contained in:
2022-07-30 09:17:08 +02:00
parent 1a4006ca8f
commit 14c059e5aa
12 changed files with 247 additions and 11 deletions

15
src/ui/formgrid.py Normal file
View File

@@ -0,0 +1,15 @@
from PySide6.QtWidgets import QWidget, QGridLayout, QLabel
class FormGrid(QWidget):
def __init__(self):
super(FormGrid, self).__init__()
self.layout = QGridLayout(self)
self.row = -1
def addRow(self, *widgets: QWidget):
self.row = self.row + 1
col = -1
for widget in widgets:
col = col + 1
self.layout.addWidget(widget, self.row, col)