// // DetailHeaderCell.h // RedAnt ERP Mobile // // Created by Ray on 14-6-5. // Copyright (c) 2014年 United Software Applications, Inc. All rights reserved. // #import #import "PhotoStackView.h" #import "RTLabel.h" @class DetailHeaderCell; @protocol DetailHeaderCellDelegate @required - (void) SelectorClicked:(UIView*) trigger; -(void) stepClicked:(int) value; //- (void) LongPress:(UIView*)view row:(int) x column:(int) y; //- (void) LongPress:(UIView*)view row:(int) x; //- (void) Tap:(UIView*)view row:(int) x column:(int) y; //- (void) Tap:(UIView*)view row:(int) x; @end @interface DetailHeaderCell : UITableViewCell { @private // id __unsafe_unretained _dataSource; id __weak celldelegate; } @property (weak, nonatomic) id celldelegate; //@property (nonatomic, strong) PhotoStackView *photoStack; @property (strong, nonatomic) IBOutlet PhotoStackView *photoStack; @property (weak, nonatomic) IBOutlet UIPageControl *pageControl; -(void)setup; @property (nonatomic, strong) NSArray *photos; @property (nonatomic, strong) NSString *product_id; //@property long detailID; //@property (strong, nonatomic) IBOutlet UILabel *itemIDLabel; //@property (strong, nonatomic) IBOutlet UILabel *descriptionLabel; @property (strong, nonatomic) IBOutlet RTLabel *descriptionRTLabel; @property (strong, nonatomic) IBOutlet UILabel *priceLabel; //@property (strong, nonatomic) IBOutlet UILabel *shipLabel; @property (strong, nonatomic) IBOutlet UILabel *selector_nameLabel; //@property (strong, nonatomic) IBOutlet UIButton *selector_valLabel; @property (strong, nonatomic) IBOutlet UILabel *selector_valLabel; @property (strong, nonatomic) IBOutlet UIImageView *selector_imageView; @property (strong, nonatomic) IBOutlet UILabel *count_Label; @property (strong, nonatomic) IBOutlet UILabel *incomingcount_Label; @property (strong, nonatomic) IBOutlet UIButton *selector_Button; @property (strong, nonatomic) IBOutlet UILabel *property_nameLabel; @property (strong, nonatomic) IBOutlet UILabel *property_valLabel; @property (strong, nonatomic) IBOutlet UIStepper *stepper; @property (strong, nonatomic) IBOutlet UITextField *quantity_text; @property (strong, nonatomic) IBOutlet UIButton *btnaddCart; @property (strong, nonatomic) IBOutlet UIButton *btnaddWish; @property (strong, nonatomic) IBOutlet UILabel *eta_label; @property (strong, nonatomic) IBOutlet UILabel *incoming_stock_label; @property (strong, nonatomic) IBOutlet UILabel *etaval_label; @property (strong, nonatomic) IBOutlet UIImageView *qrcode_imageview; @property (strong, nonatomic) IBOutlet UILabel *model_label; @property (strong, nonatomic) IBOutlet UILabel *cqyt_label; @property (nonatomic,copy) void(^shopCartBlock)(UIImageView *imageView); @property (nonatomic,copy) void(^set_cqty)(int cqty); @property (nonatomic,copy) void(^set_update_data)(bool bupdate); @property (nonatomic,copy) void(^WatchlistBlock)(UIImageView *imageView); - (void)AddPhoto :(UIImage*)photo ; @property (strong, nonatomic) IBOutlet UILabel *selector_label; @property int cqty; @property int step; @property int quantity; @end