上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 25 下一页
摘要: QListWidget *list1=ui->listWidget_Off1; QListWidget *list2=ui->listWidget_Off2; list1->setIconSize(QSize(100, 100)); list1->s... 阅读全文
posted @ 2012-12-06 15:30 废弃账号 阅读(145) 评论(0) 推荐(0) 编辑
摘要: ui->tabWidget->setGeometry(2,3,473,857); //设置大小 ui->tabWidget->setTabPosition(QTabWidget::South); //设置标签位置 ui->tabWidget->setDocumentMode(true); ... 阅读全文
posted @ 2012-12-06 15:30 废弃账号 阅读(92) 评论(0) 推荐(0) 编辑
摘要: //响应键盘按键(在noteRichEdit框中按回车键换行)BOOL CAddMarkDlg::PreTranslateMessage(MSG* pMsg){if(pMsg->message == WM_KEYDOWN){if(pMsg->wParam == VK_RETURN){m_markE... 阅读全文
posted @ 2012-12-06 15:30 废弃账号 阅读(228) 评论(0) 推荐(0) 编辑
摘要: CToolBar m_ToolBar; CImageList m_imglstToolbar ; CStatusBar m_StatusBar ; /* 功能:初始化工具栏*/void CDlgNewMail::InitToolbar(){ m_ToolBa... 阅读全文
posted @ 2012-12-06 15:30 废弃账号 阅读(172) 评论(0) 推荐(0) 编辑
摘要: 一.基本知识目前主流的智能手机大部分都支持GoogleMap地图程序,而手机上的地图程序确实能给我们的出行带来很大的方便。在iPhone中利用MapKit框架可以很方便的显示Google地图,并且可以在地图上添加标注。二.具体介绍1.MKMapView的显示(1)创建MKMapViewCGRect... 阅读全文
posted @ 2012-12-06 15:30 废弃账号 阅读(70) 评论(0) 推荐(0) 编辑
摘要: //////////响应 #pragma mark - UIActionSheetDelegate - (void)actionSheet:(UIActionSheet *)actionSheet clickedButtonAtIndex:(NSInteger)buttonInde... 阅读全文
posted @ 2012-12-06 15:30 废弃账号 阅读(80) 评论(0) 推荐(0) 编辑
摘要: ///获取touch位置 CGPoint touchPoint=[touch locationInView:self.view]; NSString *str=[NSString stringWithFormat:@"%f",touchPoint.x]; myLabel.text =s... 阅读全文
posted @ 2012-12-06 15:30 废弃账号 阅读(108) 评论(0) 推荐(0) 编辑
摘要: NSTimer timer =[NSTimer scheduledTimerWithTimeInterval:1 target:self selector:@selector(timerFired:) userInfo:nil repeats:YES];-(void)timerFired:(NST... 阅读全文
posted @ 2012-12-06 15:29 废弃账号 阅读(107) 评论(0) 推荐(0) 编辑
摘要: CGRect webFrame = [[UIScreen mainScreen] applicationFrame]; webFrame.origin.y += kTopMargin + 5.0; // leave from the URL input field and its la... 阅读全文
posted @ 2012-12-06 15:29 废弃账号 阅读(90) 评论(0) 推荐(0) 编辑
摘要: 1,document 中的路径 最麻烦的一种: NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES); NSString *documentsD... 阅读全文
posted @ 2012-12-06 15:29 废弃账号 阅读(199) 评论(0) 推荐(0) 编辑
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 25 下一页