summaryrefslogtreecommitdiffstats
path: root/examples/qt3d/planets-qml/planets-watchos/PlanetsClient WatchKit Extension/InterfaceController.h
blob: 1620148fc47042289e3ac4336d7e803878971ad6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause

#import <WatchKit/WatchKit.h>
#import <Foundation/Foundation.h>
#import <WatchConnectivity/WatchConnectivity.h>

@interface InterfaceController : WKInterfaceController

@property (nonatomic, copy) NSString *host;
@property (nonatomic, copy) NSNumber *port;
@property (nonatomic, copy) NSArray *planets;
@property (nonatomic, assign) float minimumValue;
@property (nonatomic, assign) float maximumValue;
@property (unsafe_unretained, nonatomic) IBOutlet WKInterfaceLabel *hostLabel;
@property (unsafe_unretained, nonatomic) IBOutlet WKInterfacePicker *planetPicker;
@property (unsafe_unretained, nonatomic) IBOutlet WKInterfaceSlider *rotationSpeedSlider;
@property (unsafe_unretained, nonatomic) IBOutlet WKInterfaceSlider *viewingDistanceSlider;
@property (unsafe_unretained, nonatomic) IBOutlet WKInterfaceSlider *planetSizeSlider;

@end