add findInFiles plugin
This commit is contained in:
15
src/ui/formgrid.py
Normal file
15
src/ui/formgrid.py
Normal 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)
|
||||
Reference in New Issue
Block a user