Qt,QEvent

2023-11-09

 

QEvent Class

The QEvent class is the base class of all event classes. Event objects contain event parameters. More...

#include <QEvent>

Inherited by: QChildEventQDynamicPropertyChangeEvent, andQTimerEvent.

Public Types

enum Type { None, ActionAdded, ActionChanged, ActionRemoved, ..., MaxUser }

Properties

Public Functions

  QEvent(Type type)
virtual ~QEvent()
void accept()
void ignore()
bool isAccepted() const
void setAccepted(bool accepted)
bool spontaneous() const
Type type() const

Static Public Members

int registerEventType(int hint = -1)

Detailed Description

The QEvent class is the base class of all event classes. Event objects contain event parameters.

Qt's main event loop (QCoreApplication::exec()) fetches native window system events from the event queue, translates them into QEvents, and sends the translated events to QObjects.

In general, events come from the underlying window system (spontaneous() returns true), but it is also possible to manually send events using QCoreApplication::sendEvent() and QCoreApplication::postEvent() (spontaneous() returns false).

QObjects receive events by having their QObject::event() function called. The function can be reimplemented in subclasses to customize event handling and add additional event types; QWidget::event() is a notable example. By default, events are dispatched to event handlers like QObject::timerEvent() and QWidget::mouseMoveEvent().QObject::installEventFilter() allows an object to intercept events destined for another object.

The basic QEvent contains only an event type parameter and an "accept" flag. The accept flag set with accept(), and cleared with ignore(). It is set by default, but don't rely on this as subclasses may choose to clear it in their constructor.

Subclasses of QEvent contain additional parameters that describe the particular event.

See also QObject::event(), QObject::installEventFilter(), QCoreApplication::sendEvent(), QCoreApplication::postEvent(), and QCoreApplication::processEvents().

Member Type Documentation

enum QEvent::Type

This enum type defines the valid event types in Qt. The event types and the specialized classes for each type are as follows:

