• 大小: 5.09MB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2023-09-26
  • 语言: 其他
  • 标签:

资源简介

网上下载的一款QT界面设计的电子地图,具有放大等功能

资源截图

代码片段和文件信息

#include “alarm.h“

Alarm::Alarm(QWidget *parent):QDialog(parent)
{
setupUi(this);
this->setWindowFlags(Qt::framelessWindowHint);

addSoftkey = new Ui_softkey();
addSoftkey->setupUi(widget);
setSoftkey(addSoftkey);
softkeyConnect(addSoftkey);

delSoftkey = new Ui_softkey();
delSoftkey->setupUi(widget_3);
setSoftkey(delSoftkey);
softkeyConnect(delSoftkey);

setContentSoftkey = new Ui_softkey();
setContentSoftkey->setupUi(widget_2);
setSoftkey(setContentSoftkey);
softkeyConnect(setContentSoftkey);


connect(comboBoxSIGNAL(currentIndexChanged(int))thisSLOT(changedOpration(int)));
connect(pushButton_4SIGNAL(clicked())thisSLOT(deleteInformation()));
connect(pushButtonSIGNAL(clicked())thisSLOT(insertInformation()));
connect(pushButton_3SIGNAL(clicked())thisSLOT(clearInsertInformation()));
connect(pushButton_5SIGNAL(clicked())thisSLOT(clearDeleteInformation()));
connect(pushButton_2SIGNAL(clicked())thisSLOT(back()));
connect(pushButton_8SIGNAL(clicked())thisSLOT(openAlarm()));
connect(pushButton_9SIGNAL(clicked())thisSLOT(closeAlarm()));

groupBox->close();
groupBox_2->close();
groupBox_3->close();
groupBox_4->close();

//viewInformation();
}

void Alarm::setSoftkey(Ui_softkey *softkey)
{
softkey->pushButton_A->setFocusPolicy(Qt::NoFocus);
softkey->pushButton_B->setFocusPolicy(Qt::NoFocus);
softkey->pushButton_C->setFocusPolicy(Qt::NoFocus);
softkey->pushButton_D->setFocusPolicy(Qt::NoFocus);
softkey->pushButton_E->setFocusPolicy(Qt::NoFocus);
softkey->pushButton_F->setFocusPolicy(Qt::NoFocus);
softkey->pushButton_G->setFocusPolicy(Qt::NoFocus);
softkey->pushButton_H->setFocusPolicy(Qt::NoFocus);
softkey->pushButton_I->setFocusPolicy(Qt::NoFocus);
softkey->pushButton_J->setFocusPolicy(Qt::NoFocus);
softkey->pushButton_K->setFocusPolicy(Qt::NoFocus);
softkey->pushButton_L->setFocusPolicy(Qt::NoFocus);
softkey->pushButton_M->setFocusPolicy(Qt::NoFocus);
softkey->pushButton_N->setFocusPolicy(Qt::NoFocus);
softkey->pushButton_O->setFocusPolicy(Qt::NoFocus);
softkey->pushButton_P->setFocusPolicy(Qt::NoFocus);
softkey->pushButton_Q->setFocusPolicy(Qt::NoFocus);
softkey->pushButton_R->setFocusPolicy(Qt::NoFocus);
softkey->pushButton_S->setFocusPolicy(Qt::NoFocus);
softkey->pushButton_T->setFocusPolicy(Qt::NoFocus);
softkey->pushButton_U->setFocusPolicy(Qt::NoFocus);
softkey->pushButton_V->setFocusPolicy(Qt::NoFocus);
softkey->pushButton_W->setFocusPolicy(Qt::NoFocus);
softkey->pushButton_X->setFocusPolicy(Qt::NoFocus);
softkey->pushButton_Y->setFocusPolicy(Qt::NoFocus);
softkey->pushButton_Z->setFocusPolicy(Qt::NoFocus);
softkey->pushButton_1->setFocusPolicy(Qt::NoFocus);
softkey->pushButton_2->setFocusPolicy(Qt::NoFocus);
softkey->pushButton_3->setFocusPolicy(Qt::NoFocus);
softkey->pushButton_4->setFocusPolicy(Qt::NoFocus);
softkey->pushButton_5->setFocusPolicy(Qt::NoFocus);
softkey->pushButton_6->setFocusPolicy(Qt::NoFocus);
softkey->pushButton_7->setFocusPolicy(Qt::NoFocu

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件       9854  2009-11-16 18:38  maincontrol\alarm.cpp

     文件        844  2009-11-15 13:16  maincontrol\alarm.h

     文件      96572  2009-11-16 18:38  maincontrol\alarm.o

     文件       9715  2009-11-16 13:38  maincontrol\alarm.ui

     文件     171246  2009-11-03 15:28  maincontrol\back.jpg

     文件       1049  2009-11-15 12:28  maincontrol\button.cpp

     文件        634  2009-11-13 13:59  maincontrol\button.h

     文件      13392  2009-11-16 13:55  maincontrol\button.o

     文件       2268  2009-08-12 13:29  maincontrol\detail.cpp

     文件        603  2009-07-26 00:19  maincontrol\detail.h

     文件      71692  2009-11-16 13:54  maincontrol\detail.o

     文件       4022  2009-11-04 18:52  maincontrol\detail.ui

     文件       4805  2009-11-09 18:20  maincontrol\gps_message.cpp

     文件       1002  2009-11-10 11:45  maincontrol\gps_message.h

     文件      37016  2009-11-16 13:54  maincontrol\gps_message.o

     文件        972  2009-11-15 14:17  maincontrol\image.qrc

     文件      76546  2009-11-04 17:45  maincontrol\images\00020d9.jpg

     文件       2841  2009-11-15 17:54  maincontrol\images\backgroud.png

     文件       4608  2009-11-04 17:25  maincontrol\images\daohang.png

     文件       4246  2009-11-04 17:25  maincontrol\images\fangdao.png

     文件       1303  2006-04-08 02:32  maincontrol\images\forward_enabled.png

     文件      42124  2009-07-18 23:20  maincontrol\images\gps.jpg

     文件      10359  2009-07-18 23:20  maincontrol\images\hummer.gif

     文件       2626  2009-11-03 14:52  maincontrol\images\hummer.jpg

     文件       6995  2009-11-15 14:09  maincontrol\images\map_back.png

     文件       7170  2009-11-15 14:08  maincontrol\images\map_cancel.png

     文件       7084  2009-11-15 14:08  maincontrol\images\map_start.png

     文件      13265  2009-11-13 09:16  maincontrol\images\media.png

     文件      15950  2009-11-13 13:49  maincontrol\images\media_pressed.png

     文件      15958  2009-11-13 13:49  maincontrol\images\media_released.png

............此处省略111个文件信息

评论

共有 条评论

相关资源