public MaxQuantMgfDistillerUI()
        {
            InitializeComponent();

            this.SetFileArgument("PeptideFile", new OpenFileArgument("BuildSummary Peptides", "peptides"));

            List <ITitleParser> allParsers = TitleParserUtils.GetTitleParsers();

            this.titleParsers = new RcpaComboBox <ITitleParser>(this.cbTitleFormat, "TitleFormat", allParsers.ToArray(), 0);
            AddComponent(this.titleParsers);

            this.mgfFiles = new RcpaListViewMultipleFileField(
                this.btnAddFiles,
                this.btnRemoveFiles,
                this.btnLoad,
                this.btnSave,
                this.lvMgfFiles,
                "MgfFiles",
                new OpenFileArgument("Mascot Generic Format", new string[] { "msm", "mgf" }),
                true,
                true);
            AddComponent(this.mgfFiles);

            this.singleFile = new RcpaCheckBox(cbSingleFile, "SingleFile", false);
            AddComponent(this.singleFile);

            this.singleFileName = new RcpaFileField(btnMgfFile, txtSingleFile, "SingleFilename", new SaveFileArgument("MGF", "mgf"), false);
            AddComponent(this.singleFileName);

            Text = Constants.GetSQHTitle(title, version);
        }
Exemple #2
0
        public MascotDatSummaryBuilderUI()
        {
            InitializeComponent();

            columnSorter = new ListViewColumnSorter();
            columnSorter.AttachToListView(lvDatFiles);

            this.filterByScore = new RcpaCheckBox(this.cbFilterByScore, "FilterByScore", true);
            AddComponent(this.filterByScore);

            this.minScore = new RcpaDoubleField(this.txtMinScore, "MinScore", "Min score", 25, true);
            AddComponent(this.minScore);

            this.filterByExpectValue = new RcpaCheckBox(this.cbFilterByEvalue, "FilterByEvalue", false);
            AddComponent(this.filterByExpectValue);

            this.maxExpectValue = new RcpaDoubleField(this.txtMaxEvalue, "MaxEvalue", "Max Evalue", 0.05, false);
            AddComponent(this.maxExpectValue);

            this.datFiles = new RcpaListViewMultipleFileField(
                this.btnAddFiles,
                this.btnRemoveFiles,
                this.btnLoad,
                this.btnSave,
                this.lvDatFiles,
                "DatFiles",
                new OpenFileArgument("Mascot Dat", "dat"),
                true,
                true);
            AddComponent(this.datFiles);

            Text = Constants.GetSQHTitle(title, UniformBuildSummaryUI.version);
        }
        public MzIdentDatasetPanel()
        {
            InitializeComponent();

            this.filterByScore = new RcpaCheckBox(this.cbFilterByScore, "FilterByScore", true);
            AddComponent(this.filterByScore);

            this.minScore = new RcpaDoubleField(this.txtMinScore, "MinScore", "Min score", 0, true);
            AddComponent(this.minScore);

            this.engines = new RcpaComboBox <SearchEngineType>(this.cbEngines, "SearchEngine", MzIdentParserFactory.Engines, 0, true, "Search engine that generated the result");
            AddComponent(this.engines);

            this.datFiles = new RcpaListViewMultipleFileField(
                this.btnAddFiles,
                this.btnRemoveFiles,
                this.btnLoad,
                this.btnSave,
                this.lvDatFiles,
                "MzIdentFiles",
                new OpenFileArgument("MzIdent", "mzid"),
                true,
                false);
            AddComponent(this.datFiles);
        }
Exemple #4
0
        public CometDatasetPanel()
        {
            InitializeComponent();

            this.filterByEvalue = new RcpaCheckBox(this.cbFilterByEvalue, "FilterByEvalue", false);
            AddComponent(this.filterByEvalue);

            this.maxEvalue = new RcpaDoubleField(this.txtMaxEvalue, "MaxEvalue", "Max Evalue", 0.05, true);
            AddComponent(this.maxEvalue);

            this.dataFiles = new RcpaListViewMultipleFileField(
                this.btnAddFiles,
                this.btnRemoveFiles,
                this.btnLoad,
                this.btnSave,
                this.lvDirectories,
                "Files",
                new OpenFileArgument("Comet Xml", new [] { "xml", "peptides" }, true),
                true,
                false);

            AddComponent(this.dataFiles);
        }