Constant Value Description
QEvent::None 0 Not an event.
QEvent::ActionAdded 114 A new action has been added (QActionEvent).
QEvent::ActionChanged 113 An action has been changed (QActionEvent).
QEvent::ActionRemoved 115 An action has been removed (QActionEvent).
QEvent::ActivationChange 99 A widget's top-level window activation state has changed.
QEvent::ApplicationActivate 121 The application has been made available to the user.
QEvent::ApplicationActivated ApplicationActivate This enum has been deprecated. Use ApplicationActivate instead.
QEvent::ApplicationDeactivate 122 The application has been suspended, and is unavailable to the user.
QEvent::ApplicationFontChange 36 The default application font has changed.
QEvent::ApplicationLayoutDirectionChange 37 The default application layout direction has changed.
QEvent::ApplicationPaletteChange 38 The default application palette has changed.
QEvent::ApplicationWindowIconChange 35 The application's icon has changed.
QEvent::ChildAdded 68 An object gets a child (QChildEvent).
QEvent::ChildPolished 69 A widget child gets polished (QChildEvent).
QEvent::ChildRemoved 71 An object loses a child (QChildEvent).
QEvent::Clipboard 40 The clipboard contents have changed (QClipboardEvent).
QEvent::Close 19 Widget was closed (QCloseEvent).
QEvent::CloseSoftwareInputPanel 200 A widget wants to close the software input panel (SIP).
QEvent::ContentsRectChange 178 The margins of the widget's content rect changed.
QEvent::ContextMenu 82 Context popup menu (QContextMenuEvent).
QEvent::CursorChange 183 The widget's cursor has changed.
QEvent::DeferredDelete 52 The object will be deleted after it has cleaned up (QDeferredDeleteEvent).
QEvent::DragEnter 60 The cursor enters a widget during a drag and drop operation (QDragEnterEvent).
QEvent::DragLeave 62 The cursor leaves a widget during a drag and drop operation (QDragLeaveEvent).
QEvent::DragMove 61 A drag and drop operation is in progress (QDragMoveEvent).
QEvent::Drop 63 A drag and drop operation is completed (QDropEvent).
QEvent::DynamicPropertyChange 170 A dynamic property was added, changed, or removed from the object.
QEvent::EnabledChange 98 Widget's enabled state has changed.
QEvent::Enter 10 Mouse enters widget's boundaries (QEnterEvent).
QEvent::EnterEditFocus 150 An editor widget gains focus for editing. QT_KEYPAD_NAVIGATION must be defined.
QEvent::EnterWhatsThisMode 124 Send to toplevel widgets when the application enters "What's This?" mode.
QEvent::Expose 206 Sent to a window when its on-screen contents are invalidated and need to be flushed from the backing store.
QEvent::FileOpen 116 File open request (QFileOpenEvent).
QEvent::FocusIn 8 Widget or Window gains keyboard focus (QFocusEvent).
QEvent::FocusOut 9 Widget or Window loses keyboard focus (QFocusEvent).
QEvent::FocusAboutToChange 23 Widget or Window focus is about to change (QFocusEvent)
QEvent::FontChange 97 Widget's font has changed.
QEvent::Gesture 198 A gesture was triggered (QGestureEvent).
QEvent::GestureOverride 202 A gesture override was triggered (QGestureEvent).
QEvent::GrabKeyboard 188 Item gains keyboard grab (QGraphicsItem only).
QEvent::GrabMouse 186 Item gains mouse grab (QGraphicsItem only).
QEvent::GraphicsSceneContextMenu 159 Context popup menu over a graphics scene (QGraphicsSceneContextMenuEvent).
QEvent::GraphicsSceneDragEnter 164 The cursor enters a graphics scene during a drag and drop operation (QGraphicsSceneDragDropEvent).
QEvent::GraphicsSceneDragLeave 166 The cursor leaves a graphics scene during a drag and drop operation (QGraphicsSceneDragDropEvent).
QEvent::GraphicsSceneDragMove 165 A drag and drop operation is in progress over a scene (QGraphicsSceneDragDropEvent).
QEvent::GraphicsSceneDrop 167 A drag and drop operation is completed over a scene (QGraphicsSceneDragDropEvent).
QEvent::GraphicsSceneHelp 163 The user requests help for a graphics scene (QHelpEvent).
QEvent::GraphicsSceneHoverEnter 160 The mouse cursor enters a hover item in a graphics scene (QGraphicsSceneHoverEvent).
QEvent::GraphicsSceneHoverLeave 162 The mouse cursor leaves a hover item in a graphics scene (QGraphicsSceneHoverEvent).
QEvent::GraphicsSceneHoverMove 161 The mouse cursor moves inside a hover item in a graphics scene (QGraphicsSceneHoverEvent).
QEvent::GraphicsSceneMouseDoubleClick 158 Mouse press again (double click) in a graphics scene (QGraphicsSceneMouseEvent).
QEvent::GraphicsSceneMouseMove 155 Move mouse in a graphics scene (QGraphicsSceneMouseEvent).
QEvent::GraphicsSceneMousePress 156 Mouse press in a graphics scene (QGraphicsSceneMouseEvent).
QEvent::GraphicsSceneMouseRelease 157 Mouse release in a graphics scene (QGraphicsSceneMouseEvent).
QEvent::GraphicsSceneMove 182 Widget was moved (QGraphicsSceneMoveEvent).
QEvent::GraphicsSceneResize 181 Widget was resized (QGraphicsSceneResizeEvent).
QEvent::GraphicsSceneWheel 168 Mouse wheel rolled in a graphics scene (QGraphicsSceneWheelEvent).
QEvent::Hide 18 Widget was hidden (QHideEvent).
QEvent::HideToParent 27 A child widget has been hidden.
QEvent::HoverEnter 127 The mouse cursor enters a hover widget (QHoverEvent).
QEvent::HoverLeave 128 The mouse cursor leaves a hover widget (QHoverEvent).
QEvent::HoverMove 129 The mouse cursor moves inside a hover widget (QHoverEvent).
QEvent::IconDrag 96 The main icon of a window has been dragged away (QIconDragEvent).
QEvent::IconTextChange 101 Widget's icon text has been changed.
QEvent::InputMethod 83 An input method is being used (QInputMethodEvent).
QEvent::InputMethodQuery 207 A input method query event (QInputMethodQueryEvent)
QEvent::KeyboardLayoutChange 169 The keyboard layout has changed.
QEvent::KeyPress 6 Key press (QKeyEvent).
QEvent::KeyRelease 7 Key release (QKeyEvent).
QEvent::LanguageChange 89 The application translation changed.
QEvent::LayoutDirectionChange 90 The direction of layouts changed.
QEvent::LayoutRequest 76 Widget layout needs to be redone.
QEvent::Leave 11 Mouse leaves widget's boundaries.
QEvent::LeaveEditFocus 151 An editor widget loses focus for editing. QT_KEYPAD_NAVIGATION must be defined.
QEvent::LeaveWhatsThisMode 125 Send to toplevel widgets when the application leaves "What's This?" mode.
QEvent::LocaleChange 88 The system locale has changed.
QEvent::NonClientAreaMouseButtonDblClick 176 A mouse double click occurred outside the client area.
QEvent::NonClientAreaMouseButtonPress 174 A mouse button press occurred outside the client area.
QEvent::NonClientAreaMouseButtonRelease 175 A mouse button release occurred outside the client area.
QEvent::NonClientAreaMouseMove 173 A mouse move occurred outside the client area.
QEvent::MacSizeChange 177 The user changed his widget sizes (Mac OS X only).
QEvent::MetaCall 43 An asynchronous method invocation viaQMetaObject::invokeMethod().
QEvent::ModifiedChange 102 Widgets modification state has been changed.
QEvent::MouseButtonDblClick 4 Mouse press again (QMouseEvent).
QEvent::MouseButtonPress 2 Mouse press (QMouseEvent).
QEvent::MouseButtonRelease 3 Mouse release (QMouseEvent).
QEvent::MouseMove 5 Mouse move (QMouseEvent).
QEvent::MouseTrackingChange 109 The mouse tracking state has changed.
QEvent::Move 13 Widget's position changed (QMoveEvent).
QEvent::OrientationChange 208 The screens orientation has changes (QScreenOrientationChangeEvent)
QEvent::Paint 12 Screen update necessary (QPaintEvent).
QEvent::PaletteChange 39 Palette of the widget changed.
QEvent::ParentAboutToChange 131 The widget parent is about to change.
QEvent::ParentChange 21 The widget parent has changed.
QEvent::PlatformPanel 212 A platform specific panel has been requested.
QEvent::Polish 75 The widget is polished.
QEvent::PolishRequest 74 The widget should be polished.
QEvent::QueryWhatsThis 123 The widget should accept the event if it has "What's This?" help.
QEvent::RequestSoftwareInputPanel 199 A widget wants to open a software input panel (SIP).
QEvent::Resize 14 Widget's size changed (QResizeEvent).
QEvent::ScrollPrepare 204 The object needs to fill in its geometry information (QScrollPrepareEvent).
QEvent::Scroll 205 The object needs to scroll to the supplied position (QScrollEvent).
QEvent::Shortcut 117 Key press in child for shortcut key handling (QShortcutEvent).
QEvent::ShortcutOverride 51 Key press in child, for overriding shortcut key handling (QKeyEvent).
QEvent::Show 17 Widget was shown on screen (QShowEvent).
QEvent::ShowToParent 26 A child widget has been shown.
QEvent::SockAct 50 Socket activated, used to implementQSocketNotifier.
QEvent::StateMachineSignal 192 A signal delivered to a state machine (QStateMachine::SignalEvent).
QEvent::StateMachineWrapped 193 The event is a wrapper for, i.e., contains, another event (QStateMachine::WrappedEvent).
QEvent::StatusTip 112 A status tip is requested (QStatusTipEvent).
QEvent::StyleChange 100 Widget's style has been changed.
QEvent::TabletMove 87 Wacom tablet move (QTabletEvent).
QEvent::TabletPress 92 Wacom tablet press (QTabletEvent).
QEvent::TabletRelease 93 Wacom tablet release (QTabletEvent).
QEvent::OkRequest 94 Ok button in decoration pressed. Supported only for Windows CE.
QEvent::TabletEnterProximity 171 Wacom tablet enter proximity event (QTabletEvent), sent to QApplication.
QEvent::TabletLeaveProximity 172 Wacom tablet leave proximity event (QTabletEvent), sent to QApplication.
QEvent::ThreadChange 22 The object is moved to another thread. This is the last event sent to this object in the previous thread. See QObject::moveToThread().
QEvent::Timer 1 Regular timer events (QTimerEvent).
QEvent::ToolBarChange 120 The toolbar button is toggled on Mac OS X.
QEvent::ToolTip 110 A tooltip was requested (QHelpEvent).
QEvent::ToolTipChange 184 The widget's tooltip has changed.
QEvent::TouchBegin 194 Beginning of a sequence of touch-screen or track-pad events (QTouchEvent).
QEvent::TouchCancel 209 Cancellation of touch-event sequence (QTouchEvent).
QEvent::TouchEnd 196 End of touch-event sequence (QTouchEvent).
QEvent::TouchUpdate 195 Touch-screen event (QTouchEvent).
QEvent::UngrabKeyboard 189 Item loses keyboard grab (QGraphicsItem only).
QEvent::UngrabMouse 187 Item loses mouse grab (QGraphicsItem only).
QEvent::UpdateLater 78 The widget should be queued to be repainted at a later time.
QEvent::UpdateRequest 77 The widget should be repainted.
QEvent::WhatsThis 111 The widget should reveal "What's This?" help (QHelpEvent).
QEvent::WhatsThisClicked 118 A link in a widget's "What's This?" help was clicked.
QEvent::Wheel 31 Mouse wheel rolled (QWheelEvent).
QEvent::WinEventAct 132 A Windows-specific activation event has occurred.
QEvent::WindowActivate 24 Window was activated.
QEvent::WindowBlocked 103 The window is blocked by a modal dialog.
QEvent::WindowDeactivate 25 Window was deactivated.
QEvent::WindowIconChange 34 The window's icon has changed.
QEvent::WindowStateChange 105 The window's state (minimized, maximized or full-screen) has changed (QWindowStateChangeEvent).
QEvent::WindowTitleChange 33 The window title has changed.
QEvent::WindowUnblocked 104 The window is unblocked after a modal dialog exited.
QEvent::WinIdChange 203 The window system identifer for this native widget has changed.
QEvent::ZOrderChange 126 The widget's z-order has changed. This event is never sent to top level windows.(点击使窗口置顶)

