analyticsview.ui 4.55 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
 <class>UserFeedback::Analyzer::AnalyticsView</class>
 <widget class="QWidget" name="UserFeedback::Analyzer::AnalyticsView">
  <property name="geometry">
   <rect>
    <x>0</x>
    <y>0</y>
    <width>587</width>
    <height>353</height>
   </rect>
  </property>
  <layout class="QVBoxLayout" name="verticalLayout">
   <property name="leftMargin">
    <number>0</number>
   </property>
   <property name="topMargin">
    <number>0</number>
   </property>
   <property name="rightMargin">
    <number>0</number>
   </property>
   <property name="bottomMargin">
    <number>0</number>
   </property>
   <item>
    <widget class="QTabWidget" name="tabWidget">
     <property name="currentIndex">
      <number>0</number>
     </property>
     <widget class="QWidget" name="chartTab">
      <attribute name="title">
       <string>Charts</string>
      </attribute>
      <layout class="QVBoxLayout" name="verticalLayout_7">
       <item>
        <layout class="QHBoxLayout" name="horizontalLayout_2">
         <item>
          <widget class="QLabel" name="label_2">
           <property name="text">
            <string>&amp;Chart type:</string>
           </property>
           <property name="buddy">
            <cstring>chartType</cstring>
           </property>
          </widget>
         </item>
         <item>
          <widget class="QComboBox" name="chartType"/>
         </item>
        </layout>
       </item>
       <item>
        <widget class="QtCharts::QChartView" name="chartView">
         <property name="renderHints">
          <set>QPainter::Antialiasing|QPainter::TextAntialiasing</set>
         </property>
        </widget>
       </item>
      </layout>
     </widget>
     <widget class="QWidget" name="aggregationTab">
      <attribute name="title">
       <string>Aggregated Data</string>
      </attribute>
      <layout class="QVBoxLayout" name="verticalLayout_6">
       <item>
        <widget class="QTableView" name="aggregatedDataView"/>
       </item>
      </layout>
     </widget>
     <widget class="QWidget" name="dataTab">
      <attribute name="title">
       <string>Raw Data</string>
      </attribute>
      <layout class="QVBoxLayout" name="verticalLayout_4">
       <item>
        <widget class="QTableView" name="dataView"/>
       </item>
      </layout>
     </widget>
    </widget>
   </item>
  </layout>
  <action name="actionAggregateYear">
   <property name="checkable">
    <bool>true</bool>
   </property>
   <property name="text">
    <string>&amp;Year</string>
   </property>
   <property name="toolTip">
    <string>Aggregate data by year.</string>
   </property>
  </action>
  <action name="actionAggregateMonth">
   <property name="checkable">
    <bool>true</bool>
   </property>
   <property name="text">
    <string>&amp;Month</string>
   </property>
   <property name="toolTip">
    <string>Aggregate data by month.</string>
   </property>
  </action>
  <action name="actionAggregateWeek">
   <property name="checkable">
    <bool>true</bool>
   </property>
   <property name="text">
    <string>&amp;Week</string>
   </property>
   <property name="toolTip">
    <string>Aggregate data by week.</string>
   </property>
  </action>
  <action name="actionAggregateDay">
   <property name="checkable">
    <bool>true</bool>
   </property>
   <property name="text">
    <string>&amp;Day</string>
   </property>
   <property name="toolTip">
    <string>Aggregate data by day.</string>
   </property>
  </action>
Volker Krause's avatar
Volker Krause committed
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
  <action name="actionExportData">
   <property name="icon">
    <iconset theme="document-export"/>
   </property>
   <property name="text">
    <string>&amp;Export Data...</string>
   </property>
   <property name="toolTip">
    <string>Export all recorded data.</string>
   </property>
  </action>
  <action name="actionImportData">
   <property name="icon">
    <iconset theme="document-import"/>
   </property>
   <property name="text">
    <string>&amp;Import Data...</string>
   </property>
   <property name="toolTip">
    <string>Import sample data.</string>
   </property>
  </action>
Volker Krause's avatar
Volker Krause committed
151
152
153
154
155
156
157
158
159
160
161
  <action name="actionReload">
   <property name="icon">
    <iconset theme="view-refresh"/>
   </property>
   <property name="text">
    <string>&amp;Reload Data</string>
   </property>
   <property name="toolTip">
    <string>Refresh data from the server.</string>
   </property>
  </action>
162
163
164
165
166
167
168
169
170
171
172
 </widget>
 <customwidgets>
  <customwidget>
   <class>QtCharts::QChartView</class>
   <extends>QGraphicsView</extends>
   <header location="global">QChartView</header>
  </customwidget>
 </customwidgets>
 <resources/>
 <connections/>
</ui>