Skip to content
Snippets Groups Projects
Select Git revision
  • master
  • v1.1.0
  • 1.1.2
  • v1.2.0
  • 1.0.2
  • v1.0.1-a
  • v1.0.1
  • v1.0
  • v0.3
  • v0.2
  • v0.1.1
  • v0.1
12 results

Main.qml

Blame
  • Main.qml 54.33 KiB
    import QtQuick 2.4
    import QtQuick.Controls 1.3
    import QtQuick.Controls.Styles 1.3
    import QtQuick.Window 2.2
    import QtQuick.Dialogs 1.2
    import QtQuick.Layouts 1.1
    import QtProcess 0.1
    import HttpUploader 0.1
    import QtQuick.LocalStorage 2.0
    import Qt.labs.settings 1.0
    import QtQml 2.2
    
    import "component-utils.js" as Utils
    
    ApplicationWindow {
    
        id: app
        title: qsTr("ISMARA client")
    
        width: 820
        height: 700
    
        minimumWidth: 820
        minimumHeight: 700
    
        maximumWidth: 1200
        maximumHeight: 900
    
        visible: true
    
        SystemPalette{
            id: palette
            colorGroup: SystemPalette.Active
        }
    
        //color: palette.window
    
        // Global variables
        // USE x.y.z (single digits) and nothing else
        property string version:       "1.1.2"
        property string updateVersion:       ""
        //property string versionCheckServer: "https://ismara.unibas.ch/ISMARA/client/installers/"
        property string versionCheckServer: "http://ismara.unibas.ch/fcgi/client_version_check"
        property string updateMessage: ""
        property string programTitle:   "ISMARA client"
        property string progName:       "microarray"
        property string genomeName:     "hg19"
        property string matrixName:     "SwissReg_TargetScan"
        property string expressionFile: "expression.tab"
        property string fileList:       ""
        property string emailValue:     ""
        property string projectName:    ""
        property string resultPath:     ""
        property string uploadServer: "http://ismara.unibas.ch/fcgi/mara/client"
        property string faqUrl:       "http://mara.unibas.ch/MARA/FAQ/faq.html"
        property string contactUrl:       "mailto: helpdesk@expasy.org"+"?subject=[ISMARA]"
        property string resultUrl:    ""
        property string resultText: ""
        property double uploadProgress: 0
        property string uploadedState:  ""
        property bool uploadOK: true
        property string scriptOutput: ""
        property string standardMsgJson: ""
        property string errorMsgJson: ""
        property string colorMsg: "steelblue"
        property string colorError: "red"
        property string colorDefault: "steelblue"
        property real fileCount: 0
        property real progress_total: 0
        property var flag: new Object({filesareOK: false})