User events should have values between User and MaxUser:

Constant Value Description
QEvent::User 1000 User-defined event.
QEvent::MaxUser 65535 Last user event ID.

For convenience, you can use the registerEventType() function to register and reserve a custom event type for your application. Doing so will allow you to avoid accidentally re-using a custom event type already in use elsewhere in your application.

Property Documentation

accepted : bool

the accept flag of the event object

Setting the accept parameter indicates that the event receiver wants the event. Unwanted events might be propagated to the parent widget. By default, isAccepted() is set to true, but don't rely on this as subclasses may choose to clear it in their constructor.

For convenience, the accept flag can also be set with accept(), and cleared with ignore().

Access functions:

bool isAccepted() const
void setAccepted(bool accepted)

Member Function Documentation

QEvent::QEvent(Type type)

Contructs an event object of type type.

QEvent::~QEvent() [virtual]

Destroys the event. If it was posted, it will be removed from the list of events to be posted.

void QEvent::accept()

Sets the accept flag of the event object, the equivalent of calling setAccepted(true).

Setting the accept parameter indicates that the event receiver wants the event. Unwanted events might be propagated to the parent widget.

See also ignore().

void QEvent::ignore()

Clears the accept flag parameter of the event object, the equivalent of calling setAccepted(false).

Clearing the accept parameter indicates that the event receiver does not want the event. Unwanted events might be propagated to the parent widget.

