码迷,mamicode.com
首页 >  
搜索关键字:super fingerprint    ( 6784个结果
环信UI开源Demo情景分析十一、聊天界面(三)
前面两章已经了解了大部分功能,不过还有一些东西没有讲到,接下来咱们就继续将剩下的部分讲完。 @Override protected void onDestroy() { super.onDestroy(); activityInstance = null; EMGroupManager.getInstance().removeGroupChangeListener(groupLi...
分类:其他好文   时间:2015-04-29 11:47:54    阅读次数:265
TextView 跑马灯
首先,写一个类,让其继承自TextView:重写focus方法,让TextView始终是focus。public class MarqueeText extends TextView {public MarqueeText(Context con) { super(con);}public Mar....
分类:其他好文   时间:2015-04-29 11:30:25    阅读次数:125
UIALertView的基本用法与UIAlertViewDelegate对对话框的事件处理方法
ViewController.h中的代码如下:#import @interface ViewController : UIViewController @end ViewController.m中的详细代码:- (void)viewDidLoad { [super vie...
分类:其他好文   时间:2015-04-29 11:29:37    阅读次数:186
PyQt5 消息框
import sys from PyQt5.QtWidgets import QApplication, QWidget, QMessageBox class Example(QWidget): def __init__(self): super().__init__() self.initUI() def initUI(self): ...
分类:其他好文   时间:2015-04-29 10:12:21    阅读次数:215
PyQt5 窗口定于屏幕中心
import sys from PyQt5.QtWidgets import QApplication, QWidget, QDesktopWidget class Example(QWidget): def __init__(self): super().__init__() self.initUI() def initUI(self): ...
分类:其他好文   时间:2015-04-29 10:09:32    阅读次数:154
PyQt5 状态栏
import sys from PyQt5.QtWidgets import QApplication, QMainWindow class Example(QMainWindow): def __init__(self): super().__init__() self.initUI() def initUI(self): se...
分类:其他好文   时间:2015-04-29 10:07:14    阅读次数:189
PyQt5菜单栏
import sys from PyQt5.QtWidgets import QApplication, QMainWindow, QAction, qApp from PyQt5.QtGui import QIcon class Example(QMainWindow): def __init__(self): super().__init__() sel...
分类:其他好文   时间:2015-04-29 10:07:10    阅读次数:412
PyQt5 GUI图标的设置
import sys from PyQt5.QtWidgets import QApplication, QWidget from PyQt5.QtGui import QIcon class Example(QWidget): def __init__(self): super().__init__() self.initUI() def init...
分类:其他好文   时间:2015-04-28 22:58:51    阅读次数:301
java迭代器PECS
//PECS:producer-extends-comsumer-super import com.google.common.collect.Lists; import java.util.Arrays; import java.util.List; /** * Created by jianjun.yu on 15-4-21. */ public class GTest { ...
分类:编程语言   时间:2015-04-28 22:56:47    阅读次数:307
PyQt5按钮(Button)
import sys from PyQt5.QtWidgets import QApplication, QWidget, QPushButton, QToolTip from PyQt5.QtGui import QFont class Example(QWidget): def __init__(self): super().__init__() sel...
分类:其他好文   时间:2015-04-28 22:56:40    阅读次数:601
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!