1 /* 2 * Copyright 2010-2011, Haiku. All rights reserved. 3 * Distributed under the terms of the MIT License. 4 * 5 * Authors: 6 * Philippe Houdoin 7 */ 8 #ifndef CONFIG_VIEW_H 9 #define CONFIG_VIEW_H 10 11 12 #include <View.h> 13 14 class BCheckBox; 15 class BPopUpMenu; 16 class BSlider; 17 class TranslatorSettings; 18 19 class ConfigView : public BView { 20 public: 21 ConfigView(TranslatorSettings* settings, 22 uint32 flags = B_WILL_DRAW); 23 virtual ~ConfigView(); 24 25 virtual void AttachedToWindow(); 26 virtual void MessageReceived(BMessage *message); 27 28 private: 29 TranslatorSettings* fSettings; 30 BPopUpMenu* fPresetsMenu; 31 BSlider* fQualitySlider; 32 BSlider* fMethodSlider; 33 BCheckBox* fPreprocessingCheckBox; 34 }; 35 36 37 #endif /* CONFIG_VIEW_H */ 38