See also accept().

int QEvent::registerEventType(int hint = -1) [static]

Registers and returns a custom event type. The hint provided will be used if it is available, otherwise it will return a value between QEvent::User and QEvent::MaxUser that has not yet been registered. The hint is ignored if its value is not between QEvent::User and QEvent::MaxUser.

Note: This function is thread-safe.

This function was introduced in QtCore 4.4.

bool QEvent::spontaneous() const

Returns true if the event originated outside the application (a system event); otherwise returns false.

The return value of this function is not defined for paint events.

Type QEvent::type() const

Returns the event type.

转载于:https://www.cnblogs.com/threef/p/3220201.html

本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

Qt,QEvent 的相关文章

  • 6.OS运行机制(补充)

    中断
  • Win11微软账号登录不上?Win11登录Microsoft账户出错的解决方法

    Win11微软账号登录不上 近期有部分Win11用户反映在登录微软账号会出现一直转圈 无法登录的情况 这样导致部分功能都不能正常使用了 为此十分令人头疼 那么对于这一情况 有没有什么方法可以有效的解决呢 下面小编教给大家操作方法 大家可以去
  • Linux系统的安装(在VM虚拟机上安装CentOS 7)

    工具准备 物理计算机一台 配置要求 操作系统 win10 64位 大家基本上都是 硬盘可用容量 20G以上 内存容量 4G以上 虚拟机安装包 VMware workstation full 12 5 下载链接 点我下载 提取码 9gha C
  • 掉电无法启动数据库问题解决

    由于突然掉电 造成客户在windows平台上10 2 0 1数据库无法驱动 以下是具体解决步骤 一 定位故障问题 1 启动数据库 查看错误 SQL gt startup ora 01113 file 1 needs media recove
  • 操作系统学习(九)进程通信

    一 知识总览 二 定义 进程通信是指进程之间的信息交换 每个进程都拥有自己的内存空间 是相互独立的 这样在每个进程执行时 才不会被其他进程所干扰 三 进程通信的方式 1 共享存储 1 两个进程对共享区的访问必须是互斥的 即在同一时间内 只允
  • 设备管理过程

    复杂度2 5 机密度2 5 最后更新2021 04 19 AIX中对设备会有如下五个操作 define aix下能看到设备的定义 但驱动程序并没有加载或初始化 该设备不可用 lsdev看到设备时defined 很多逻辑设备 vg lv等 只
  • LWIP在STM32上的移植

    本文做记录摘抄 加上自己的体会 文章标题 STM32使用LWIP实现DHCP客户端 http www cnblogs com dengxiaojun p 4379545 html 该文章介绍了几点 LWIP源码的内容 关键点 1 inclu
  • Linux系统如何看目录属于哪个磁盘分区

    Linux是先有目录 再有磁盘分区 df h 目录 例如 没有挂载磁盘的目录 显示在系统盘 root iZ2ze57v3n0zma46zqiq8nZ sh 1 5 5 df h alidata Filesystem Size Used Av
  • 通过源码包*.src.rpm定制开发rpm

    为什么80 的码农都做不了架构师 gt gt gt 1 基本流程 1 下载 安装相应的src rpm包 wget xxx src rpm rpm ivh xxx src rpm 这里的 安装 是指把xxx src rpm中的tar gz p
  • [架构之路-185]-《软考-系统分析师》-3-操作系统基本原理 - 文件索引表

    目录 一 文件的索引块 二 索引分配表 三 索引表的链接方案 四 多层索引 五 混合索引分配 一 文件的索引块 存放在目录中的文件 并非是文件的真实内容 目录中记录了文件的索引块是几号磁盘块 文件对应的索引表是存放在指定的磁盘块中的 二 索
  • Windows驱动开发(一)第一个驱动程序

    首先我们需要了解 在操作系统中 是分两种权限的 一种是内核态 我们也称为0环 一种是用户态 称之为3环 而在我们的电脑中 驱动程序是运行在内核态的 这意味着和操作系统内核是在同一权限的 而普通的应用程序的权限是最低的 高权限谁不想拥有呢 因
  • Linux常用命令记录

    文章目录 1 软件安装 安装软件 来自源服务器 安装 deb软件 来自本地 deb文件 修复依赖关系 卸载软件 2 文件 文件夹操作 删除文件夹 移动文件 文件重命名 3 程序查看 处理 进程查看 查看端口占用情况 强制终止程序 4 解压文
  • 图解五种磁盘调度算法, FCFS, SSTF, SCAN, C-SCAN, LOOK

    一 FCFS 调度 先来先服务 磁盘调度的最简单形式当然是先来先服务 FCFS 算法 虽然这种算法比较公平 但是它通常并不提供最快的服务 例如 考虑一个磁盘队列 其 I O 请求块的柱面的顺序如下 98 183 37 122 14 124
  • 《深入理解计算机系统》实验四Architecture Lab

    前言 深入理解计算机系统 实验四Architecture Lab下载和官方文档机翻请看 深入理解计算机系统 实验四Architecture Lab下载和官方文档机翻 我觉得这个文档对整个实验很有帮助 如果你的Y86 64环境还没安装好可以看
  • 如何快速构建CMBD系统-glpi

    脚本后续更新及迭代将由kkitDeploy项目代替 https github com luckman666 kkitdeploy server 请大家持续关注kkitDeploy 一 CMBD系统构建步骤 起初 开发这套CMBD系统是为了帮
  • C#实现FTP文件夹下载功能【转载】

    网上有很多FTP单个文件下载的方法 前段时间需要用到一个FTP文件夹下载的功能 于是找了下网上的相关资料结合MSDN实现了一段FTP文件夹下载的代码 实现的思路主要是通过遍历获得文件夹下的所有文件 当然 文件夹下可能仍然存在文件夹 这样就需
  • gdb attach 进程调试

    gdb调试正在运行的进程 GDB可以对正在执行的程序进行调度 它允许开发人员中断程序 并查看其状态 之后还能让这个程序正常地继续执行 gdb attach xxxxx xxxxx为利用ps命令获得的子进程process
  • 《OSPF和IS-IS详解》一1.7 独立且平等

    本节书摘来自异步社区 OSPF和IS IS详解 一书中的第1章 第1 7节 作者 美 Jeff Doyle 更多章节内容可以访问云栖社区 异步社区 公众号查看 1 7 独立且平等 OSPF和IS IS详解与TCP IP相比 OSI协议对各国
  • Linux(13):例行性工作排程

    例行性工程 听谓的排程是将工作安排执行的流程之意 Linux 排程就是透过 crontab 与 at 这两个东西 两种工作排程的方式 一种是例行性的 就是每隔一定的周期要来办的事项 一种是突发性的 就是这次做完以后就没有的那一种 at at
  • 【操作系统xv6】学习记录4-一级页表与二级页表

    占位

