-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5e312ed
commit dc5fb6d
Showing
5 changed files
with
349 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import pkg_resources | ||
|
||
from PyQt5 import uic, QtWidgets | ||
|
||
|
||
class FilterPanel(QtWidgets.QWidget): | ||
def __init__(self, *args, **kwargs): | ||
QtWidgets.QWidget.__init__(self) | ||
path_ui = pkg_resources.resource_filename( | ||
"shapeout2.gui", "ana_filter.ui") | ||
uic.loadUi(path_ui, self) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,208 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<ui version="4.0"> | ||
<class>Form</class> | ||
<widget class="QWidget" name="Form"> | ||
<property name="geometry"> | ||
<rect> | ||
<x>0</x> | ||
<y>0</y> | ||
<width>701</width> | ||
<height>536</height> | ||
</rect> | ||
</property> | ||
<property name="windowTitle"> | ||
<string>Form</string> | ||
</property> | ||
<layout class="QVBoxLayout" name="verticalLayout"> | ||
<item> | ||
<layout class="QHBoxLayout" name="horizontalLayout"> | ||
<item> | ||
<widget class="QLabel" name="label"> | ||
<property name="text"> | ||
<string>Filter set</string> | ||
</property> | ||
</widget> | ||
</item> | ||
<item> | ||
<widget class="QComboBox" name="comboBox"/> | ||
</item> | ||
<item> | ||
<spacer name="horizontalSpacer_2"> | ||
<property name="orientation"> | ||
<enum>Qt::Horizontal</enum> | ||
</property> | ||
<property name="sizeType"> | ||
<enum>QSizePolicy::Fixed</enum> | ||
</property> | ||
<property name="sizeHint" stdset="0"> | ||
<size> | ||
<width>30</width> | ||
<height>20</height> | ||
</size> | ||
</property> | ||
</spacer> | ||
</item> | ||
<item> | ||
<widget class="QPushButton" name="pushButton"> | ||
<property name="text"> | ||
<string>Duplicate</string> | ||
</property> | ||
</widget> | ||
</item> | ||
<item> | ||
<widget class="QPushButton" name="pushButton_2"> | ||
<property name="text"> | ||
<string>Remove</string> | ||
</property> | ||
</widget> | ||
</item> | ||
<item> | ||
<spacer name="horizontalSpacer"> | ||
<property name="orientation"> | ||
<enum>Qt::Horizontal</enum> | ||
</property> | ||
<property name="sizeHint" stdset="0"> | ||
<size> | ||
<width>40</width> | ||
<height>20</height> | ||
</size> | ||
</property> | ||
</spacer> | ||
</item> | ||
</layout> | ||
</item> | ||
<item> | ||
<widget class="Line" name="line"> | ||
<property name="orientation"> | ||
<enum>Qt::Horizontal</enum> | ||
</property> | ||
</widget> | ||
</item> | ||
<item> | ||
<layout class="QVBoxLayout" name="verticalLayout_5"> | ||
<property name="leftMargin"> | ||
<number>9</number> | ||
</property> | ||
<property name="topMargin"> | ||
<number>0</number> | ||
</property> | ||
<item> | ||
<layout class="QVBoxLayout" name="verticalLayout_2"> | ||
<item> | ||
<layout class="QHBoxLayout" name="horizontalLayout_3"> | ||
<property name="topMargin"> | ||
<number>0</number> | ||
</property> | ||
<item> | ||
<widget class="QLabel" name="label_2"> | ||
<property name="text"> | ||
<string>Name</string> | ||
</property> | ||
</widget> | ||
</item> | ||
<item> | ||
<widget class="QLineEdit" name="lineEdit"/> | ||
</item> | ||
</layout> | ||
</item> | ||
<item> | ||
<widget class="QCheckBox" name="checkBox_4"> | ||
<property name="text"> | ||
<string>Use this filter</string> | ||
</property> | ||
<property name="checked"> | ||
<bool>true</bool> | ||
</property> | ||
</widget> | ||
</item> | ||
<item> | ||
<layout class="QHBoxLayout" name="horizontalLayout_2"> | ||
<property name="topMargin"> | ||
<number>0</number> | ||
</property> | ||
<item> | ||
<widget class="QCheckBox" name="checkBox_2"> | ||
<property name="toolTip"> | ||
<string>Set an upper limit for the number of events; Surplus events are removed randomly, but in a reproducible manner.</string> | ||
</property> | ||
<property name="text"> | ||
<string>Limit number of events to</string> | ||
</property> | ||
</widget> | ||
</item> | ||
<item> | ||
<widget class="QSpinBox" name="spinBox"> | ||
<property name="minimum"> | ||
<number>1</number> | ||
</property> | ||
<property name="maximum"> | ||
<number>999999999</number> | ||
</property> | ||
<property name="singleStep"> | ||
<number>1000</number> | ||
</property> | ||
<property name="value"> | ||
<number>1000</number> | ||
</property> | ||
</widget> | ||
</item> | ||
<item> | ||
<spacer name="horizontalSpacer_3"> | ||
<property name="orientation"> | ||
<enum>Qt::Horizontal</enum> | ||
</property> | ||
<property name="sizeHint" stdset="0"> | ||
<size> | ||
<width>40</width> | ||
<height>20</height> | ||
</size> | ||
</property> | ||
</spacer> | ||
</item> | ||
</layout> | ||
</item> | ||
<item> | ||
<widget class="QCheckBox" name="checkBox"> | ||
<property name="toolTip"> | ||
<string>Remove events that are nan- or inf-valued for any feature</string> | ||
</property> | ||
<property name="text"> | ||
<string>Remove invalid events</string> | ||
</property> | ||
</widget> | ||
</item> | ||
</layout> | ||
</item> | ||
<item> | ||
<widget class="QGroupBox" name="groupBox_2"> | ||
<property name="sizePolicy"> | ||
<sizepolicy hsizetype="Preferred" vsizetype="Expanding"> | ||
<horstretch>0</horstretch> | ||
<verstretch>0</verstretch> | ||
</sizepolicy> | ||
</property> | ||
<property name="title"> | ||
<string>Box filters</string> | ||
</property> | ||
</widget> | ||
</item> | ||
<item> | ||
<widget class="QGroupBox" name="groupBox"> | ||
<property name="sizePolicy"> | ||
<sizepolicy hsizetype="Preferred" vsizetype="Expanding"> | ||
<horstretch>0</horstretch> | ||
<verstretch>0</verstretch> | ||
</sizepolicy> | ||
</property> | ||
<property name="title"> | ||
<string>Polygon filters</string> | ||
</property> | ||
</widget> | ||
</item> | ||
</layout> | ||
</item> | ||
</layout> | ||
</widget> | ||
<resources/> | ||
<connections/> | ||
</ui> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import pkg_resources | ||
|
||
from PyQt5 import uic, QtWidgets | ||
|
||
|
||
class MetaPanel(QtWidgets.QWidget): | ||
def __init__(self, *args, **kwargs): | ||
QtWidgets.QWidget.__init__(self) | ||
path_ui = pkg_resources.resource_filename( | ||
"shapeout2.gui", "ana_meta.ui") | ||
uic.loadUi(path_ui, self) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<ui version="4.0"> | ||
<class>Form</class> | ||
<widget class="QWidget" name="Form"> | ||
<property name="geometry"> | ||
<rect> | ||
<x>0</x> | ||
<y>0</y> | ||
<width>700</width> | ||
<height>532</height> | ||
</rect> | ||
</property> | ||
<property name="windowTitle"> | ||
<string>Form</string> | ||
</property> | ||
<layout class="QGridLayout" name="gridLayout"> | ||
<item row="0" column="2"> | ||
<widget class="QGroupBox" name="groupBox_3"> | ||
<property name="title"> | ||
<string>Imaging</string> | ||
</property> | ||
<layout class="QVBoxLayout" name="verticalLayout_3"/> | ||
</widget> | ||
</item> | ||
<item row="0" column="0"> | ||
<widget class="QGroupBox" name="groupBox"> | ||
<property name="title"> | ||
<string>Experiment</string> | ||
</property> | ||
<layout class="QVBoxLayout" name="verticalLayout"/> | ||
</widget> | ||
</item> | ||
<item row="0" column="1"> | ||
<widget class="QGroupBox" name="groupBox_2"> | ||
<property name="title"> | ||
<string>Setup</string> | ||
</property> | ||
<layout class="QVBoxLayout" name="verticalLayout_2"/> | ||
</widget> | ||
</item> | ||
<item row="1" column="0"> | ||
<widget class="QGroupBox" name="groupBox_4"> | ||
<property name="title"> | ||
<string>Fluorescence</string> | ||
</property> | ||
<layout class="QVBoxLayout" name="verticalLayout_4"/> | ||
</widget> | ||
</item> | ||
<item row="1" column="1"> | ||
<widget class="QGroupBox" name="groupBox_5"> | ||
<property name="title"> | ||
<string>Online Filter</string> | ||
</property> | ||
<property name="checkable"> | ||
<bool>false</bool> | ||
</property> | ||
<layout class="QVBoxLayout" name="verticalLayout_5"/> | ||
</widget> | ||
</item> | ||
<item row="1" column="2"> | ||
<widget class="QGroupBox" name="groupBox_6"> | ||
<property name="title"> | ||
<string>Online Contour</string> | ||
</property> | ||
<layout class="QVBoxLayout" name="verticalLayout_6"/> | ||
</widget> | ||
</item> | ||
</layout> | ||
</widget> | ||
<resources/> | ||
<connections/> | ||
</ui> |
Oops, something went wrong.