void DockWidget::dock() { if (!docked) { KWin::setSystemTrayWindowFor(this->winId(), 0) this->setFixedSize(24, 24) this->show() docked = true } }
资源简介:void DockWidget::dock() { if (!docked) { KWin::setSystemTrayWindowFor(this->winId(), 0) this->setFixedSize(24, 24) this->show() docked = true } }
上传时间: 2013-12-10
上传用户:417313137
资源简介:Part2 using C++ Operators if you are dreading this chapter because you don t like math_relax. c++ does all your math for you!it is a miscon ception that you have to be good at math to understand how to program compters.
上传时间: 2016-10-16
上传用户:tonyshao
资源简介:Part5 using C++ Operators if you are dreading this chapter because you don t like math_relax. c++ does all your math for you!it is a miscon ception that you have to be good at math to understand how to program compters.
上传时间: 2014-01-22
上传用户:wlcaption
资源简介:Imagine that you are a web developer (which is probably not a stretch if you are reading this book) and you are being encouraged to add some Ajax features to a site you’re working on. Maybe the originator of this request is your boss or ...
上传时间: 2013-11-27
上传用户:凤临西北
资源简介:This Delphi 4.0 example uses the MapX Ver 4.0 OCX Control. The main goal of this example is to show the use of the new object editing capabilities in MapX Ver 3.51. The program show how to perform functions such as adding a new layer ad...
上传时间: 2015-04-10
上传用户:lhc9102
资源简介:This libusb version 0.1.12. libusb is a library which allows userspace application access to USB devices. The official ftp site is: ftp://ftp.libusb.sourceforge.net/pub/libusb/ The official web site is: http://libusb.sourceforge....
上传时间: 2013-12-21
上传用户:zhengzg
资源简介:libflash -- This the Version 0.4.10 of the Flash Library for Linux
上传时间: 2016-01-08
上传用户:dengzb84
资源简介:This an USB2.0 chip CY7C68013 Configuraion Example for Slave FIFO mode with "async" mode.
上传时间: 2014-06-04
上传用户:ANRAN
资源简介:This java 5.0 in Nutshell book always is old but is readfu
上传时间: 2014-01-10
上传用户:fanboynet
资源简介:Scope of this RevisionThe 2.0 revision of the specification is intended for product design. Every attempt has been made to ensure aconsistent and implementable specification. Implementations should ensure compliance with this revision.
上传时间: 2016-12-22
上传用户:nanfeicui
资源简介:This is OpenCv1.0 converted for C++Builder6 static libraries arhive.
上传时间: 2013-12-20
上传用户:hustfanenze
资源简介:This book is designed to teach you the best practices in developing Windows DNA applications. We have avoided making this book a primer on every technology associated with Windows DNA. If we had followed this course, this would be an ency...
上传时间: 2016-11-27
上传用户:yyq123456789
资源简介:A heap is a binary tree satisfying the following conditions: 􀂄 This tree is completely balanced. 􀂄 If the height of this binary tree is h, then leaves can be at level h or level h-1. 􀂄 All leaves at level h are ...
上传时间: 2014-01-01
上传用户:gundan
资源简介:Heapsort 1.A heap is a binary tree satisfying the followingconditions: -This tree is completely balanced. -If the height of this binary tree is h, then leaves can be at level h or level h-1. -All leaves at level h are as far to the left...
上传时间: 2017-05-25
上传用户:2467478207
资源简介://芯片资料请到www.elecfans.com查找 //DS1820 C51 子程序//这里以11.0592M晶体为例,不同的晶体速度可能需要调整延时的时间//sbit DQ =P2^1;//根据实际情况定义端口 typedef unsigned char byte;typedef unsigned int word; //延时void delay(word usecond...
上传时间: 2013-11-03
上传用户:hongmo
资源简介://遥控解码子程序,LC7461,用户码为11C//external interrupt0void isr_4(){ unsigned char r_count;//定义解码的个数 unsigned long use_data=0;//定义16位的用户码,只用到13位 unsigned long use_code=0;//定义16位的用户反码,只用到13位 unsigned ...
上传时间: 2014-03-27
上传用户:shenlan
资源简介:加密算法 Test Driver for Crypto++, a C++ Class Library of Cryptographic Primitives: - To generate an RSA key cryptest g - To encrypt and decrypt a string using RSA cryptest r - To calculate MD5, SHS, and RIPEMD-160 message dig...
上传时间: 2015-07-16
上传用户:wqxstar
资源简介:/* * _168ZHONGDUAN2.c * * Created: 2014/11/2 15:12:45 * Author: lenovo */ #include <avr/io.h> #include <avr/iom168pa.h> #include <avr/interrupt.h> #include <util/delay.h> #include <avr/eeprom.h> //#include <util/delay_basic....
上传时间: 2016-03-03
上传用户:彦 yan
资源简介: 实验源代码 //Warshall.cpp #include<stdio.h> void warshall(int k,int n) { int i , j, t; int temp[20][20]; for(int a=0;a<k;a++) { printf("请输入矩阵第%d 行元素:",a); for(int b=0;b<n;b++) { scanf ("%d",&temp[a][b]); }...
上传时间: 2016-06-27
上传用户:梁雪文以
资源简介:#include "STC90.h" #include < intrins.h > #define uchar unsigned char #define uint unsigned int #define led_port P1 sbit IR_RE = P3^2; sbit led_r = P1^3; sbit led_g = P1^4; sbit led_b = P1^5; sbit led_wd = P1^7; sbit K1 =P3^0 ; ...
上传时间: 2016-07-02
上传用户:184890962
资源简介:/*#include<reg52.h> #define uint unsigned int #define uchar unsigned char #define uchar unsigned char sbit K1=P3^4; sbit K2=P3^5; sbit ledr=P1^0; sbit ledg=P1^1; sbit ledb=P1^2; bit LEDDirection=0;//LED控制方向0:渐亮1:渐灭 char pwm=0; c...
上传时间: 2016-07-02
上传用户:184890962
资源简介:#define TM1638_STB PORTC_Bit1 #define TM1638_CLK PORTC_Bit2 #define TM1638_DIO_IN DDRC_Bit3=0 #define TM1638_DIO_OUT DDRC_Bit3=1 #defin...
上传时间: 2017-01-12
上传用户:ds68
资源简介:在本课中,我们要用一个按键来实现跑马灯的 10 级调速。这又会涉及到键的去抖的问 题。 本课的试验结果是,每按一次按键,跑马速度就降低一级,共 10 级。 这里我们又增加了一个变量 speedlever,来保存当前的速度档次。 在按键里的处理中,多了当前...
上传时间: 2017-11-06
上传用户:szcyclone
资源简介:#include<stdio.h> #define TREEMAX 100 typedef struct BT { char data; BT *lchild; BT *rchild; }BT; BT *CreateTree(); void Preorder(BT *T); void Postorder(BT *T); void Inorder(BT *T); void Leafnum(BT *T); void Nodenum(BT *T); int TreeDep...
上传时间: 2020-06-11
上传用户:ccccy
资源简介:* Function: * 1. Replace the first oldstr with newstr in srcstr * Arguments: * IN : * srcstr * oldstr * newstr * OUT : * srcstr * Return: * 1. If find and replace one oldstr with newstr in srcstr , return 1 * 2. If ...
上传时间: 2014-12-20
上传用户:Yukiseop
资源简介:基础程序设计 01 闪烁的LED /* 名称闪烁的LED 说明LED按设定的时间间隔闪烁 */ #include<reg51.h> #define uchar unsigned char #define uint unsigned int sbit LED=P1^0; //延时 void DelayMS(uint x) { uchar i; whil...
上传时间: 2016-09-19
上传用户:xinhoujue
资源简介:基础程序设计 01 闪烁的LED /* 名称闪烁的LED 说明LED按设定的时间间隔闪烁 */ #include<reg51.h> #define uchar unsigned char #define uint unsigned int sbit LED=P1^0; //延时 void DelayMS(uint x) { uchar i; while...
上传时间: 2016-09-19
上传用户:xinhoujue
资源简介:#include "NUC1xx.h"#include "Hal.h"#include "pwm.h"//wait current PWM cycle done, otherwise there maybe short pulse on FETvoid PWM_Stop(U8 ch){ switch(ch) { case PWM_CHANNEL_A: PWMA->u32CNR1 = 0; PWMA->u32CMR1 = 0; while(PWMA->u32PDR...
上传时间: 2022-06-01
上传用户:kingwide
资源简介:This code will be useful to you if you have tried using ADOCE, but never got anything to work. It is not meant to be integrated into any application, but rather it should be used for demonstrative purposes. It clearly shows the basics of ho...
上传时间: 2014-01-13
上传用户:bcjtao
资源简介:The zlibex.pas unit included in this archive will work with delphi 5, 6,and 7. if you previously downloaded my delphi 5 unit, you will notice that the unit has been renamed. this was done because borland included in its delphi 6 and 7 lib d...
上传时间: 2015-04-30
上传用户:缥缈