| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293 |
- //
- // DetailHeaderCell.h
- // RedAnt ERP Mobile
- //
- // Created by Ray on 14-6-5.
- // Copyright (c) 2014年 United Software Applications, Inc. All rights reserved.
- //
- #import <UIKit/UIKit.h>
- #import "PhotoStackView.h"
- #import "RTLabel.h"
- @class DetailHeaderCell;
- @protocol DetailHeaderCellDelegate <NSObject>
- @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<PhotoStackViewDataSource, PhotoStackViewDelegate,UIAlertViewDelegate>
- {
- @private
- // id <MDSpreadViewDataSource>__unsafe_unretained _dataSource;
- id <DetailHeaderCellDelegate> __weak celldelegate;
- }
- @property (weak, nonatomic) id <DetailHeaderCellDelegate> 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) NSArray *urls;
- @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 UIImageView *selector_dorpdown;
- @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 UIButton *btnaddPortfolio;
- @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);
- @property (nonatomic,copy) void(^PortfolioBlock)(UIImageView *imageView);
- - (void)AddPhoto :(UIImage*)photo ;
- @property (strong, nonatomic) IBOutlet UILabel *selector_label;
- -(void)Hide_selector:(bool) bhide;
- -(void)ClearPhotos;
- @property int cqty;
- @property int step;
- @property int quantity;
- @end
|