随机推荐

  • 【数据分析】数据分析方法(四):多维度拆解分析 & 对比分析

    数据分析方法 四 多维度拆解分析 对比分析 1 多维度拆解分析方法 对于多维度拆解分析方法 要理解两个关键词 维度 拆解 只看数据整体 我们可能注意不到数据内部各个部分构成的差异 如果忽略这种差异进行比较 就有可能导致无法察觉该差异所造成的
  • 冒泡排序,快速排序详解及C++代码详细实现

    冒泡排序 冒泡排序的基本思想是 从后往前 或从前往后 两两比较相邻元素的值 若为逆序 即A i 1 gt A i 则交换它们 直到序列比较完 我们称它为第一趟冒泡 结果是将最小的元素交换到待排序列的第一个位置 或将最大的元素交换到待排序列的
  • CubeMX 5.5 修改HAL库库函数版本

    最初我是按照软件推荐 自动按安装的1 15的 为了和正点原子的例程统一库函数版本 就下载了1 11 但是在工程配置界面始终没有办法修改hal库版本的选择 关闭CubeMX 使用记事本打开工程文件 修改版本号 重新打开工程 库版本修改成功 工
  • Linux学习基础操作和文件管理命令

    Linux学习基础操作和文件管理命令 1 如何解决系统图形出现问题 1 ctrl alt f2 f6 gt gt gt 进入虚拟控制台 ctrl alt f1 gt gt gt 返回图形 2 登陆系统获得root权限 执行init 3 lo
  • 关于富文本编辑图片移动端太大溢出,太小正常处理

    在使用富文本编辑完文章 生成html字符串后 直接给移动端使用 如果图片太大 会出现溢出 图片太小没有问题 如果简单粗暴给全局样式img添加width 100 是可以解决溢出问题 但又造成了一个新的问题 就是小图片之前没有溢出也都变成了10
  • No Feign Client for loadBalancing defined. Didyou forget to include spring-cloud-starter-loadbalance

    Unexpected exception during bean creation nested exception is java lang IllegalStateException No Feign Client for loadBa
  • 解决idea不能搜索任何插件

    解决idea不能搜索任何插件 解决idea不能搜索任何插件
  • 持续集成/技术交付全流程流水线工具的设计与落地

    文章目录 持续集成 技术交付全流程流水线工具的设计与落地 概述 工具架构设计 主要功能模块 代码库 Jenkins 流水线 代码构建 自动化测试 产品部署 监控报警 使用方法 步骤一 安装 Jenkins 步骤二 创建 Jenkins 流水
  • 汇编语言(王爽第三版)实验十七

    实验十七 这道题我也不知道写的对不对 逻辑上应该没啥问题 但是运行起来好像没效果 题目和个人思路 安装一个新的int 7ch中断例程 实现通过逻辑扇区号对软盘进行读写 参数说明 1 用ah寄存器传递功能号 0表示读 1表示写 2 用dx寄存
  • vue中下载文件导出保存到本地

    vue中下载文件导出保存到本地 先分析如何下载 先有一个链接地址 然后使用 location href或window open 下载到本地 看看返回数据 res config url 中是下载链接地址 res data 中是返回的二进制数据
  • 结构体指针变量使用方法举例

    include
  • 报表设计

    最近在做任务报表方面的工作 之前一直以为查询和报表是一样东西 虽说 报表是查询的一种展示模式 但是做分析时 还是应该将以区别 报表 多样的格式 动态的数据 报表是我们想要数据展示的一种形态 就像是各种图表 例如 你想查询小明的名字 查询可以
  • 使用Nginx实现多个网站代理[多端口监听][django][资源服务器]

    使用Nginx实现多个网站代理 导航 原文链接 使用Nginx实现多个网站代理 导言 nginx是网站开发后期一个不可缺少的应用 nginx的作用是 请求代理 监听请求并转发给对应端口的进程处理 资源代理 使用nginx直接将服务器资源共享
  • IntelliJ IDEA部署tomcat时出现No artifacts marked for deployment

    这种错误主要是因为没有设置导出包 解决方法 File gt Project Structure gt Artifacts 然后点击ok 然后记得apply ok 此时再回到问题所在 点击Fix即可 或者如下 启动 打开浏览器复制下面网址 h
  • 数学建模--决策树的预测模型的Python实现

    目录 1 算法流程简介 2 算法核心代码 3 算法效果展示 1 算法流程简介 决策树的应用 对泰坦尼克号数据集成员进行预测生死 算法流程还是比较简单的 简单学习一下决策树跟着注释写即可 文章参考 https zhuanlan zhihu c
  • GROUP BY分组单个和多个字段不同条件所查询出来的结果不同

    第一次查询 代码如下 select from test 结果中 按照b列来分 则是 5个a 3个b 按照c列来分 则是 4个甲 4个乙 第二次 查询按照 b列来分组 代码如下 select count a b from test group
  • cordova-plugin-file-transfer cordova plugin下载不到问题解决记录

    环境 cordova 11 1 0 node 16 前提 安卓项目需要支持一些功能 升级到androidX所以一些插件需要更新 使用github方式可能会报ssh需要publicKey相关问题 不想用私人账号进行git github com
  • c++ uint32转为int_轻松实现C/C++各种常见进制相互转换

    这篇文章主要介绍了轻松实现C C 各种常见进制相互转换 文中通过示例代码介绍的非常详细 对大家的学习或者工作具有一定的参考学习价值 需要的朋友们下面随着小编来一起学习学习吧 adsbygoogle window adsbygoogle pu
  • 融云「百幄」之视频会议和直播,让办公桌无限延伸

    2020 年 为避免人员流动造成聚集性感染 全世界各地不少企业开始允许员工居家办公 跨地域 跨终端协同办公行业迎来井喷式增长 视频会议 疫 外爆发 关注 融云 RongCloud 了解协同办公平台更多干货 2022 年 全球疫情仍在蔓延 对
  • Qt,QEvent

    QEvent Class The QEvent class is the base class of all event classes Event objects contain event parameters More include