constants.xml 5.18 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
<?xml version="1.0"?>
<MystiQConstants>
  <!-- Options may contain an optional attribute "type" to indicate its data
       type. Options without the type attributes are considered strings. -->

  <!-- Whether the program is a portable application. This option only works if
       the operating system is Microsoft Windows. If the program is in portable
       mode, the settings file is written to
          (MystiQ Directory)/mystiq.ini.
       Otherwise, it is written to
          (Home Directory)/.mystiq/mystiq.ini. -->
  <Portable type="boolean">false</Portable>

  <!-- video file extensions used in the file open dialog -->
  <VideoExtensions>
     avi vfw divx mpg mpeg m1v m2v mpv dv 3gp mov mp4 m4v mqv dat vcd ogg ogm
     ogv asf wmv bin iso vob mkv nsv ram flv rm swf ts rmvb dvr-ms m2t m2ts rec
18
     mts webm dv
19 20 21 22
  </VideoExtensions>

  <!-- audio file extensions used in the file open dialog -->
  <AudioExtensions>
23
     mp3 m4a 3g2 ogg wav wma  ac3 ra ape flac opus
24 25 26
  </AudioExtensions>

  <!-- url pointing to the update info xml -->
27
  <UpdateInfoUrl>https://mystiqapp.com/latest.xml</UpdateInfoUrl>
28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54

  <!-- Whether to check for updates on program startup by default.
       This value will be overridden by user settings. -->
  <CheckUpdateOnStartup type="boolean">false</CheckUpdateOnStartup>

  <!-- Start conversion immediately after adding files to the list.
       This value will be overridden by user settings. -->
  <AutoStartConversion type="boolean">false</AutoStartConversion>

  <!-- default folder name to create when setting output path -->
  <NewFolderName>mystiq_output</NewFolderName>

  <!-- seconds to wait before shutting down or suspending the computer -->
  <PoweroffTimeout type="integer">30</PoweroffTimeout>

  <!-- entries of the main window toolbar separated by spaces
       valid values (case insensitive):
          AddFiles Options Exit
          RemoveSelectedItems RemoveCompletedItems ClearList
          OpenOutputFolder SetParameters ChangeOutputFilename
          ChangeOutputDirectory ShowErrorMessage
          StartConversion StopConversion Retry RetryAll Poweroff
          AboutQt AboutFFmpeg About CheckUpdate
       use "|" to represent a separator
  -->
  <ToolbarEntries>
    AddFiles StartConversion StopConversion Retry RetryAll
55
    | RemoveSelectedItems RemoveCompletedItems ClearList | OpenOutputFolder Poweroff
56 57 58 59 60 61 62 63 64 65 66 67 68 69
  </ToolbarEntries>

  <!-- number of recent paths to remember -->
  <NumRecentPaths type="integer">5</NumRecentPaths>

  <!-- the maximum allowable update info size in bytes, a value of 0 means unlimited
       Warning: Setting this value to 0 may cause buffer overflow and compromise
       the stability and security of your system.
       Bytes exceeding the limit will be discarded. -->
  <UpdateInfoSizeLimit type="integer">4096</UpdateInfoSizeLimit>

  <!-- progressbar of the conversion list -->
  <ProgressBar>
    <Colors>
70 71 72
      <Margin type="color">#556180</Margin>
      <Center type="color">#55618f</Center>
      <Border type="color">#fefefe</Border>
73
      <Text type="color">#000000</Text>
74
      <Background type="color">#fafafa</Background>
75 76 77 78 79 80 81 82 83 84 85 86 87 88 89
    </Colors>
  </ProgressBar>

  <!-- time range selector in "Time" tab in conversion parameter dialog -->
  <RangeSelector>
    <!-- radius of the round edges -->
    <RoundRectRadius type="float">3.0</RoundRectRadius>
    <Colors>
      <Container>
        <BackgroundGradient1 type="color">#D2D2D2</BackgroundGradient1>
        <BackgroundGradient2 type="color">#EBEBEB</BackgroundGradient2>
        <OuterBorder type="color">#828282</OuterBorder>
        <InnerBorder type="color">#FAFAFA</InnerBorder>
      </Container>
      <Range>
90 91 92 93
        <BackgroundGradient1 type="color">#55618f</BackgroundGradient1>
        <BackgroundGradient2 type="color">#556180</BackgroundGradient2>
        <OuterBorder type="color">#556180</OuterBorder>
        <InnerBorder type="color">#55618f</InnerBorder>
94 95 96 97 98 99 100 101 102 103 104 105 106 107 108
      </Range>
    </Colors>
  </RangeSelector>

  <!-- embedded media player -->
  <MediaPlayer>
    <!-- the default audio volume. valid values are integers between 0~100 -->
    <DefaultVolume>50</DefaultVolume>
    <!-- style of the media position slider -->
    <SliderStyle>

    QSlider::groove:horizontal {
        border: 0px solid #999999;
        height: 8px;
        margin: -1px;
109
        padding:0 6px;
110 111
    }
    QSlider::handle:horizontal {
112 113
        background: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #eeeeee stop:1 #eeeeee);
        border: 1px solid #999999;
114 115
        width: 16px;
        margin: -5px;
116
        box-shadow:0px 0px 3px #eeeeee;
117 118 119 120
        border-radius: 8px;
    }

    QSlider::handle:horizontal:hover {
121 122
        background: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #556180 stop:1 #556180);
        border: 1px solid #55618f;
123 124 125
    }

    QSlider::add-page:horizontal {
126 127 128
        background: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #b2b3b4, stop:1 #b2b3b4);
        border: 1px solid #b2b3b4;
        border-radius: 3px;
129 130 131
        margin: 0px;
    }
    QSlider::sub-page:horizontal {
132 133 134
        background: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #55618f, stop:1 #556180 );
        border: 1px solid #556180;
        border-radius: 3px;
135 136 137 138 139 140
        margin: 0px;
    }
    </SliderStyle>
  </MediaPlayer>

</MystiQConstants>