ExtJS 列布局以及table布局的应用



代码:  


/**
 * Created with IntelliJ IDEA.
 * User: Administrator
 * Date: 14-3-5
 * Time: 上午10:23
 * To change this template use File | Settings | File Templates.
 */
function capturePhotoWin(vid,lpn){
    var designer = new capturePhotoWin_Designer(vid,lpn);
    designer.Show();
}

function capturePhotoWin_Designer(vid,lpn) {

    this.vid = vid;
    this.lpn=lpn;

    //控件宽度
    this.leftControlWidth = 150;

    this.vlpnFlag=0;//0表示为 选中的是车辆
    this.CurrentVehicleId=-1;  //车辆ID
    this.CurrentVehicleName="";  //车牌号

    this.form;
    this.window;
    this.InitComponent();
}

capturePhotoWin_Designer.prototype = {

    /**
     * 发送
     */
    sendHandler: function () {
    //**第一 值
        if(this.cbOne.checked==false && this.cbTwo.checked==false && this.cbThree.checked==false  && this.cbFour.checked==false
            && this.cbFive.checked==false&& this.cbSix.checked==false&& this.cbSeven.checked==false&& this.cbEight.checked==false){
               Ext.Msg.alert("提示","至少选择一个摄像头");
               return;
        }
        var cameraCount=0;//总数
        var temp1 = 0;
        var temp2 = 0;
        var temp3 = 0;
        var temp4 = 0;
        var temp5 = 0;
        var temp6 = 0;
        var temp7 = 0;
        var temp8 = 0;
        if(this.cbOne.checked==true){
            temp1=1;
        }
        if(this.cbTwo.checked==true){
            temp2=2;
        }
        if(this.cbThree.checked==true){
            temp3=4;
        }
        if(this.cbFour.checked==true){
            temp4=8;
        }
        if(this.cbFive.checked==true){
            temp5=16;
        }
        if(this.cbSix.checked==true){
            temp6=32;
        }
        if(this.cbSeven.checked==true){
            temp7=64;
        }
        if(this.cbEight.checked==true){
            temp8=128;
        }
        cameraCount=temp1+temp2+temp3+temp4+temp5+temp6+temp7+temp8;
    //**第二 值
         //拍摄张数
        var shootCount = this.combo_countPhoto.getValue();
         //拍摄间隔
        var interval = this.combo_shootInterval.getRawValue();
         //分辨率
        var resolution =this.combo_resolution.getValue();
        //保存标志
        var saveFlag= this.rb_save.getValue().inputValue;
    //**第三 值
        //质量
        var quality = this.sl_quality.getValue();
        //亮度
        var bright = this.sl_bright.getValue();
        //色度
        var chroma = this.sl_chroma.getValue();
        //对比度
        var contrast = this.sl_contrast.getValue();
        //饱和度
        var saturation = this.sl_saturation.getValue();


        //弹出效果
        Ext.MessageBox.show({
            msg: '正在发送,请稍等...',
            progressText: 'Saving...',
            width:300,
            wait:true,
            waitConfig
  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值