Skip to content

Commit

Permalink
Merge pull request #2 from Sense-Scape/random-features
Browse files Browse the repository at this point in the history
Random features
  • Loading branch information
Grabt234 authored Oct 7, 2024
2 parents 0a09788 + 0e6e7ea commit 3460999
Show file tree
Hide file tree
Showing 5 changed files with 246 additions and 110 deletions.
21 changes: 21 additions & 0 deletions Components/HorizontalLabelComboBox.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
from PyQt6.QtGui import *
from PyQt6.QtWidgets import *
from PyQt6.QtCore import *


class HorizontalLabelComboBox(QWidget):
def __init__(self, description, items, parent=None):
super().__init__(parent)
layout = QHBoxLayout(self)

self.description_label = QLabel(description)
self.combo_box = QComboBox(self)
self.combo_box.addItems(items)

layout.addWidget(self.description_label)
layout.addWidget(self.combo_box)

self.setLayout(layout)

def getInputText(self):
return self.combo_box.currentText()
Binary file not shown.
2 changes: 2 additions & 0 deletions PlotConfig.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
class PlotConfig:
pass
Binary file added __pycache__/PlotConfig.cpython-312.pyc
Binary file not shown.
Loading

0 comments on commit 3460999

Please sign in to comment.