[icons] update icons and tiny layout changes
This commit is contained in:
parent
ea68f49d21
commit
fa776a8cdb
@ -18,7 +18,7 @@ def main():
|
||||
app.setApplicationName(cnst.application_name)
|
||||
app.setApplicationVersion(str(cnst.application_version))
|
||||
app.setOrganizationDomain(cnst.organization_name)
|
||||
app.setWindowIcon(QIcon(":/icons/app_icon_png"))
|
||||
# app.setWindowIcon(QIcon(":/icons/app_icon_png"))
|
||||
settings = QSettings()
|
||||
width = int(settings.value("app/width", 1024))
|
||||
height = int(settings.value("app/height", 768))
|
||||
|
@ -28,14 +28,22 @@ class AudioBlop(QWidget):
|
||||
icon_label.setPixmap(QPixmap(":/icons/auditory_task"))
|
||||
grid.addWidget(icon_label, 0, 0, Qt.AlignLeft)
|
||||
|
||||
heading_label = QLabel("Measurement of auditory reaction times\npress enter to start")
|
||||
heading_label = QLabel("Measurement of auditory reaction times")
|
||||
font = QFont()
|
||||
font.setBold(True)
|
||||
font.setPointSize(20)
|
||||
font.setPointSize(24)
|
||||
heading_label.setFont(font)
|
||||
heading_label.setStyleSheet("color: #2D4B9A")
|
||||
grid.addWidget(heading_label, 1, 0, 1, 2, Qt.AlignLeft)
|
||||
grid.addWidget(heading_label, 0, 1, 1, 2, Qt.AlignLeft)
|
||||
|
||||
instruction_label = QLabel("* press enter to start\n* press spacebar once you recognize the stimulus")
|
||||
font = QFont()
|
||||
font.setBold(True)
|
||||
font.setPointSize(16)
|
||||
instruction_label.setFont(font)
|
||||
instruction_label.setStyleSheet("color: #2D4B9A")
|
||||
grid.addWidget(instruction_label, 1, 1, 1, 2, Qt.AlignLeft)
|
||||
|
||||
settings_btn = QPushButton(QIcon(":/icons/settings"), "")
|
||||
settings_btn.setToolTip("edit task settings")
|
||||
settings_btn.setShortcut(QKeySequence("alt+s"))
|
||||
|
@ -26,14 +26,22 @@ class VisualBlip(QWidget):
|
||||
icon_label.setPixmap(QPixmap(":/icons/visual_task"))
|
||||
grid.addWidget(icon_label, 0, 0, Qt.AlignLeft)
|
||||
|
||||
heading_label = QLabel("Measurement of visual reaction times\npress enter to start")
|
||||
heading_label = QLabel("Measurement of visual reaction times")
|
||||
font = QFont()
|
||||
font.setBold(True)
|
||||
font.setPointSize(20)
|
||||
font.setPointSize(24)
|
||||
heading_label.setFont(font)
|
||||
heading_label.setStyleSheet("color: #2D4B9A")
|
||||
grid.addWidget(heading_label, 1, 0, 1, 2, Qt.AlignLeft)
|
||||
grid.addWidget(heading_label, 0, 1, 1, 2, Qt.AlignLeft)
|
||||
|
||||
instruction_label = QLabel("* press enter to start\n* press spacebar once you recognize the stimulus")
|
||||
font = QFont()
|
||||
font.setBold(True)
|
||||
font.setPointSize(16)
|
||||
instruction_label.setFont(font)
|
||||
instruction_label.setStyleSheet("color: #2D4B9A")
|
||||
grid.addWidget(instruction_label, 1, 1, 1, 2, Qt.AlignLeft)
|
||||
|
||||
settings_btn = QPushButton(QIcon(":/icons/settings"), "")
|
||||
settings_btn.setToolTip("edit task settings")
|
||||
settings_btn.setShortcut(QKeySequence("alt+s"))
|
||||
|
@ -55,6 +55,7 @@ app = BUNDLE(exe,
|
||||
name='BlipBlop.app',
|
||||
icon='icons/blipblop_logo.icns',
|
||||
bundle_identifier='de.uni-tuebingen.neuroetho.blipblop',
|
||||
version="0.1.0",
|
||||
info_plist={
|
||||
'NSPrincipalClass': 'NSApplication',
|
||||
'NSAppleScriptEnabled': False,
|
||||
|
Binary file not shown.
Binary file not shown.
Before Width: | Height: | Size: 34 KiB After Width: | Height: | Size: 43 KiB |
Binary file not shown.
Before Width: | Height: | Size: 37 KiB After Width: | Height: | Size: 49 KiB |
Loading…
Reference in New Issue
Block a user