source: trunk/Cocoa/Pester/Source/PSAlarmSetController.h@ 622

Last change on this file since 622 was 622, checked in by Nicholas Riley, 14 years ago

Fix up date completion with field editor.

Still to do:

  • autocomplete still doesn't trigger in some cases when it should
  • move things into PSTimeDateEditor so they're usable in "until..."
File size: 2.4 KB
Line 
1//
2// PSAlarmSetController.h
3// Pester
4//
5// Created by Nicholas Riley on Tue Oct 08 2002.
6// Copyright (c) 2002 Nicholas Riley. All rights reserved.
7//
8
9#import <AppKit/AppKit.h>
10#import "PSAlarm.h"
11
12@class NJRFSObjectSelector;
13@class NJRIntervalField;
14@class NJRQTMediaPopUpButton;
15@class NJRValidatingField;
16@class NJRVoicePopUpButton;
17@class PSDateFieldEditor;
18
19@interface PSAlarmSetController : NSWindowController <NSUserInterfaceValidations> {
20 IBOutlet NSTextField *messageField;
21 IBOutlet NSButton *removeMessageButton;
22 IBOutlet NSMatrix *inAtMatrix;
23 IBOutlet NJRIntervalField *timeInterval;
24 IBOutlet NSPopUpButton *timeIntervalUnits;
25 IBOutlet NSButton *timeIntervalRepeats;
26 IBOutlet NSTextField *timeOfDay;
27 IBOutlet NSTextField *timeDate;
28 IBOutlet NSPopUpButton *timeDateCompletions; // XXX should go away when bug preventing both formatters and popup menus from existing is fixed
29 IBOutlet NSButton *timeCalendarButton;
30 IBOutlet NSButton *editAlert;
31 IBOutlet NSTextField *alertView;
32 IBOutlet NSTabView *alertTabs;
33 IBOutlet NSButtonCell *displayMessage;
34 IBOutlet NSButtonCell *bounceDockIcon;
35 IBOutlet NSButtonCell *playSound;
36 IBOutlet NJRQTMediaPopUpButton *sound;
37 IBOutlet NSButton *soundVolumeButton;
38 IBOutlet NJRValidatingField *soundRepetitions;
39 IBOutlet NSStepper *soundRepetitionStepper;
40 IBOutlet NSTextField *soundRepetitionsLabel;
41 IBOutlet NSButtonCell *doScript;
42 IBOutlet NJRFSObjectSelector *script;
43 IBOutlet NSButtonCell *doSpeak;
44 IBOutlet NJRVoicePopUpButton *voice;
45 IBOutlet NSButton *scriptSelectButton;
46 IBOutlet NSButtonCell *wakeUp;
47 IBOutlet NSTextField *timeSummary;
48 IBOutlet NSButton *cancelButton;
49 IBOutlet NSButton *setButton;
50 NSString *status;
51 NSTimer *updateTimer;
52 PSAlarm *alarm;
53 PSDateFieldEditor *dateFieldEditor;
54 BOOL isInterval;
55}
56
57- (IBAction)update:(id)sender;
58- (IBAction)dateCompleted:(NSPopUpButton *)sender;
59- (IBAction)showCalendar:(NSButton *)sender;
60- (IBAction)inAtChanged:(id)sender;
61- (IBAction)toggleAlertEditor:(id)sender;
62- (IBAction)editAlertChanged:(id)sender;
63- (IBAction)playSoundChanged:(id)sender;
64- (IBAction)showVolume:(NSButton *)sender;
65- (IBAction)doScriptChanged:(id)sender;
66- (IBAction)doSpeakChanged:(id)sender;
67- (IBAction)setAlarm:(NSButton *)sender;
68- (IBAction)setSoundRepetitionCount:(id)sender;
69
70- (IBAction)silence:(id)sender;
71
72@end
Note: See TracBrowser for help on using the repository browser.