2 * Copyright 2006-2007, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
3 * Distributed under the terms of the MIT License.
5 #ifndef ATTRIBUTE_WINDOW_H
6 #define ATTRIBUTE_WINDOW_H
9 #include "AttributeListView.h"
11 #include <Messenger.h>
22 class FileTypesWindow
;
25 class AttributeWindow
: public BWindow
{
27 AttributeWindow(FileTypesWindow
* target
, BMimeType
& type
,
29 virtual ~AttributeWindow();
31 virtual void MessageReceived(BMessage
* message
);
32 virtual bool QuitRequested();
35 type_code
_CurrentType() const;
36 BMenuItem
* _DefaultDisplayAs() const;
37 void _CheckDisplayAs();
38 void _CheckAcceptable();
39 AttributeItem
* _NewItemFromCurrent();
44 AttributeItem fAttribute
;
45 BTextControl
* fPublicNameControl
;
46 BTextControl
* fAttributeControl
;
48 BMenuField
* fDisplayAsMenuField
;
49 BMenuField
* fAlignmentMenuField
;
50 BCheckBox
* fVisibleCheckBox
;
51 BCheckBox
* fEditableCheckBox
;
52 BTextControl
* fSpecialControl
;
53 BTextControl
* fWidthControl
;
54 BButton
* fAcceptButton
;
57 #endif // ATTRIBUTE_WINDOW_H