添加项目文件。
This commit is contained in:
@@ -0,0 +1,141 @@
|
||||
// 确保“当前要调整的角度输入框”已选中:
|
||||
// 点击过某个角度输入框就用它;没有点击记录时按键盘焦点推断;仍然没有就提示用户。
|
||||
bool MainWindow::ensureAngleTargetSelected()
|
||||
{
|
||||
if (!selectedLineEdit.isEmpty())
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
if (ui->le_max_elevation->hasFocus())
|
||||
{
|
||||
selectedLineEdit = "max_elevation";
|
||||
}
|
||||
else if (ui->le_max_angle_depression->hasFocus())
|
||||
{
|
||||
selectedLineEdit = "max_angle_depression";
|
||||
}
|
||||
else if (ui->le_rotation_angle->hasFocus())
|
||||
{
|
||||
selectedLineEdit = "rotation_angle";
|
||||
}
|
||||
|
||||
if (!selectedLineEdit.isEmpty())
|
||||
{
|
||||
qDebug() << "按焦点识别要调整的参数框:" << selectedLineEdit;
|
||||
return true;
|
||||
}
|
||||
|
||||
qDebug() << "未选中任何参数框,角度按钮无效";
|
||||
QMessageBox::information(this, "提示",
|
||||
"请先点一下要调整的角度输入框(最大仰角 / 最大俯角 / 步进角度),再按 +1° / -1° / +0.1° / -0.1° 按钮。");
|
||||
return false;
|
||||
}
|
||||
|
||||
// 角度按钮的统一实现:以界面当前值为基准加减 step,限幅后写回界面
|
||||
void MainWindow::adjustSelectedAngle(double step)
|
||||
{
|
||||
if (!ensureAngleTargetSelected())
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
const double kLimit = 15.0;
|
||||
|
||||
if (selectedLineEdit == "rotation_angle")
|
||||
{
|
||||
// 步进角度:0 ~ 15°(以界面当前值为基准)
|
||||
steppingAngle = ui->le_rotation_angle->text().toDouble() + step;
|
||||
if (std::abs(steppingAngle) < 1e-10)
|
||||
{
|
||||
steppingAngle = 0.0;
|
||||
}
|
||||
if (steppingAngle < 0.0)
|
||||
{
|
||||
QMessageBox::warning(this, "警告", "步进角度不能小于0°!");
|
||||
steppingAngle = 0.0;
|
||||
}
|
||||
else if (steppingAngle > kLimit)
|
||||
{
|
||||
QMessageBox::warning(this, "警告", "步进角度不能大于15°!");
|
||||
steppingAngle = kLimit;
|
||||
}
|
||||
}
|
||||
else if (selectedLineEdit == "max_angle_depression")
|
||||
{
|
||||
// 最大仰角(终止角):-15° ~ +15°
|
||||
maxAngleDepression = ui->le_max_angle_depression->text().toDouble() + step;
|
||||
if (std::abs(maxAngleDepression) < 1e-10)
|
||||
{
|
||||
maxAngleDepression = 0.0;
|
||||
}
|
||||
if (maxAngleDepression < -kLimit)
|
||||
{
|
||||
QMessageBox::warning(this, "警告", "角度不能小于-15°!");
|
||||
maxAngleDepression = -kLimit;
|
||||
}
|
||||
else if (maxAngleDepression > kLimit)
|
||||
{
|
||||
QMessageBox::warning(this, "警告", "角度不能大于15°!");
|
||||
maxAngleDepression = kLimit;
|
||||
}
|
||||
}
|
||||
else if (selectedLineEdit == "max_elevation")
|
||||
{
|
||||
// 最大俯角(起测角):-15° ~ +15°
|
||||
maxElevation = ui->le_max_elevation->text().toDouble() + step;
|
||||
if (std::abs(maxElevation) < 1e-10)
|
||||
{
|
||||
maxElevation = 0.0;
|
||||
}
|
||||
if (maxElevation < -kLimit)
|
||||
{
|
||||
QMessageBox::warning(this, "警告", "角度不能小于-15°!");
|
||||
maxElevation = -kLimit;
|
||||
}
|
||||
else if (maxElevation > kLimit)
|
||||
{
|
||||
QMessageBox::warning(this, "警告", "角度不能大于15°!");
|
||||
maxElevation = kLimit;
|
||||
}
|
||||
}
|
||||
|
||||
// 三个框统一回写,保证界面与内部值一致
|
||||
ui->le_max_angle_depression->setText(QString::number(maxAngleDepression) + "°");
|
||||
ui->le_max_elevation->setText(QString::number(maxElevation) + "°");
|
||||
ui->le_rotation_angle->setText(QString::number(steppingAngle) + "°");
|
||||
ui->la_current_angle->setText(QString::number(currentAngle) + "°");
|
||||
|
||||
qDebug() << "调整角度(步长" << step << "):"
|
||||
<< "最大俯角(maxElevation)=" << maxElevation
|
||||
<< " 最大仰角(maxAngleDepression)=" << maxAngleDepression
|
||||
<< " 步进(steppingAngle)=" << steppingAngle;
|
||||
}
|
||||
|
||||
// 功能:角度减少0.1按钮触发
|
||||
void MainWindow::on_but_angle_sub_1_clicked()
|
||||
{
|
||||
qDebug() << "角度减少0.1按钮触发";
|
||||
adjustSelectedAngle(-0.1);
|
||||
}
|
||||
|
||||
// 功能:角度增加0.1按钮触发
|
||||
void MainWindow::on_but_angle_add_1_clicked()
|
||||
{
|
||||
qDebug() << "角度增加0.1按钮触发";
|
||||
adjustSelectedAngle(0.1);
|
||||
}
|
||||
|
||||
// 功能:角度减少1按钮触发
|
||||
void MainWindow::on_but_angle_sub_2_clicked()
|
||||
{
|
||||
qDebug() << "角度减少1按钮触发";
|
||||
adjustSelectedAngle(-1.0);
|
||||
}
|
||||
|
||||
// 功能:角度增加1按钮触发
|
||||
void MainWindow::on_but_angle_add_2_clicked()
|
||||
{
|
||||
qDebug() << "角度增加1按钮触发";
|
||||
adjustSelectedAngle(1.0);
|
||||
}
|
||||
@@ -0,0 +1,65 @@
|
||||
# ===========================================================================
|
||||
# 1) 在真实工程里验证 Debug 预设构建 2) 清理临时文件 3) 旧 README 加指路
|
||||
# ===========================================================================
|
||||
$ErrorActionPreference = 'Stop'
|
||||
$root = 'D:\Code\cavity_LIBS_system-master'
|
||||
|
||||
# ---- 1. Debug 预设构建 ---------------------------------------------------
|
||||
$vc = 'C:\Program Files\Microsoft Visual Studio\18\Community\VC\Auxiliary\Build\vcvars64.bat'
|
||||
$cmakeDir = 'C:\Program Files\Microsoft Visual Studio\18\Community\Common7\IDE\CommonExtensions\Microsoft\CMake'
|
||||
$env:PATH = "$cmakeDir\CMake\bin;$cmakeDir\Ninja;" + $env:PATH
|
||||
& cmd /c "`"$vc`" >nul && set" | ForEach-Object {
|
||||
if ($_ -match '^([^=]+)=(.*)$') { Set-Item -Path "Env:$($matches[1])" -Value $matches[2] -ErrorAction SilentlyContinue }
|
||||
}
|
||||
|
||||
Push-Location $root
|
||||
try {
|
||||
Write-Host '==== cmake --preset msvc-x64-debug ===='
|
||||
& cmake --preset msvc-x64-debug | Select-Object -Last 12
|
||||
if ($LASTEXITCODE -ne 0) { throw "configure debug 失败 ($LASTEXITCODE)" }
|
||||
Write-Host '==== build debug ===='
|
||||
& cmake --build --preset msvc-x64-debug | Select-Object -Last 3
|
||||
if ($LASTEXITCODE -ne 0) { throw "build debug 失败 ($LASTEXITCODE)" }
|
||||
}
|
||||
finally { Pop-Location }
|
||||
|
||||
$exe = Join-Path $root 'out\build\msvc-x64-debug\bin\CavityLIBS.exe'
|
||||
if (-not (Test-Path $exe)) { throw "没有生成 $exe" }
|
||||
Write-Host "[ok] Debug 产物: $exe"
|
||||
|
||||
# ---- 2. 清理临时文件 -----------------------------------------------------
|
||||
Remove-Item (Join-Path $root 'msvc-deps\stage') -Recurse -Force -ErrorAction SilentlyContinue
|
||||
foreach ($f in 'build-qwt.bat','build-qwt-nmake.bat','build-qwt2.bat','build-qwt-release-log.bat',
|
||||
'build-qwt-nmake.bat','release-build.log','debug-build.log','conf.out','conf.err') {
|
||||
Remove-Item (Join-Path $root "msvc-deps\$f") -Force -ErrorAction SilentlyContinue
|
||||
}
|
||||
Remove-Item (Join-Path $root 'msvc-deps\install.ps1') -Force -ErrorAction SilentlyContinue
|
||||
Remove-Item (Join-Path $root 'msvc-deps\compat') -Recurse -Force -ErrorAction SilentlyContinue
|
||||
Write-Host '[ok] 已清理 msvc-deps\stage 与中间脚本'
|
||||
|
||||
# ---- 3. 旧 README 顶部加一句指路 ----------------------------------------
|
||||
$oldReadme = Join-Path $root 'README-构建运行.md'
|
||||
$text = [System.IO.File]::ReadAllText($oldReadme, [System.Text.Encoding]::UTF8)
|
||||
if ($text -notmatch 'README-VS2026') {
|
||||
$marker = "# 构建与运行说明(MinGW 32 / 64 位)`r`n"
|
||||
$note = @(
|
||||
"# 构建与运行说明(MinGW 32 / 64 位)",
|
||||
"",
|
||||
"> **本机现在请先看 [README-VS2026-构建运行.md](README-VS2026-构建运行.md)。**",
|
||||
"> 本文的 MinGW 方案需要 `G:` 盘那套 Qt 5.15.2 mingw81_64 + mingw810_64 + qwt + aris_0411,",
|
||||
"> 本机 `G:` 盘已不存在;现用 Visual Studio 2026 / MSVC 编译,光谱仪走内置兼容桩。",
|
||||
"#MINIGW_HEADING#"
|
||||
) -join "`r`n"
|
||||
$text = $text.Replace($marker, $note).Replace("#MINIGW_HEADING#`r`n", "")
|
||||
[System.IO.File]::WriteAllText($oldReadme, $text, (New-Object System.Text.UTF8Encoding($false)))
|
||||
Write-Host '[ok] README-构建运行.md 已加指路说明'
|
||||
} else {
|
||||
Write-Host '[skip] README-构建运行.md 已有指路说明'
|
||||
}
|
||||
|
||||
Write-Host ''
|
||||
Write-Host '==== 最终产物 ===='
|
||||
foreach ($cfg in 'msvc-x64-debug','msvc-x64-release') {
|
||||
$p = Join-Path $root "out\build\$cfg\bin\CavityLIBS.exe"
|
||||
if (Test-Path $p) { Write-Host ("{0,-18} {1,8} KB {2}" -f $cfg, [int]((Get-Item $p).Length/1KB), $p) }
|
||||
}
|
||||
@@ -0,0 +1,66 @@
|
||||
# ===========================================================================
|
||||
# 补丁 v10:重写四个角度按钮槽
|
||||
# * 统一入口 adjustSelectedAngle(step)
|
||||
# * 没选中输入框时按焦点推断;仍没有则弹提示(不再静默失效)
|
||||
# * 以界面当前值为基准加减(手工输入不会被旧值覆盖)
|
||||
# ===========================================================================
|
||||
$ErrorActionPreference = 'Stop'
|
||||
$utf8NoBom = New-Object System.Text.UTF8Encoding($false)
|
||||
|
||||
$root = 'D:\Code\cavity_LIBS_system-master'
|
||||
$cpp = Join-Path $root 'mainwindow.cpp'
|
||||
$inc = Join-Path $root 'msvc-deps\angle_slots.inc'
|
||||
|
||||
$text = [System.IO.File]::ReadAllText($cpp, [System.Text.Encoding]::UTF8)
|
||||
if ($text.Contains("`r")) { throw '文件含 CR,非预期' }
|
||||
$lines = $text -split "`n"
|
||||
|
||||
# 定位:从 sub_1 的注释行 到 add_2 的结束大括号
|
||||
$start = 0; $end = 0
|
||||
for ($i = 1; $i -le $lines.Count; $i++) {
|
||||
if ($lines[$i-1] -match 'void MainWindow::on_but_angle_sub_1_clicked') { $start = $i - 1; break }
|
||||
}
|
||||
if ($start -eq 0) { throw '找不到 sub_1 槽' }
|
||||
if ($lines[$start-1].Trim() -notmatch '^//') { $start = $start + 1 } # 上面的注释行
|
||||
for ($i = $start; $i -le $lines.Count; $i++) {
|
||||
if ($lines[$i-1] -match 'void MainWindow::on_but_angle_restoration_clicked') { $end = $i - 2; break }
|
||||
}
|
||||
if ($end -eq 0) { throw '找不到重置按钮槽' }
|
||||
while ($lines[$end-1].Trim() -eq '') { $end-- }
|
||||
|
||||
Write-Host "替换区间:第 $start .. $end 行(共 $($end - $start + 1) 行)"
|
||||
Write-Host " 首行:$($lines[$start-1].Trim())"
|
||||
Write-Host " 末行:$($lines[$end-1].Trim())"
|
||||
|
||||
# 读取新内容(UTF-8,去掉结尾空行)
|
||||
$newLines = ([System.IO.File]::ReadAllText($inc, [System.Text.Encoding]::UTF8) -split "`n")
|
||||
while ($newLines.Count -gt 0 -and $newLines[$newLines.Count - 1] -eq '') {
|
||||
$newLines = $newLines[0..($newLines.Count - 2)]
|
||||
}
|
||||
|
||||
$before = if ($start -gt 1) { $lines[0..($start - 2)] } else { @() }
|
||||
$after = if ($end -lt $lines.Count) { $lines[$end..($lines.Count - 1)] } else { @() }
|
||||
$lines = @($before) + @($newLines) + @($after)
|
||||
|
||||
[System.IO.File]::WriteAllText($cpp, ($lines -join "`n"), $utf8NoBom)
|
||||
Write-Host "写完:$($lines.Count) 行"
|
||||
|
||||
# 校验
|
||||
$s = [System.Text.Encoding]::UTF8.GetString([System.IO.File]::ReadAllBytes($cpp))
|
||||
Write-Host ''
|
||||
Write-Host '==== 校验 ===='
|
||||
Write-Host (" 汉字={0} 非法UTF8={1} {{={2} }}={3}" -f `
|
||||
([regex]::Matches($s,'[\u4e00-\u9fff]')).Count, ([regex]::Matches($s,[char]0xFFFD)).Count,
|
||||
([regex]::Matches($s,'\{')).Count, ([regex]::Matches($s,'\}')).Count)
|
||||
foreach ($k in 'adjustSelectedAngle','ensureAngleTargetSelected') {
|
||||
Write-Host (" {0} 出现 {1} 次" -f $k, ([regex]::Matches($s,[regex]::Escape($k))).Count)
|
||||
}
|
||||
$nl = $s -split "`n"
|
||||
for ($i = 1; $i -le $nl.Count; $i++) {
|
||||
if ($nl[$i-1] -match 'void MainWindow::on_but_angle_(add|sub)_\d_clicked') {
|
||||
Write-Host (" {0,4} {1}" -f $i, $nl[$i-1])
|
||||
Write-Host (" {0,4} {1}" -f ($i+1), $nl[$i])
|
||||
Write-Host (" {0,4} {1}" -f ($i+2), $nl[$i+1])
|
||||
Write-Host (" {0,4} {1}" -f ($i+3), $nl[$i+2])
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,48 @@
|
||||
# ===========================================================================
|
||||
# 补丁 v9:+1/-1/+0.1/-0.1 四个槽改成“先读界面当前值,再加减”
|
||||
# 避免用户手工输入后被成员变量里的旧值覆盖
|
||||
# ===========================================================================
|
||||
$ErrorActionPreference = 'Stop'
|
||||
$utf8NoBom = New-Object System.Text.UTF8Encoding($false)
|
||||
|
||||
$root = 'D:\Code\cavity_LIBS_system-master'
|
||||
$cpp = Join-Path $root 'mainwindow.cpp'
|
||||
|
||||
$text = [System.IO.File]::ReadAllText($cpp, [System.Text.Encoding]::UTF8)
|
||||
if ($text.Contains("`r")) { throw '文件含 CR,非预期' }
|
||||
|
||||
function Insert-AfterBranch([string]$src, [string]$selector, [string]$var, [string]$widget) {
|
||||
$pattern = '(?m)^( if \(selectedLineEdit == "' + $selector + '"\)\r?\n \{\r?\n)'
|
||||
$insert = '$1' + ' // 以界面当前值为基准(支持先手工输入,再用按钮微调)' + "`n" +
|
||||
' ' + $var + ' = ui->' + $widget + '->text().toDouble();' + "`n"
|
||||
$matches = [regex]::Matches($src, $pattern)
|
||||
if ($matches.Count -eq 0) { throw "未找到分支:$selector" }
|
||||
return @{ Text = [regex]::Replace($src, $pattern, $insert); Count = $matches.Count }
|
||||
}
|
||||
|
||||
$r1 = Insert-AfterBranch $text 'rotation_angle' 'steppingAngle' 'le_rotation_angle'
|
||||
$r2 = Insert-AfterBranch $r1.Text 'max_angle_depression' 'maxAngleDepression' 'le_max_angle_depression'
|
||||
$r3 = Insert-AfterBranch $r2.Text 'max_elevation' 'maxElevation' 'le_max_elevation'
|
||||
|
||||
Write-Host (" 插入处数:rotation_angle={0} max_angle_depression={1} max_elevation={2}" -f `
|
||||
$r1.Count, $r2.Count, $r3.Count)
|
||||
|
||||
[System.IO.File]::WriteAllText($cpp, $r3.Text, $utf8NoBom)
|
||||
|
||||
# ---- 校验 ----
|
||||
$b = [System.IO.File]::ReadAllBytes($cpp)
|
||||
$s = [System.Text.Encoding]::UTF8.GetString($b)
|
||||
Write-Host ''
|
||||
Write-Host '==== 校验 ===='
|
||||
Write-Host (" 行数={0} 汉字={1} 非法UTF8={2} {{={3} }}={4}" -f `
|
||||
($s -split "`n").Count, ([regex]::Matches($s,'[\u4e00-\u9fff]')).Count,
|
||||
([regex]::Matches($s,[char]0xFFFD)).Count,
|
||||
([regex]::Matches($s,'\{')).Count, ([regex]::Matches($s,'\}')).Count)
|
||||
foreach ($w in 'le_rotation_angle','le_max_angle_depression','le_max_elevation') {
|
||||
Write-Host (" ui->{0}->text().toDouble() 出现 {1} 次" -f $w, ([regex]::Matches($s, [regex]::Escape("ui->$w->text().toDouble()"))).Count)
|
||||
}
|
||||
$nl = $s -split "`n"
|
||||
$fn = 0
|
||||
for ($i = 1; $i -le $nl.Count; $i++) { if ($nl[$i-1] -match 'void MainWindow::on_but_angle_add_2_clicked') { $fn = $i; break } }
|
||||
Write-Host ' add_2 片段:'
|
||||
for ($i = $fn; $i -le $fn + 12; $i++) { Write-Host (" {0,4} {1}" -f $i, $nl[$i-1]) }
|
||||
@@ -0,0 +1,84 @@
|
||||
Qwt 6.2.0
|
||||
=========
|
||||
|
||||
0) Requirement for Qt >= 4.8
|
||||
|
||||
1) Class Includes added
|
||||
|
||||
Include files, that match the class names are available now. So
|
||||
it is possible to write "#include <QwtPlot>" now instead of "include qwt_plot.h"
|
||||
|
||||
2) BSD License for examples
|
||||
|
||||
Where possible the code of the examples is available under the 3-clause BSD License
|
||||
|
||||
3) MathML text renderer removed
|
||||
|
||||
The code can be found at https://github.com/uwerat/qwt-mml-dev now and is intended
|
||||
to become a standalone lib. Anyone who is interested to workon it, please let me know.
|
||||
|
||||
4) Spline interpolation
|
||||
|
||||
The broken implementation of QwtSpline has been replaced by a bunch of classes
|
||||
offering all sort of functionalities around splines.
|
||||
|
||||
The most popular spline approximation/interpolation algos have been implemented:
|
||||
|
||||
- Basis
|
||||
- Cardinal
|
||||
- ParabolicBlending
|
||||
- Akima
|
||||
- The one used in MS Excel
|
||||
- Cubic
|
||||
|
||||
An implementation of the de Casteljau’s algorithm has been added
|
||||
|
||||
- QwtBezier
|
||||
|
||||
5) New plot items
|
||||
|
||||
- QwtPlotVectorField
|
||||
A new type of plot item for vector fields
|
||||
|
||||
- QwtPlotGraphicItem
|
||||
An item displaying a QwtGraphic image ( f.e used by QwtPlotSvgItem )
|
||||
|
||||
6) Plot Canvas
|
||||
|
||||
- QwtAbstractPlotCanvas introduced
|
||||
- QwtPlotOpenGLCanvas added to support QOpenGLWidget
|
||||
|
||||
7) QwtPlotCurve
|
||||
|
||||
- QwtPlotCurve::FilterPointsAggressive mode added - a fast weeding algo
|
||||
for huge datasets with increasing x or y values
|
||||
|
||||
- QwtPlotCurve::closestPoint is virtual now
|
||||
- QwtPlotCurve: polygon clipping includes the painter clip
|
||||
- QwtPlotCurve::setLegendAttributes added
|
||||
- QwtValuePointData added for curves, where the x values are the index
|
||||
- a couple of new QwtPlotCurve::setSamples alternatives
|
||||
|
||||
8) QwtPlotSpectrogram
|
||||
|
||||
- QwtPlotSpectrogram::setColorTableSize added
|
||||
- QwtRasterData::setInterval/interval changed into a pure virtual getter
|
||||
- QwtMatrixRasterData::BicubicInterpolation added
|
||||
- QwtMatrixRasterData::interval: API cleanup
|
||||
- QwtHueColorMap, QwtSaturationValueColorMap added
|
||||
|
||||
9) QwtPlotRenderer
|
||||
|
||||
- using QPdfWriter where possible
|
||||
|
||||
10)
|
||||
- LOG_MIN/LOG_MAX removed, use QwtTransform::LogMin/LogMax instead ( values differ ! )
|
||||
- qwt_compat.h removed
|
||||
- qwtFuzzyGreaterOrEqual/qwtFuzzyLessOrEqual removed
|
||||
- qwtGetMin/qwtGetMax removed
|
||||
|
||||
11)
|
||||
- Not aligning unknown paint engines ( f.e EMF )
|
||||
- QwtNullPaintDevice is using a different type than QPaintEngine::User now
|
||||
|
||||
12) Many other changes ...
|
||||
@@ -0,0 +1,543 @@
|
||||
Qwt License
|
||||
Version 1.0, January 1, 2003
|
||||
|
||||
The Qwt library and included programs are provided under the terms
|
||||
of the GNU LESSER GENERAL PUBLIC LICENSE (LGPL) with the following
|
||||
exceptions:
|
||||
|
||||
1. Widgets that are subclassed from Qwt widgets do not
|
||||
constitute a derivative work.
|
||||
|
||||
2. Static linking of applications and widgets to the
|
||||
Qwt library does not constitute a derivative work
|
||||
and does not require the author to provide source
|
||||
code for the application or widget, use the shared
|
||||
Qwt libraries, or link their applications or
|
||||
widgets against a user-supplied version of Qwt.
|
||||
|
||||
If you link the application or widget to a modified
|
||||
version of Qwt, then the changes to Qwt must be
|
||||
provided under the terms of the LGPL in sections
|
||||
1, 2, and 4.
|
||||
|
||||
3. You do not have to provide a copy of the Qwt license
|
||||
with programs that are linked to the Qwt library, nor
|
||||
do you have to identify the Qwt license in your
|
||||
program or documentation as required by section 6
|
||||
of the LGPL.
|
||||
|
||||
|
||||
However, programs must still identify their use of Qwt.
|
||||
The following example statement can be included in user
|
||||
documentation to satisfy this requirement:
|
||||
|
||||
[program/widget] is based in part on the work of
|
||||
the Qwt project (http://qwt.sf.net).
|
||||
|
||||
----------------------------------------------------------------------
|
||||
|
||||
|
||||
GNU LESSER GENERAL PUBLIC LICENSE
|
||||
Version 2.1, February 1999
|
||||
|
||||
Copyright (C) 1991, 1999 Free Software Foundation, Inc.
|
||||
59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
|
||||
[This is the first released version of the Lesser GPL. It also counts
|
||||
as the successor of the GNU Library Public License, version 2, hence
|
||||
the version number 2.1.]
|
||||
|
||||
Preamble
|
||||
|
||||
The licenses for most software are designed to take away your
|
||||
freedom to share and change it. By contrast, the GNU General Public
|
||||
Licenses are intended to guarantee your freedom to share and change
|
||||
free software--to make sure the software is free for all its users.
|
||||
|
||||
This license, the Lesser General Public License, applies to some
|
||||
specially designated software packages--typically libraries--of the
|
||||
Free Software Foundation and other authors who decide to use it. You
|
||||
can use it too, but we suggest you first think carefully about whether
|
||||
this license or the ordinary General Public License is the better
|
||||
strategy to use in any particular case, based on the explanations below.
|
||||
|
||||
When we speak of free software, we are referring to freedom of use,
|
||||
not price. Our General Public Licenses are designed to make sure that
|
||||
you have the freedom to distribute copies of free software (and charge
|
||||
for this service if you wish); that you receive source code or can get
|
||||
it if you want it; that you can change the software and use pieces of
|
||||
it in new free programs; and that you are informed that you can do
|
||||
these things.
|
||||
|
||||
To protect your rights, we need to make restrictions that forbid
|
||||
distributors to deny you these rights or to ask you to surrender these
|
||||
rights. These restrictions translate to certain responsibilities for
|
||||
you if you distribute copies of the library or if you modify it.
|
||||
|
||||
For example, if you distribute copies of the library, whether gratis
|
||||
or for a fee, you must give the recipients all the rights that we gave
|
||||
you. You must make sure that they, too, receive or can get the source
|
||||
code. If you link other code with the library, you must provide
|
||||
complete object files to the recipients, so that they can relink them
|
||||
with the library after making changes to the library and recompiling
|
||||
it. And you must show them these terms so they know their rights.
|
||||
|
||||
We protect your rights with a two-step method: (1) we copyright the
|
||||
library, and (2) we offer you this license, which gives you legal
|
||||
permission to copy, distribute and/or modify the library.
|
||||
|
||||
To protect each distributor, we want to make it very clear that
|
||||
there is no warranty for the free library. Also, if the library is
|
||||
modified by someone else and passed on, the recipients should know
|
||||
that what they have is not the original version, so that the original
|
||||
author's reputation will not be affected by problems that might be
|
||||
introduced by others.
|
||||
|
||||
Finally, software patents pose a constant threat to the existence of
|
||||
any free program. We wish to make sure that a company cannot
|
||||
effectively restrict the users of a free program by obtaining a
|
||||
restrictive license from a patent holder. Therefore, we insist that
|
||||
any patent license obtained for a version of the library must be
|
||||
consistent with the full freedom of use specified in this license.
|
||||
|
||||
Most GNU software, including some libraries, is covered by the
|
||||
ordinary GNU General Public License. This license, the GNU Lesser
|
||||
General Public License, applies to certain designated libraries, and
|
||||
is quite different from the ordinary General Public License. We use
|
||||
this license for certain libraries in order to permit linking those
|
||||
libraries into non-free programs.
|
||||
|
||||
When a program is linked with a library, whether statically or using
|
||||
a shared library, the combination of the two is legally speaking a
|
||||
combined work, a derivative of the original library. The ordinary
|
||||
General Public License therefore permits such linking only if the
|
||||
entire combination fits its criteria of freedom. The Lesser General
|
||||
Public License permits more lax criteria for linking other code with
|
||||
the library.
|
||||
|
||||
We call this license the "Lesser" General Public License because it
|
||||
does Less to protect the user's freedom than the ordinary General
|
||||
Public License. It also provides other free software developers Less
|
||||
of an advantage over competing non-free programs. These disadvantages
|
||||
are the reason we use the ordinary General Public License for many
|
||||
libraries. However, the Lesser license provides advantages in certain
|
||||
special circumstances.
|
||||
|
||||
For example, on rare occasions, there may be a special need to
|
||||
encourage the widest possible use of a certain library, so that it becomes
|
||||
a de-facto standard. To achieve this, non-free programs must be
|
||||
allowed to use the library. A more frequent case is that a free
|
||||
library does the same job as widely used non-free libraries. In this
|
||||
case, there is little to gain by limiting the free library to free
|
||||
software only, so we use the Lesser General Public License.
|
||||
|
||||
In other cases, permission to use a particular library in non-free
|
||||
programs enables a greater number of people to use a large body of
|
||||
free software. For example, permission to use the GNU C Library in
|
||||
non-free programs enables many more people to use the whole GNU
|
||||
operating system, as well as its variant, the GNU/Linux operating
|
||||
system.
|
||||
|
||||
Although the Lesser General Public License is Less protective of the
|
||||
users' freedom, it does ensure that the user of a program that is
|
||||
linked with the Library has the freedom and the wherewithal to run
|
||||
that program using a modified version of the Library.
|
||||
|
||||
The precise terms and conditions for copying, distribution and
|
||||
modification follow. Pay close attention to the difference between a
|
||||
"work based on the library" and a "work that uses the library". The
|
||||
former contains code derived from the library, whereas the latter must
|
||||
be combined with the library in order to run.
|
||||
|
||||
GNU LESSER GENERAL PUBLIC LICENSE
|
||||
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
||||
|
||||
0. This License Agreement applies to any software library or other
|
||||
program which contains a notice placed by the copyright holder or
|
||||
other authorized party saying it may be distributed under the terms of
|
||||
this Lesser General Public License (also called "this License").
|
||||
Each licensee is addressed as "you".
|
||||
|
||||
A "library" means a collection of software functions and/or data
|
||||
prepared so as to be conveniently linked with application programs
|
||||
(which use some of those functions and data) to form executables.
|
||||
|
||||
The "Library", below, refers to any such software library or work
|
||||
which has been distributed under these terms. A "work based on the
|
||||
Library" means either the Library or any derivative work under
|
||||
copyright law: that is to say, a work containing the Library or a
|
||||
portion of it, either verbatim or with modifications and/or translated
|
||||
straightforwardly into another language. (Hereinafter, translation is
|
||||
included without limitation in the term "modification".)
|
||||
|
||||
"Source code" for a work means the preferred form of the work for
|
||||
making modifications to it. For a library, complete source code means
|
||||
all the source code for all modules it contains, plus any associated
|
||||
interface definition files, plus the scripts used to control compilation
|
||||
and installation of the library.
|
||||
|
||||
Activities other than copying, distribution and modification are not
|
||||
covered by this License; they are outside its scope. The act of
|
||||
running a program using the Library is not restricted, and output from
|
||||
such a program is covered only if its contents constitute a work based
|
||||
on the Library (independent of the use of the Library in a tool for
|
||||
writing it). Whether that is true depends on what the Library does
|
||||
and what the program that uses the Library does.
|
||||
|
||||
1. You may copy and distribute verbatim copies of the Library's
|
||||
complete source code as you receive it, in any medium, provided that
|
||||
you conspicuously and appropriately publish on each copy an
|
||||
appropriate copyright notice and disclaimer of warranty; keep intact
|
||||
all the notices that refer to this License and to the absence of any
|
||||
warranty; and distribute a copy of this License along with the
|
||||
Library.
|
||||
|
||||
You may charge a fee for the physical act of transferring a copy,
|
||||
and you may at your option offer warranty protection in exchange for a
|
||||
fee.
|
||||
|
||||
2. You may modify your copy or copies of the Library or any portion
|
||||
of it, thus forming a work based on the Library, and copy and
|
||||
distribute such modifications or work under the terms of Section 1
|
||||
above, provided that you also meet all of these conditions:
|
||||
|
||||
a) The modified work must itself be a software library.
|
||||
|
||||
b) You must cause the files modified to carry prominent notices
|
||||
stating that you changed the files and the date of any change.
|
||||
|
||||
c) You must cause the whole of the work to be licensed at no
|
||||
charge to all third parties under the terms of this License.
|
||||
|
||||
d) If a facility in the modified Library refers to a function or a
|
||||
table of data to be supplied by an application program that uses
|
||||
the facility, other than as an argument passed when the facility
|
||||
is invoked, then you must make a good faith effort to ensure that,
|
||||
in the event an application does not supply such function or
|
||||
table, the facility still operates, and performs whatever part of
|
||||
its purpose remains meaningful.
|
||||
|
||||
(For example, a function in a library to compute square roots has
|
||||
a purpose that is entirely well-defined independent of the
|
||||
application. Therefore, Subsection 2d requires that any
|
||||
application-supplied function or table used by this function must
|
||||
be optional: if the application does not supply it, the square
|
||||
root function must still compute square roots.)
|
||||
|
||||
These requirements apply to the modified work as a whole. If
|
||||
identifiable sections of that work are not derived from the Library,
|
||||
and can be reasonably considered independent and separate works in
|
||||
themselves, then this License, and its terms, do not apply to those
|
||||
sections when you distribute them as separate works. But when you
|
||||
distribute the same sections as part of a whole which is a work based
|
||||
on the Library, the distribution of the whole must be on the terms of
|
||||
this License, whose permissions for other licensees extend to the
|
||||
entire whole, and thus to each and every part regardless of who wrote
|
||||
it.
|
||||
|
||||
Thus, it is not the intent of this section to claim rights or contest
|
||||
your rights to work written entirely by you; rather, the intent is to
|
||||
exercise the right to control the distribution of derivative or
|
||||
collective works based on the Library.
|
||||
|
||||
In addition, mere aggregation of another work not based on the Library
|
||||
with the Library (or with a work based on the Library) on a volume of
|
||||
a storage or distribution medium does not bring the other work under
|
||||
the scope of this License.
|
||||
|
||||
3. You may opt to apply the terms of the ordinary GNU General Public
|
||||
License instead of this License to a given copy of the Library. To do
|
||||
this, you must alter all the notices that refer to this License, so
|
||||
that they refer to the ordinary GNU General Public License, version 2,
|
||||
instead of to this License. (If a newer version than version 2 of the
|
||||
ordinary GNU General Public License has appeared, then you can specify
|
||||
that version instead if you wish.) Do not make any other change in
|
||||
these notices.
|
||||
|
||||
Once this change is made in a given copy, it is irreversible for
|
||||
that copy, so the ordinary GNU General Public License applies to all
|
||||
subsequent copies and derivative works made from that copy.
|
||||
|
||||
This option is useful when you wish to copy part of the code of
|
||||
the Library into a program that is not a library.
|
||||
|
||||
4. You may copy and distribute the Library (or a portion or
|
||||
derivative of it, under Section 2) in object code or executable form
|
||||
under the terms of Sections 1 and 2 above provided that you accompany
|
||||
it with the complete corresponding machine-readable source code, which
|
||||
must be distributed under the terms of Sections 1 and 2 above on a
|
||||
medium customarily used for software interchange.
|
||||
|
||||
If distribution of object code is made by offering access to copy
|
||||
from a designated place, then offering equivalent access to copy the
|
||||
source code from the same place satisfies the requirement to
|
||||
distribute the source code, even though third parties are not
|
||||
compelled to copy the source along with the object code.
|
||||
|
||||
5. A program that contains no derivative of any portion of the
|
||||
Library, but is designed to work with the Library by being compiled or
|
||||
linked with it, is called a "work that uses the Library". Such a
|
||||
work, in isolation, is not a derivative work of the Library, and
|
||||
therefore falls outside the scope of this License.
|
||||
|
||||
However, linking a "work that uses the Library" with the Library
|
||||
creates an executable that is a derivative of the Library (because it
|
||||
contains portions of the Library), rather than a "work that uses the
|
||||
library". The executable is therefore covered by this License.
|
||||
Section 6 states terms for distribution of such executables.
|
||||
|
||||
When a "work that uses the Library" uses material from a header file
|
||||
that is part of the Library, the object code for the work may be a
|
||||
derivative work of the Library even though the source code is not.
|
||||
Whether this is true is especially significant if the work can be
|
||||
linked without the Library, or if the work is itself a library. The
|
||||
threshold for this to be true is not precisely defined by law.
|
||||
|
||||
If such an object file uses only numerical parameters, data
|
||||
structure layouts and accessors, and small macros and small inline
|
||||
functions (ten lines or less in length), then the use of the object
|
||||
file is unrestricted, regardless of whether it is legally a derivative
|
||||
work. (Executables containing this object code plus portions of the
|
||||
Library will still fall under Section 6.)
|
||||
|
||||
Otherwise, if the work is a derivative of the Library, you may
|
||||
distribute the object code for the work under the terms of Section 6.
|
||||
Any executables containing that work also fall under Section 6,
|
||||
whether or not they are linked directly with the Library itself.
|
||||
|
||||
6. As an exception to the Sections above, you may also combine or
|
||||
link a "work that uses the Library" with the Library to produce a
|
||||
work containing portions of the Library, and distribute that work
|
||||
under terms of your choice, provided that the terms permit
|
||||
modification of the work for the customer's own use and reverse
|
||||
engineering for debugging such modifications.
|
||||
|
||||
You must give prominent notice with each copy of the work that the
|
||||
Library is used in it and that the Library and its use are covered by
|
||||
this License. You must supply a copy of this License. If the work
|
||||
during execution displays copyright notices, you must include the
|
||||
copyright notice for the Library among them, as well as a reference
|
||||
directing the user to the copy of this License. Also, you must do one
|
||||
of these things:
|
||||
|
||||
a) Accompany the work with the complete corresponding
|
||||
machine-readable source code for the Library including whatever
|
||||
changes were used in the work (which must be distributed under
|
||||
Sections 1 and 2 above); and, if the work is an executable linked
|
||||
with the Library, with the complete machine-readable "work that
|
||||
uses the Library", as object code and/or source code, so that the
|
||||
user can modify the Library and then relink to produce a modified
|
||||
executable containing the modified Library. (It is understood
|
||||
that the user who changes the contents of definitions files in the
|
||||
Library will not necessarily be able to recompile the application
|
||||
to use the modified definitions.)
|
||||
|
||||
b) Use a suitable shared library mechanism for linking with the
|
||||
Library. A suitable mechanism is one that (1) uses at run time a
|
||||
copy of the library already present on the user's computer system,
|
||||
rather than copying library functions into the executable, and (2)
|
||||
will operate properly with a modified version of the library, if
|
||||
the user installs one, as long as the modified version is
|
||||
interface-compatible with the version that the work was made with.
|
||||
|
||||
c) Accompany the work with a written offer, valid for at
|
||||
least three years, to give the same user the materials
|
||||
specified in Subsection 6a, above, for a charge no more
|
||||
than the cost of performing this distribution.
|
||||
|
||||
d) If distribution of the work is made by offering access to copy
|
||||
from a designated place, offer equivalent access to copy the above
|
||||
specified materials from the same place.
|
||||
|
||||
e) Verify that the user has already received a copy of these
|
||||
materials or that you have already sent this user a copy.
|
||||
|
||||
For an executable, the required form of the "work that uses the
|
||||
Library" must include any data and utility programs needed for
|
||||
reproducing the executable from it. However, as a special exception,
|
||||
the materials to be distributed need not include anything that is
|
||||
normally distributed (in either source or binary form) with the major
|
||||
components (compiler, kernel, and so on) of the operating system on
|
||||
which the executable runs, unless that component itself accompanies
|
||||
the executable.
|
||||
|
||||
It may happen that this requirement contradicts the license
|
||||
restrictions of other proprietary libraries that do not normally
|
||||
accompany the operating system. Such a contradiction means you cannot
|
||||
use both them and the Library together in an executable that you
|
||||
distribute.
|
||||
|
||||
7. You may place library facilities that are a work based on the
|
||||
Library side-by-side in a single library together with other library
|
||||
facilities not covered by this License, and distribute such a combined
|
||||
library, provided that the separate distribution of the work based on
|
||||
the Library and of the other library facilities is otherwise
|
||||
permitted, and provided that you do these two things:
|
||||
|
||||
a) Accompany the combined library with a copy of the same work
|
||||
based on the Library, uncombined with any other library
|
||||
facilities. This must be distributed under the terms of the
|
||||
Sections above.
|
||||
|
||||
b) Give prominent notice with the combined library of the fact
|
||||
that part of it is a work based on the Library, and explaining
|
||||
where to find the accompanying uncombined form of the same work.
|
||||
|
||||
8. You may not copy, modify, sublicense, link with, or distribute
|
||||
the Library except as expressly provided under this License. Any
|
||||
attempt otherwise to copy, modify, sublicense, link with, or
|
||||
distribute the Library is void, and will automatically terminate your
|
||||
rights under this License. However, parties who have received copies,
|
||||
or rights, from you under this License will not have their licenses
|
||||
terminated so long as such parties remain in full compliance.
|
||||
|
||||
9. You are not required to accept this License, since you have not
|
||||
signed it. However, nothing else grants you permission to modify or
|
||||
distribute the Library or its derivative works. These actions are
|
||||
prohibited by law if you do not accept this License. Therefore, by
|
||||
modifying or distributing the Library (or any work based on the
|
||||
Library), you indicate your acceptance of this License to do so, and
|
||||
all its terms and conditions for copying, distributing or modifying
|
||||
the Library or works based on it.
|
||||
|
||||
10. Each time you redistribute the Library (or any work based on the
|
||||
Library), the recipient automatically receives a license from the
|
||||
original licensor to copy, distribute, link with or modify the Library
|
||||
subject to these terms and conditions. You may not impose any further
|
||||
restrictions on the recipients' exercise of the rights granted herein.
|
||||
You are not responsible for enforcing compliance by third parties with
|
||||
this License.
|
||||
|
||||
11. If, as a consequence of a court judgment or allegation of patent
|
||||
infringement or for any other reason (not limited to patent issues),
|
||||
conditions are imposed on you (whether by court order, agreement or
|
||||
otherwise) that contradict the conditions of this License, they do not
|
||||
excuse you from the conditions of this License. If you cannot
|
||||
distribute so as to satisfy simultaneously your obligations under this
|
||||
License and any other pertinent obligations, then as a consequence you
|
||||
may not distribute the Library at all. For example, if a patent
|
||||
license would not permit royalty-free redistribution of the Library by
|
||||
all those who receive copies directly or indirectly through you, then
|
||||
the only way you could satisfy both it and this License would be to
|
||||
refrain entirely from distribution of the Library.
|
||||
|
||||
If any portion of this section is held invalid or unenforceable under any
|
||||
particular circumstance, the balance of the section is intended to apply,
|
||||
and the section as a whole is intended to apply in other circumstances.
|
||||
|
||||
It is not the purpose of this section to induce you to infringe any
|
||||
patents or other property right claims or to contest validity of any
|
||||
such claims; this section has the sole purpose of protecting the
|
||||
integrity of the free software distribution system which is
|
||||
implemented by public license practices. Many people have made
|
||||
generous contributions to the wide range of software distributed
|
||||
through that system in reliance on consistent application of that
|
||||
system; it is up to the author/donor to decide if he or she is willing
|
||||
to distribute software through any other system and a licensee cannot
|
||||
impose that choice.
|
||||
|
||||
This section is intended to make thoroughly clear what is believed to
|
||||
be a consequence of the rest of this License.
|
||||
|
||||
12. If the distribution and/or use of the Library is restricted in
|
||||
certain countries either by patents or by copyrighted interfaces, the
|
||||
original copyright holder who places the Library under this License may add
|
||||
an explicit geographical distribution limitation excluding those countries,
|
||||
so that distribution is permitted only in or among countries not thus
|
||||
excluded. In such case, this License incorporates the limitation as if
|
||||
written in the body of this License.
|
||||
|
||||
13. The Free Software Foundation may publish revised and/or new
|
||||
versions of the Lesser General Public License from time to time.
|
||||
Such new versions will be similar in spirit to the present version,
|
||||
but may differ in detail to address new problems or concerns.
|
||||
|
||||
Each version is given a distinguishing version number. If the Library
|
||||
specifies a version number of this License which applies to it and
|
||||
"any later version", you have the option of following the terms and
|
||||
conditions either of that version or of any later version published by
|
||||
the Free Software Foundation. If the Library does not specify a
|
||||
license version number, you may choose any version ever published by
|
||||
the Free Software Foundation.
|
||||
|
||||
14. If you wish to incorporate parts of the Library into other free
|
||||
programs whose distribution conditions are incompatible with these,
|
||||
write to the author to ask for permission. For software which is
|
||||
copyrighted by the Free Software Foundation, write to the Free
|
||||
Software Foundation; we sometimes make exceptions for this. Our
|
||||
decision will be guided by the two goals of preserving the free status
|
||||
of all derivatives of our free software and of promoting the sharing
|
||||
and reuse of software generally.
|
||||
|
||||
NO WARRANTY
|
||||
|
||||
15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
|
||||
WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
|
||||
EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
|
||||
OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
|
||||
KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
||||
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
|
||||
LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
|
||||
THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
||||
|
||||
16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
|
||||
WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
|
||||
AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
|
||||
FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
|
||||
CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
|
||||
LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
|
||||
RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
|
||||
FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
|
||||
SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
|
||||
DAMAGES.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
How to Apply These Terms to Your New Libraries
|
||||
|
||||
If you develop a new library, and you want it to be of the greatest
|
||||
possible use to the public, we recommend making it free software that
|
||||
everyone can redistribute and change. You can do so by permitting
|
||||
redistribution under these terms (or, alternatively, under the terms of the
|
||||
ordinary General Public License).
|
||||
|
||||
To apply these terms, attach the following notices to the library. It is
|
||||
safest to attach them to the start of each source file to most effectively
|
||||
convey the exclusion of warranty; and each file should have at least the
|
||||
"copyright" line and a pointer to where the full notice is found.
|
||||
|
||||
<one line to give the library's name and a brief idea of what it does.>
|
||||
Copyright (C) <year> <name of author>
|
||||
|
||||
This library is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU Lesser General Public
|
||||
License as published by the Free Software Foundation; either
|
||||
version 2.1 of the License, or (at your option) any later version.
|
||||
|
||||
This library is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
Lesser General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with this library; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
Also add information on how to contact you by electronic and paper mail.
|
||||
|
||||
You should also get your employer (if you work as a programmer) or your
|
||||
school, if any, to sign a "copyright disclaimer" for the library, if
|
||||
necessary. Here is a sample; alter the names:
|
||||
|
||||
Yoyodyne, Inc., hereby disclaims all copyright interest in the
|
||||
library `Frob' (a library for tweaking knobs) written by James Random Hacker.
|
||||
|
||||
<signature of Ty Coon>, 1 April 1990
|
||||
Ty Coon, President of Vice
|
||||
|
||||
That's all there is to it!
|
||||
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
see doc/html/qwtinstall.html
|
||||
@@ -0,0 +1,34 @@
|
||||
|
||||
The Qwt Widget Library
|
||||
----------------------
|
||||
|
||||
Qwt is an extension to the libraries of the Qt Project.
|
||||
|
||||
The Qwt library contains widgets and components which are
|
||||
primarily useful for technical and scientifical purposes.
|
||||
It includes a 2-D plotting widget, different kinds of sliders,
|
||||
and much more.
|
||||
|
||||
Qwt is hosted at http://qwt.sf.net
|
||||
|
||||
Installation
|
||||
------------
|
||||
|
||||
Read INSTALL how to build and install Qwt.
|
||||
|
||||
Copyright
|
||||
---------
|
||||
|
||||
Qwt Widget Library
|
||||
Copyright (C) 1997 Josef Wilgen
|
||||
Copyright (C) 2002 Uwe Rathmann
|
||||
|
||||
Qwt is published under the Qwt License, Version 1.0.
|
||||
You should have received a copy of this licence in the file
|
||||
COPYING.
|
||||
|
||||
This library is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
|
||||
|
||||
@@ -0,0 +1,23 @@
|
||||
QMAKE_CXX.QT_COMPILER_STDCXX = 199711L
|
||||
QMAKE_CXX.QMAKE_MSC_VER = 1951
|
||||
QMAKE_CXX.QMAKE_MSC_FULL_VER = 195136260
|
||||
QMAKE_CXX.COMPILER_MACROS = \
|
||||
QT_COMPILER_STDCXX \
|
||||
QMAKE_MSC_VER \
|
||||
QMAKE_MSC_FULL_VER
|
||||
QMAKE_CXX.INCDIRS = \
|
||||
"C:\\Program Files\\Microsoft Visual Studio\\18\\Community\\VC\\Tools\\MSVC\\14.51.36231\\include" \
|
||||
"C:\\Program Files\\Microsoft Visual Studio\\18\\Community\\VC\\Tools\\MSVC\\14.51.36231\\ATLMFC\\include" \
|
||||
"C:\\Program Files\\Microsoft Visual Studio\\18\\Community\\VC\\Auxiliary\\VS\\include" \
|
||||
"C:\\Program Files (x86)\\Windows Kits\\10\\include\\10.0.26100.0\\ucrt" \
|
||||
"C:\\Program Files (x86)\\Windows Kits\\10\\\\include\\10.0.26100.0\\\\um" \
|
||||
"C:\\Program Files (x86)\\Windows Kits\\10\\\\include\\10.0.26100.0\\\\shared" \
|
||||
"C:\\Program Files (x86)\\Windows Kits\\10\\\\include\\10.0.26100.0\\\\winrt" \
|
||||
"C:\\Program Files (x86)\\Windows Kits\\10\\\\include\\10.0.26100.0\\\\cppwinrt" \
|
||||
"C:\\Program Files (x86)\\Windows Kits\\NETFXSDK\\4.8\\include\\um"
|
||||
QMAKE_CXX.LIBDIRS = \
|
||||
"C:\\Program Files\\Microsoft Visual Studio\\18\\Community\\VC\\Tools\\MSVC\\14.51.36231\\ATLMFC\\lib\\x64" \
|
||||
"C:\\Program Files\\Microsoft Visual Studio\\18\\Community\\VC\\Tools\\MSVC\\14.51.36231\\lib\\x64" \
|
||||
"C:\\Program Files (x86)\\Windows Kits\\NETFXSDK\\4.8\\lib\\um\\x64" \
|
||||
"C:\\Program Files (x86)\\Windows Kits\\10\\lib\\10.0.26100.0\\ucrt\\x64" \
|
||||
"C:\\Program Files (x86)\\Windows Kits\\10\\\\lib\\10.0.26100.0\\\\um\\x64"
|
||||
@@ -0,0 +1,342 @@
|
||||
#############################################################################
|
||||
# Makefile for building: qwt
|
||||
# Generated by qmake (3.1) (Qt 5.15.2)
|
||||
# Project: ..\src\src.pro
|
||||
# Template: lib
|
||||
# Command: D:\util\qt-src\install\bin\qmake.exe -o Makefile ..\src\src.pro "CONFIG+=debug" "CONFIG-=debug_and_release" "QMAKE_CXXFLAGS+=/FI\"D:\Code\cavity_LIBS_system-master\msvc-deps\compat\qt5_msvc_compat.h\""
|
||||
#############################################################################
|
||||
|
||||
MAKEFILE = Makefile
|
||||
|
||||
EQ = =
|
||||
|
||||
first: all
|
||||
install: debug-release-install
|
||||
uninstall: debug-uninstall release-uninstall
|
||||
QMAKE = D:\util\qt-src\install\bin\qmake.exe
|
||||
DEL_FILE = del
|
||||
CHK_DIR_EXISTS= if not exist
|
||||
MKDIR = mkdir
|
||||
COPY = copy /y
|
||||
COPY_FILE = copy /y
|
||||
COPY_DIR = xcopy /s /q /y /i
|
||||
INSTALL_FILE = copy /y
|
||||
INSTALL_PROGRAM = copy /y
|
||||
INSTALL_DIR = xcopy /s /q /y /i
|
||||
QINSTALL = D:\util\qt-src\install\bin\qmake.exe -install qinstall
|
||||
QINSTALL_PROGRAM = D:\util\qt-src\install\bin\qmake.exe -install qinstall -exe
|
||||
DEL_FILE = del
|
||||
SYMLINK = $(QMAKE) -install ln -f -s
|
||||
DEL_DIR = rmdir
|
||||
MOVE = move
|
||||
IDC = idc
|
||||
IDL = midl
|
||||
ZIP = zip -r -9
|
||||
DEF_FILE =
|
||||
RES_FILE =
|
||||
SED = $(QMAKE) -install sed
|
||||
MOVE = move
|
||||
SUBTARGETS = \
|
||||
debug \
|
||||
release
|
||||
|
||||
|
||||
debug: $(MAKEFILE) FORCE
|
||||
@set MAKEFLAGS=$(MAKEFLAGS)
|
||||
$(MAKE) -f $(MAKEFILE).Debug
|
||||
debug-make_first: FORCE
|
||||
@set MAKEFLAGS=$(MAKEFLAGS)
|
||||
$(MAKE) -f $(MAKEFILE).Debug
|
||||
debug-all: FORCE
|
||||
@set MAKEFLAGS=$(MAKEFLAGS)
|
||||
$(MAKE) -f $(MAKEFILE).Debug all
|
||||
debug-clean: FORCE
|
||||
@set MAKEFLAGS=$(MAKEFLAGS)
|
||||
$(MAKE) -f $(MAKEFILE).Debug clean
|
||||
debug-distclean: FORCE
|
||||
@set MAKEFLAGS=$(MAKEFLAGS)
|
||||
$(MAKE) -f $(MAKEFILE).Debug distclean
|
||||
debug-install: FORCE
|
||||
@set MAKEFLAGS=$(MAKEFLAGS)
|
||||
$(MAKE) -f $(MAKEFILE).Debug install
|
||||
debug-uninstall: FORCE
|
||||
@set MAKEFLAGS=$(MAKEFLAGS)
|
||||
$(MAKE) -f $(MAKEFILE).Debug uninstall
|
||||
release: $(MAKEFILE) FORCE
|
||||
@set MAKEFLAGS=$(MAKEFLAGS)
|
||||
$(MAKE) -f $(MAKEFILE).Release
|
||||
release-make_first: FORCE
|
||||
@set MAKEFLAGS=$(MAKEFLAGS)
|
||||
$(MAKE) -f $(MAKEFILE).Release
|
||||
release-all: FORCE
|
||||
@set MAKEFLAGS=$(MAKEFLAGS)
|
||||
$(MAKE) -f $(MAKEFILE).Release all
|
||||
release-clean: FORCE
|
||||
@set MAKEFLAGS=$(MAKEFLAGS)
|
||||
$(MAKE) -f $(MAKEFILE).Release clean
|
||||
release-distclean: FORCE
|
||||
@set MAKEFLAGS=$(MAKEFLAGS)
|
||||
$(MAKE) -f $(MAKEFILE).Release distclean
|
||||
release-install: FORCE
|
||||
@set MAKEFLAGS=$(MAKEFLAGS)
|
||||
$(MAKE) -f $(MAKEFILE).Release install
|
||||
release-uninstall: FORCE
|
||||
@set MAKEFLAGS=$(MAKEFLAGS)
|
||||
$(MAKE) -f $(MAKEFILE).Release uninstall
|
||||
|
||||
debug-release-install: FORCE
|
||||
@set MAKEFLAGS=$(MAKEFLAGS)
|
||||
$(MAKE) -f $(MAKEFILE).Debug install
|
||||
@set MAKEFLAGS=$(MAKEFLAGS)
|
||||
$(MAKE) -f $(MAKEFILE).Release install
|
||||
|
||||
Makefile: ..\src\src.pro D:\util\qt-src\install\mkspecs\win32-msvc\qmake.conf D:\util\qt-src\install\mkspecs\features\spec_pre.prf \
|
||||
D:\util\qt-src\install\mkspecs\common\angle.conf \
|
||||
D:\util\qt-src\install\mkspecs\common\windows-desktop.conf \
|
||||
D:\util\qt-src\install\mkspecs\features\win32\windows_vulkan_sdk.prf \
|
||||
D:\util\qt-src\install\mkspecs\common\windows-vulkan.conf \
|
||||
D:\util\qt-src\install\mkspecs\common\msvc-desktop.conf \
|
||||
D:\util\qt-src\install\mkspecs\qconfig.pri \
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_accessibility_support_private.pri \
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_axbase.pri \
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_axbase_private.pri \
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_axcontainer.pri \
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_axcontainer_private.pri \
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_axserver.pri \
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_axserver_private.pri \
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_bootstrap_private.pri \
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_concurrent.pri \
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_concurrent_private.pri \
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_core.pri \
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_core_private.pri \
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_dbus.pri \
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_dbus_private.pri \
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_devicediscovery_support_private.pri \
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_edid_support_private.pri \
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_eventdispatcher_support_private.pri \
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_fb_support_private.pri \
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_fontdatabase_support_private.pri \
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_gui.pri \
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_gui_private.pri \
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_network.pri \
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_network_private.pri \
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_networkauth.pri \
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_networkauth_private.pri \
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_opengl.pri \
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_opengl_private.pri \
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_openglextensions.pri \
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_openglextensions_private.pri \
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_platformcompositor_support_private.pri \
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_printsupport.pri \
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_printsupport_private.pri \
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_serialbus.pri \
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_serialbus_private.pri \
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_serialport.pri \
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_serialport_private.pri \
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_sql.pri \
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_sql_private.pri \
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_svg.pri \
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_svg_private.pri \
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_testlib.pri \
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_testlib_private.pri \
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_theme_support_private.pri \
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_widgets.pri \
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_widgets_private.pri \
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_windowsuiautomation_support_private.pri \
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_xml.pri \
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_xml_private.pri \
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_zlib_private.pri \
|
||||
D:\util\qt-src\install\mkspecs\features\qt_functions.prf \
|
||||
D:\util\qt-src\install\mkspecs\features\qt_config.prf \
|
||||
D:\util\qt-src\install\mkspecs\win32-msvc\qmake.conf \
|
||||
D:\util\qt-src\install\mkspecs\features\spec_post.prf \
|
||||
.qmake.stash \
|
||||
D:\util\qt-src\install\mkspecs\features\exclusive_builds.prf \
|
||||
D:\util\qt-src\install\mkspecs\common\msvc-version.conf \
|
||||
D:\util\qt-src\install\mkspecs\features\toolchain.prf \
|
||||
D:\util\qt-src\install\mkspecs\features\default_pre.prf \
|
||||
D:\util\qt-src\install\mkspecs\features\win32\default_pre.prf \
|
||||
..\qwtconfig.pri \
|
||||
..\qwtbuild.pri \
|
||||
..\qwtfunctions.pri \
|
||||
..\src\src.pri \
|
||||
D:\util\qt-src\install\mkspecs\features\resolve_config.prf \
|
||||
D:\util\qt-src\install\mkspecs\features\exclusive_builds_post.prf \
|
||||
D:\util\qt-src\install\mkspecs\features\default_post.prf \
|
||||
D:\util\qt-src\install\mkspecs\features\warn_on.prf \
|
||||
D:\util\qt-src\install\mkspecs\features\qt.prf \
|
||||
D:\util\qt-src\install\mkspecs\features\resources_functions.prf \
|
||||
D:\util\qt-src\install\mkspecs\features\resources.prf \
|
||||
D:\util\qt-src\install\mkspecs\features\moc.prf \
|
||||
D:\util\qt-src\install\mkspecs\features\win32\opengl.prf \
|
||||
D:\util\qt-src\install\mkspecs\features\uic.prf \
|
||||
D:\util\qt-src\install\mkspecs\features\precompile_header.prf \
|
||||
D:\util\qt-src\install\mkspecs\features\qmake_use.prf \
|
||||
D:\util\qt-src\install\mkspecs\features\file_copies.prf \
|
||||
D:\util\qt-src\install\mkspecs\features\win32\windows.prf \
|
||||
D:\util\qt-src\install\mkspecs\features\testcase_targets.prf \
|
||||
D:\util\qt-src\install\mkspecs\features\exceptions.prf \
|
||||
D:\util\qt-src\install\mkspecs\features\yacc.prf \
|
||||
D:\util\qt-src\install\mkspecs\features\lex.prf \
|
||||
D:\util\qt-src\install\mkspecs\features\silent.prf \
|
||||
..\src\src.pro \
|
||||
D:\util\qt-src\install\lib\Qt5PrintSupport.prl \
|
||||
D:\util\qt-src\install\lib\Qt5Svg.prl \
|
||||
D:\util\qt-src\install\lib\Qt5OpenGL.prl \
|
||||
D:\util\qt-src\install\lib\Qt5Widgets.prl \
|
||||
D:\util\qt-src\install\lib\Qt5Gui.prl \
|
||||
D:\util\qt-src\install\lib\Qt5Concurrent.prl \
|
||||
D:\util\qt-src\install\lib\Qt5Core.prl \
|
||||
D:\util\qt-src\install\mkspecs\features\build_pass.prf \
|
||||
D:\util\qt-src\install\lib\Qt5PrintSupportd.prl \
|
||||
D:\util\qt-src\install\lib\Qt5Svgd.prl \
|
||||
D:\util\qt-src\install\lib\Qt5OpenGLd.prl \
|
||||
D:\util\qt-src\install\lib\Qt5Widgetsd.prl \
|
||||
D:\util\qt-src\install\lib\Qt5Guid.prl \
|
||||
D:\util\qt-src\install\lib\Qt5Concurrentd.prl \
|
||||
D:\util\qt-src\install\lib\Qt5Cored.prl
|
||||
$(QMAKE) -o Makefile ..\src\src.pro "CONFIG+=debug" "CONFIG-=debug_and_release" "QMAKE_CXXFLAGS+=/FI\"D:\Code\cavity_LIBS_system-master\msvc-deps\compat\qt5_msvc_compat.h\""
|
||||
D:\util\qt-src\install\mkspecs\features\spec_pre.prf:
|
||||
D:\util\qt-src\install\mkspecs\common\angle.conf:
|
||||
D:\util\qt-src\install\mkspecs\common\windows-desktop.conf:
|
||||
D:\util\qt-src\install\mkspecs\features\win32\windows_vulkan_sdk.prf:
|
||||
D:\util\qt-src\install\mkspecs\common\windows-vulkan.conf:
|
||||
D:\util\qt-src\install\mkspecs\common\msvc-desktop.conf:
|
||||
D:\util\qt-src\install\mkspecs\qconfig.pri:
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_accessibility_support_private.pri:
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_axbase.pri:
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_axbase_private.pri:
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_axcontainer.pri:
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_axcontainer_private.pri:
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_axserver.pri:
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_axserver_private.pri:
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_bootstrap_private.pri:
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_concurrent.pri:
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_concurrent_private.pri:
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_core.pri:
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_core_private.pri:
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_dbus.pri:
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_dbus_private.pri:
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_devicediscovery_support_private.pri:
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_edid_support_private.pri:
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_eventdispatcher_support_private.pri:
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_fb_support_private.pri:
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_fontdatabase_support_private.pri:
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_gui.pri:
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_gui_private.pri:
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_network.pri:
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_network_private.pri:
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_networkauth.pri:
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_networkauth_private.pri:
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_opengl.pri:
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_opengl_private.pri:
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_openglextensions.pri:
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_openglextensions_private.pri:
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_platformcompositor_support_private.pri:
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_printsupport.pri:
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_printsupport_private.pri:
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_serialbus.pri:
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_serialbus_private.pri:
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_serialport.pri:
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_serialport_private.pri:
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_sql.pri:
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_sql_private.pri:
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_svg.pri:
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_svg_private.pri:
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_testlib.pri:
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_testlib_private.pri:
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_theme_support_private.pri:
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_widgets.pri:
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_widgets_private.pri:
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_windowsuiautomation_support_private.pri:
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_xml.pri:
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_xml_private.pri:
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_zlib_private.pri:
|
||||
D:\util\qt-src\install\mkspecs\features\qt_functions.prf:
|
||||
D:\util\qt-src\install\mkspecs\features\qt_config.prf:
|
||||
D:\util\qt-src\install\mkspecs\win32-msvc\qmake.conf:
|
||||
D:\util\qt-src\install\mkspecs\features\spec_post.prf:
|
||||
.qmake.stash:
|
||||
D:\util\qt-src\install\mkspecs\features\exclusive_builds.prf:
|
||||
D:\util\qt-src\install\mkspecs\common\msvc-version.conf:
|
||||
D:\util\qt-src\install\mkspecs\features\toolchain.prf:
|
||||
D:\util\qt-src\install\mkspecs\features\default_pre.prf:
|
||||
D:\util\qt-src\install\mkspecs\features\win32\default_pre.prf:
|
||||
..\qwtconfig.pri:
|
||||
..\qwtbuild.pri:
|
||||
..\qwtfunctions.pri:
|
||||
..\src\src.pri:
|
||||
D:\util\qt-src\install\mkspecs\features\resolve_config.prf:
|
||||
D:\util\qt-src\install\mkspecs\features\exclusive_builds_post.prf:
|
||||
D:\util\qt-src\install\mkspecs\features\default_post.prf:
|
||||
D:\util\qt-src\install\mkspecs\features\warn_on.prf:
|
||||
D:\util\qt-src\install\mkspecs\features\qt.prf:
|
||||
D:\util\qt-src\install\mkspecs\features\resources_functions.prf:
|
||||
D:\util\qt-src\install\mkspecs\features\resources.prf:
|
||||
D:\util\qt-src\install\mkspecs\features\moc.prf:
|
||||
D:\util\qt-src\install\mkspecs\features\win32\opengl.prf:
|
||||
D:\util\qt-src\install\mkspecs\features\uic.prf:
|
||||
D:\util\qt-src\install\mkspecs\features\precompile_header.prf:
|
||||
D:\util\qt-src\install\mkspecs\features\qmake_use.prf:
|
||||
D:\util\qt-src\install\mkspecs\features\file_copies.prf:
|
||||
D:\util\qt-src\install\mkspecs\features\win32\windows.prf:
|
||||
D:\util\qt-src\install\mkspecs\features\testcase_targets.prf:
|
||||
D:\util\qt-src\install\mkspecs\features\exceptions.prf:
|
||||
D:\util\qt-src\install\mkspecs\features\yacc.prf:
|
||||
D:\util\qt-src\install\mkspecs\features\lex.prf:
|
||||
D:\util\qt-src\install\mkspecs\features\silent.prf:
|
||||
..\src\src.pro:
|
||||
D:\util\qt-src\install\lib\Qt5PrintSupport.prl:
|
||||
D:\util\qt-src\install\lib\Qt5Svg.prl:
|
||||
D:\util\qt-src\install\lib\Qt5OpenGL.prl:
|
||||
D:\util\qt-src\install\lib\Qt5Widgets.prl:
|
||||
D:\util\qt-src\install\lib\Qt5Gui.prl:
|
||||
D:\util\qt-src\install\lib\Qt5Concurrent.prl:
|
||||
D:\util\qt-src\install\lib\Qt5Core.prl:
|
||||
D:\util\qt-src\install\mkspecs\features\build_pass.prf:
|
||||
D:\util\qt-src\install\lib\Qt5PrintSupportd.prl:
|
||||
D:\util\qt-src\install\lib\Qt5Svgd.prl:
|
||||
D:\util\qt-src\install\lib\Qt5OpenGLd.prl:
|
||||
D:\util\qt-src\install\lib\Qt5Widgetsd.prl:
|
||||
D:\util\qt-src\install\lib\Qt5Guid.prl:
|
||||
D:\util\qt-src\install\lib\Qt5Concurrentd.prl:
|
||||
D:\util\qt-src\install\lib\Qt5Cored.prl:
|
||||
qmake: FORCE
|
||||
@$(QMAKE) -o Makefile ..\src\src.pro "CONFIG+=debug" "CONFIG-=debug_and_release" "QMAKE_CXXFLAGS+=/FI\"D:\Code\cavity_LIBS_system-master\msvc-deps\compat\qt5_msvc_compat.h\""
|
||||
|
||||
qmake_all: FORCE
|
||||
|
||||
make_first: debug-make_first release-make_first FORCE
|
||||
all: debug-all release-all FORCE
|
||||
clean: debug-clean release-clean FORCE
|
||||
-$(DEL_FILE) ..\lib\qwt.exp
|
||||
-$(DEL_FILE) qwt.vc.pdb
|
||||
-$(DEL_FILE) ..\lib\qwt.ilk
|
||||
-$(DEL_FILE) ..\lib\qwt.idb
|
||||
distclean: debug-distclean release-distclean FORCE
|
||||
-$(DEL_FILE) Makefile
|
||||
-$(DEL_FILE) .qmake.stash ..\lib\qwt.lib ..\lib\qwt.pdb
|
||||
|
||||
debug-mocclean:
|
||||
@set MAKEFLAGS=$(MAKEFLAGS)
|
||||
$(MAKE) -f $(MAKEFILE).Debug mocclean
|
||||
release-mocclean:
|
||||
@set MAKEFLAGS=$(MAKEFLAGS)
|
||||
$(MAKE) -f $(MAKEFILE).Release mocclean
|
||||
mocclean: debug-mocclean release-mocclean
|
||||
|
||||
debug-mocables:
|
||||
@set MAKEFLAGS=$(MAKEFLAGS)
|
||||
$(MAKE) -f $(MAKEFILE).Debug mocables
|
||||
release-mocables:
|
||||
@set MAKEFLAGS=$(MAKEFLAGS)
|
||||
$(MAKE) -f $(MAKEFILE).Release mocables
|
||||
mocables: debug-mocables release-mocables
|
||||
|
||||
check: first
|
||||
|
||||
benchmark: first
|
||||
FORCE:
|
||||
|
||||
$(MAKEFILE).Debug: Makefile
|
||||
$(MAKEFILE).Release: Makefile
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1,11 @@
|
||||
#define _MSC_VER 1951
|
||||
#define _MSC_FULL_VER 195136260
|
||||
#define _MSC_BUILD 0
|
||||
#define _M_AMD64 100
|
||||
#define _M_X64 100
|
||||
#define _WIN64
|
||||
#define _WIN32
|
||||
#define _CPPRTTI
|
||||
#define _DEBUG
|
||||
#define _MT
|
||||
#define _DLL
|
||||
@@ -0,0 +1,123 @@
|
||||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'qwt_abstract_legend.h'
|
||||
**
|
||||
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2)
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost!
|
||||
*****************************************************************************/
|
||||
|
||||
#include <memory>
|
||||
#include "../../src/qwt_abstract_legend.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#include <QtCore/QList>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'qwt_abstract_legend.h' doesn't include <QObject>."
|
||||
#elif Q_MOC_OUTPUT_REVISION != 67
|
||||
#error "This file was generated using the moc from 5.15.2. It"
|
||||
#error "cannot be used with the include files from this version of Qt."
|
||||
#error "(The moc has changed too much.)"
|
||||
#endif
|
||||
|
||||
QT_BEGIN_MOC_NAMESPACE
|
||||
QT_WARNING_PUSH
|
||||
QT_WARNING_DISABLE_DEPRECATED
|
||||
struct qt_meta_stringdata_QwtAbstractLegend_t {
|
||||
QByteArrayData data[6];
|
||||
char stringdata0[67];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_QwtAbstractLegend_t, stringdata0) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_QwtAbstractLegend_t qt_meta_stringdata_QwtAbstractLegend = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 17), // "QwtAbstractLegend"
|
||||
QT_MOC_LITERAL(1, 18, 12), // "updateLegend"
|
||||
QT_MOC_LITERAL(2, 31, 0), // ""
|
||||
QT_MOC_LITERAL(3, 32, 8), // "itemInfo"
|
||||
QT_MOC_LITERAL(4, 41, 20), // "QList<QwtLegendData>"
|
||||
QT_MOC_LITERAL(5, 62, 4) // "data"
|
||||
|
||||
},
|
||||
"QwtAbstractLegend\0updateLegend\0\0"
|
||||
"itemInfo\0QList<QwtLegendData>\0data"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_QwtAbstractLegend[] = {
|
||||
|
||||
// content:
|
||||
8, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
1, 14, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
0, // signalCount
|
||||
|
||||
// slots: name, argc, parameters, tag, flags
|
||||
1, 2, 19, 2, 0x0a /* Public */,
|
||||
|
||||
// slots: parameters
|
||||
QMetaType::Void, QMetaType::QVariant, 0x80000000 | 4, 3, 5,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void QwtAbstractLegend::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
auto *_t = static_cast<QwtAbstractLegend *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
switch (_id) {
|
||||
case 0: _t->updateLegend((*reinterpret_cast< const QVariant(*)>(_a[1])),(*reinterpret_cast< const QList<QwtLegendData>(*)>(_a[2]))); break;
|
||||
default: ;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
QT_INIT_METAOBJECT const QMetaObject QwtAbstractLegend::staticMetaObject = { {
|
||||
QMetaObject::SuperData::link<QFrame::staticMetaObject>(),
|
||||
qt_meta_stringdata_QwtAbstractLegend.data,
|
||||
qt_meta_data_QwtAbstractLegend,
|
||||
qt_static_metacall,
|
||||
nullptr,
|
||||
nullptr
|
||||
} };
|
||||
|
||||
|
||||
const QMetaObject *QwtAbstractLegend::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *QwtAbstractLegend::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return nullptr;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_QwtAbstractLegend.stringdata0))
|
||||
return static_cast<void*>(this);
|
||||
return QFrame::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int QwtAbstractLegend::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QFrame::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
if (_id < 1)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 1;
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
if (_id < 1)
|
||||
*reinterpret_cast<int*>(_a[0]) = -1;
|
||||
_id -= 1;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
QT_WARNING_POP
|
||||
QT_END_MOC_NAMESPACE
|
||||
@@ -0,0 +1,157 @@
|
||||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'qwt_abstract_scale.h'
|
||||
**
|
||||
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2)
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost!
|
||||
*****************************************************************************/
|
||||
|
||||
#include <memory>
|
||||
#include "../../src/qwt_abstract_scale.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'qwt_abstract_scale.h' doesn't include <QObject>."
|
||||
#elif Q_MOC_OUTPUT_REVISION != 67
|
||||
#error "This file was generated using the moc from 5.15.2. It"
|
||||
#error "cannot be used with the include files from this version of Qt."
|
||||
#error "(The moc has changed too much.)"
|
||||
#endif
|
||||
|
||||
QT_BEGIN_MOC_NAMESPACE
|
||||
QT_WARNING_PUSH
|
||||
QT_WARNING_DISABLE_DEPRECATED
|
||||
struct qt_meta_stringdata_QwtAbstractScale_t {
|
||||
QByteArrayData data[6];
|
||||
char stringdata0[81];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_QwtAbstractScale_t, stringdata0) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_QwtAbstractScale_t qt_meta_stringdata_QwtAbstractScale = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 16), // "QwtAbstractScale"
|
||||
QT_MOC_LITERAL(1, 17, 10), // "lowerBound"
|
||||
QT_MOC_LITERAL(2, 28, 10), // "upperBound"
|
||||
QT_MOC_LITERAL(3, 39, 13), // "scaleMaxMajor"
|
||||
QT_MOC_LITERAL(4, 53, 13), // "scaleMaxMinor"
|
||||
QT_MOC_LITERAL(5, 67, 13) // "scaleStepSize"
|
||||
|
||||
},
|
||||
"QwtAbstractScale\0lowerBound\0upperBound\0"
|
||||
"scaleMaxMajor\0scaleMaxMinor\0scaleStepSize"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_QwtAbstractScale[] = {
|
||||
|
||||
// content:
|
||||
8, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
0, 0, // methods
|
||||
5, 14, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
0, // signalCount
|
||||
|
||||
// properties: name, type, flags
|
||||
1, QMetaType::Double, 0x00095103,
|
||||
2, QMetaType::Double, 0x00095103,
|
||||
3, QMetaType::Int, 0x00095103,
|
||||
4, QMetaType::Int, 0x00095103,
|
||||
5, QMetaType::Double, 0x00095103,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void QwtAbstractScale::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
|
||||
#ifndef QT_NO_PROPERTIES
|
||||
if (_c == QMetaObject::ReadProperty) {
|
||||
auto *_t = static_cast<QwtAbstractScale *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
void *_v = _a[0];
|
||||
switch (_id) {
|
||||
case 0: *reinterpret_cast< double*>(_v) = _t->lowerBound(); break;
|
||||
case 1: *reinterpret_cast< double*>(_v) = _t->upperBound(); break;
|
||||
case 2: *reinterpret_cast< int*>(_v) = _t->scaleMaxMajor(); break;
|
||||
case 3: *reinterpret_cast< int*>(_v) = _t->scaleMaxMinor(); break;
|
||||
case 4: *reinterpret_cast< double*>(_v) = _t->scaleStepSize(); break;
|
||||
default: break;
|
||||
}
|
||||
} else if (_c == QMetaObject::WriteProperty) {
|
||||
auto *_t = static_cast<QwtAbstractScale *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
void *_v = _a[0];
|
||||
switch (_id) {
|
||||
case 0: _t->setLowerBound(*reinterpret_cast< double*>(_v)); break;
|
||||
case 1: _t->setUpperBound(*reinterpret_cast< double*>(_v)); break;
|
||||
case 2: _t->setScaleMaxMajor(*reinterpret_cast< int*>(_v)); break;
|
||||
case 3: _t->setScaleMaxMinor(*reinterpret_cast< int*>(_v)); break;
|
||||
case 4: _t->setScaleStepSize(*reinterpret_cast< double*>(_v)); break;
|
||||
default: break;
|
||||
}
|
||||
} else if (_c == QMetaObject::ResetProperty) {
|
||||
}
|
||||
#endif // QT_NO_PROPERTIES
|
||||
Q_UNUSED(_o);
|
||||
Q_UNUSED(_id);
|
||||
Q_UNUSED(_c);
|
||||
Q_UNUSED(_a);
|
||||
}
|
||||
|
||||
QT_INIT_METAOBJECT const QMetaObject QwtAbstractScale::staticMetaObject = { {
|
||||
QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
|
||||
qt_meta_stringdata_QwtAbstractScale.data,
|
||||
qt_meta_data_QwtAbstractScale,
|
||||
qt_static_metacall,
|
||||
nullptr,
|
||||
nullptr
|
||||
} };
|
||||
|
||||
|
||||
const QMetaObject *QwtAbstractScale::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *QwtAbstractScale::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return nullptr;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_QwtAbstractScale.stringdata0))
|
||||
return static_cast<void*>(this);
|
||||
return QWidget::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int QwtAbstractScale::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QWidget::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
|
||||
#ifndef QT_NO_PROPERTIES
|
||||
if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
|
||||
|| _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 5;
|
||||
} else if (_c == QMetaObject::QueryPropertyDesignable) {
|
||||
_id -= 5;
|
||||
} else if (_c == QMetaObject::QueryPropertyScriptable) {
|
||||
_id -= 5;
|
||||
} else if (_c == QMetaObject::QueryPropertyStored) {
|
||||
_id -= 5;
|
||||
} else if (_c == QMetaObject::QueryPropertyEditable) {
|
||||
_id -= 5;
|
||||
} else if (_c == QMetaObject::QueryPropertyUser) {
|
||||
_id -= 5;
|
||||
}
|
||||
#endif // QT_NO_PROPERTIES
|
||||
return _id;
|
||||
}
|
||||
QT_WARNING_POP
|
||||
QT_END_MOC_NAMESPACE
|
||||
@@ -0,0 +1,282 @@
|
||||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'qwt_abstract_slider.h'
|
||||
**
|
||||
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2)
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost!
|
||||
*****************************************************************************/
|
||||
|
||||
#include <memory>
|
||||
#include "../../src/qwt_abstract_slider.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'qwt_abstract_slider.h' doesn't include <QObject>."
|
||||
#elif Q_MOC_OUTPUT_REVISION != 67
|
||||
#error "This file was generated using the moc from 5.15.2. It"
|
||||
#error "cannot be used with the include files from this version of Qt."
|
||||
#error "(The moc has changed too much.)"
|
||||
#endif
|
||||
|
||||
QT_BEGIN_MOC_NAMESPACE
|
||||
QT_WARNING_PUSH
|
||||
QT_WARNING_DISABLE_DEPRECATED
|
||||
struct qt_meta_stringdata_QwtAbstractSlider_t {
|
||||
QByteArrayData data[16];
|
||||
char stringdata0[179];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_QwtAbstractSlider_t, stringdata0) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_QwtAbstractSlider_t qt_meta_stringdata_QwtAbstractSlider = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 17), // "QwtAbstractSlider"
|
||||
QT_MOC_LITERAL(1, 18, 12), // "valueChanged"
|
||||
QT_MOC_LITERAL(2, 31, 0), // ""
|
||||
QT_MOC_LITERAL(3, 32, 5), // "value"
|
||||
QT_MOC_LITERAL(4, 38, 13), // "sliderPressed"
|
||||
QT_MOC_LITERAL(5, 52, 14), // "sliderReleased"
|
||||
QT_MOC_LITERAL(6, 67, 11), // "sliderMoved"
|
||||
QT_MOC_LITERAL(7, 79, 8), // "setValue"
|
||||
QT_MOC_LITERAL(8, 88, 10), // "totalSteps"
|
||||
QT_MOC_LITERAL(9, 99, 11), // "singleSteps"
|
||||
QT_MOC_LITERAL(10, 111, 9), // "pageSteps"
|
||||
QT_MOC_LITERAL(11, 121, 13), // "stepAlignment"
|
||||
QT_MOC_LITERAL(12, 135, 8), // "readOnly"
|
||||
QT_MOC_LITERAL(13, 144, 8), // "tracking"
|
||||
QT_MOC_LITERAL(14, 153, 8), // "wrapping"
|
||||
QT_MOC_LITERAL(15, 162, 16) // "invertedControls"
|
||||
|
||||
},
|
||||
"QwtAbstractSlider\0valueChanged\0\0value\0"
|
||||
"sliderPressed\0sliderReleased\0sliderMoved\0"
|
||||
"setValue\0totalSteps\0singleSteps\0"
|
||||
"pageSteps\0stepAlignment\0readOnly\0"
|
||||
"tracking\0wrapping\0invertedControls"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_QwtAbstractSlider[] = {
|
||||
|
||||
// content:
|
||||
8, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
5, 14, // methods
|
||||
9, 50, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
4, // signalCount
|
||||
|
||||
// signals: name, argc, parameters, tag, flags
|
||||
1, 1, 39, 2, 0x06 /* Public */,
|
||||
4, 0, 42, 2, 0x06 /* Public */,
|
||||
5, 0, 43, 2, 0x06 /* Public */,
|
||||
6, 1, 44, 2, 0x06 /* Public */,
|
||||
|
||||
// slots: name, argc, parameters, tag, flags
|
||||
7, 1, 47, 2, 0x0a /* Public */,
|
||||
|
||||
// signals: parameters
|
||||
QMetaType::Void, QMetaType::Double, 3,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void, QMetaType::Double, 3,
|
||||
|
||||
// slots: parameters
|
||||
QMetaType::Void, QMetaType::Double, 3,
|
||||
|
||||
// properties: name, type, flags
|
||||
3, QMetaType::Double, 0x00595103,
|
||||
8, QMetaType::UInt, 0x00095103,
|
||||
9, QMetaType::UInt, 0x00095103,
|
||||
10, QMetaType::UInt, 0x00095103,
|
||||
11, QMetaType::Bool, 0x00095103,
|
||||
12, QMetaType::Bool, 0x00095103,
|
||||
13, QMetaType::Bool, 0x00095103,
|
||||
14, QMetaType::Bool, 0x00095103,
|
||||
15, QMetaType::Bool, 0x00095103,
|
||||
|
||||
// properties: notify_signal_id
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void QwtAbstractSlider::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
auto *_t = static_cast<QwtAbstractSlider *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
switch (_id) {
|
||||
case 0: _t->valueChanged((*reinterpret_cast< double(*)>(_a[1]))); break;
|
||||
case 1: _t->sliderPressed(); break;
|
||||
case 2: _t->sliderReleased(); break;
|
||||
case 3: _t->sliderMoved((*reinterpret_cast< double(*)>(_a[1]))); break;
|
||||
case 4: _t->setValue((*reinterpret_cast< double(*)>(_a[1]))); break;
|
||||
default: ;
|
||||
}
|
||||
} else if (_c == QMetaObject::IndexOfMethod) {
|
||||
int *result = reinterpret_cast<int *>(_a[0]);
|
||||
{
|
||||
using _t = void (QwtAbstractSlider::*)(double );
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QwtAbstractSlider::valueChanged)) {
|
||||
*result = 0;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
using _t = void (QwtAbstractSlider::*)();
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QwtAbstractSlider::sliderPressed)) {
|
||||
*result = 1;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
using _t = void (QwtAbstractSlider::*)();
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QwtAbstractSlider::sliderReleased)) {
|
||||
*result = 2;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
using _t = void (QwtAbstractSlider::*)(double );
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QwtAbstractSlider::sliderMoved)) {
|
||||
*result = 3;
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
#ifndef QT_NO_PROPERTIES
|
||||
else if (_c == QMetaObject::ReadProperty) {
|
||||
auto *_t = static_cast<QwtAbstractSlider *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
void *_v = _a[0];
|
||||
switch (_id) {
|
||||
case 0: *reinterpret_cast< double*>(_v) = _t->value(); break;
|
||||
case 1: *reinterpret_cast< uint*>(_v) = _t->totalSteps(); break;
|
||||
case 2: *reinterpret_cast< uint*>(_v) = _t->singleSteps(); break;
|
||||
case 3: *reinterpret_cast< uint*>(_v) = _t->pageSteps(); break;
|
||||
case 4: *reinterpret_cast< bool*>(_v) = _t->stepAlignment(); break;
|
||||
case 5: *reinterpret_cast< bool*>(_v) = _t->isReadOnly(); break;
|
||||
case 6: *reinterpret_cast< bool*>(_v) = _t->isTracking(); break;
|
||||
case 7: *reinterpret_cast< bool*>(_v) = _t->wrapping(); break;
|
||||
case 8: *reinterpret_cast< bool*>(_v) = _t->invertedControls(); break;
|
||||
default: break;
|
||||
}
|
||||
} else if (_c == QMetaObject::WriteProperty) {
|
||||
auto *_t = static_cast<QwtAbstractSlider *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
void *_v = _a[0];
|
||||
switch (_id) {
|
||||
case 0: _t->setValue(*reinterpret_cast< double*>(_v)); break;
|
||||
case 1: _t->setTotalSteps(*reinterpret_cast< uint*>(_v)); break;
|
||||
case 2: _t->setSingleSteps(*reinterpret_cast< uint*>(_v)); break;
|
||||
case 3: _t->setPageSteps(*reinterpret_cast< uint*>(_v)); break;
|
||||
case 4: _t->setStepAlignment(*reinterpret_cast< bool*>(_v)); break;
|
||||
case 5: _t->setReadOnly(*reinterpret_cast< bool*>(_v)); break;
|
||||
case 6: _t->setTracking(*reinterpret_cast< bool*>(_v)); break;
|
||||
case 7: _t->setWrapping(*reinterpret_cast< bool*>(_v)); break;
|
||||
case 8: _t->setInvertedControls(*reinterpret_cast< bool*>(_v)); break;
|
||||
default: break;
|
||||
}
|
||||
} else if (_c == QMetaObject::ResetProperty) {
|
||||
}
|
||||
#endif // QT_NO_PROPERTIES
|
||||
}
|
||||
|
||||
QT_INIT_METAOBJECT const QMetaObject QwtAbstractSlider::staticMetaObject = { {
|
||||
QMetaObject::SuperData::link<QwtAbstractScale::staticMetaObject>(),
|
||||
qt_meta_stringdata_QwtAbstractSlider.data,
|
||||
qt_meta_data_QwtAbstractSlider,
|
||||
qt_static_metacall,
|
||||
nullptr,
|
||||
nullptr
|
||||
} };
|
||||
|
||||
|
||||
const QMetaObject *QwtAbstractSlider::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *QwtAbstractSlider::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return nullptr;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_QwtAbstractSlider.stringdata0))
|
||||
return static_cast<void*>(this);
|
||||
return QwtAbstractScale::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int QwtAbstractSlider::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QwtAbstractScale::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
if (_id < 5)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 5;
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
if (_id < 5)
|
||||
*reinterpret_cast<int*>(_a[0]) = -1;
|
||||
_id -= 5;
|
||||
}
|
||||
#ifndef QT_NO_PROPERTIES
|
||||
else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
|
||||
|| _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 9;
|
||||
} else if (_c == QMetaObject::QueryPropertyDesignable) {
|
||||
_id -= 9;
|
||||
} else if (_c == QMetaObject::QueryPropertyScriptable) {
|
||||
_id -= 9;
|
||||
} else if (_c == QMetaObject::QueryPropertyStored) {
|
||||
_id -= 9;
|
||||
} else if (_c == QMetaObject::QueryPropertyEditable) {
|
||||
_id -= 9;
|
||||
} else if (_c == QMetaObject::QueryPropertyUser) {
|
||||
_id -= 9;
|
||||
}
|
||||
#endif // QT_NO_PROPERTIES
|
||||
return _id;
|
||||
}
|
||||
|
||||
// SIGNAL 0
|
||||
void QwtAbstractSlider::valueChanged(double _t1)
|
||||
{
|
||||
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 0, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 1
|
||||
void QwtAbstractSlider::sliderPressed()
|
||||
{
|
||||
QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
|
||||
}
|
||||
|
||||
// SIGNAL 2
|
||||
void QwtAbstractSlider::sliderReleased()
|
||||
{
|
||||
QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
|
||||
}
|
||||
|
||||
// SIGNAL 3
|
||||
void QwtAbstractSlider::sliderMoved(double _t1)
|
||||
{
|
||||
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 3, _a);
|
||||
}
|
||||
QT_WARNING_POP
|
||||
QT_END_MOC_NAMESPACE
|
||||
@@ -0,0 +1,122 @@
|
||||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'qwt_analog_clock.h'
|
||||
**
|
||||
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2)
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost!
|
||||
*****************************************************************************/
|
||||
|
||||
#include <memory>
|
||||
#include "../../src/qwt_analog_clock.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'qwt_analog_clock.h' doesn't include <QObject>."
|
||||
#elif Q_MOC_OUTPUT_REVISION != 67
|
||||
#error "This file was generated using the moc from 5.15.2. It"
|
||||
#error "cannot be used with the include files from this version of Qt."
|
||||
#error "(The moc has changed too much.)"
|
||||
#endif
|
||||
|
||||
QT_BEGIN_MOC_NAMESPACE
|
||||
QT_WARNING_PUSH
|
||||
QT_WARNING_DISABLE_DEPRECATED
|
||||
struct qt_meta_stringdata_QwtAnalogClock_t {
|
||||
QByteArrayData data[4];
|
||||
char stringdata0[39];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_QwtAnalogClock_t, stringdata0) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_QwtAnalogClock_t qt_meta_stringdata_QwtAnalogClock = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 14), // "QwtAnalogClock"
|
||||
QT_MOC_LITERAL(1, 15, 14), // "setCurrentTime"
|
||||
QT_MOC_LITERAL(2, 30, 0), // ""
|
||||
QT_MOC_LITERAL(3, 31, 7) // "setTime"
|
||||
|
||||
},
|
||||
"QwtAnalogClock\0setCurrentTime\0\0setTime"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_QwtAnalogClock[] = {
|
||||
|
||||
// content:
|
||||
8, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
2, 14, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
0, // signalCount
|
||||
|
||||
// slots: name, argc, parameters, tag, flags
|
||||
1, 0, 24, 2, 0x0a /* Public */,
|
||||
3, 1, 25, 2, 0x0a /* Public */,
|
||||
|
||||
// slots: parameters
|
||||
QMetaType::Void,
|
||||
QMetaType::Void, QMetaType::QTime, 2,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void QwtAnalogClock::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
auto *_t = static_cast<QwtAnalogClock *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
switch (_id) {
|
||||
case 0: _t->setCurrentTime(); break;
|
||||
case 1: _t->setTime((*reinterpret_cast< const QTime(*)>(_a[1]))); break;
|
||||
default: ;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
QT_INIT_METAOBJECT const QMetaObject QwtAnalogClock::staticMetaObject = { {
|
||||
QMetaObject::SuperData::link<QwtDial::staticMetaObject>(),
|
||||
qt_meta_stringdata_QwtAnalogClock.data,
|
||||
qt_meta_data_QwtAnalogClock,
|
||||
qt_static_metacall,
|
||||
nullptr,
|
||||
nullptr
|
||||
} };
|
||||
|
||||
|
||||
const QMetaObject *QwtAnalogClock::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *QwtAnalogClock::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return nullptr;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_QwtAnalogClock.stringdata0))
|
||||
return static_cast<void*>(this);
|
||||
return QwtDial::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int QwtAnalogClock::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QwtDial::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
if (_id < 2)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 2;
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
if (_id < 2)
|
||||
*reinterpret_cast<int*>(_a[0]) = -1;
|
||||
_id -= 2;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
QT_WARNING_POP
|
||||
QT_END_MOC_NAMESPACE
|
||||
@@ -0,0 +1,95 @@
|
||||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'qwt_compass.h'
|
||||
**
|
||||
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2)
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost!
|
||||
*****************************************************************************/
|
||||
|
||||
#include <memory>
|
||||
#include "../../src/qwt_compass.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'qwt_compass.h' doesn't include <QObject>."
|
||||
#elif Q_MOC_OUTPUT_REVISION != 67
|
||||
#error "This file was generated using the moc from 5.15.2. It"
|
||||
#error "cannot be used with the include files from this version of Qt."
|
||||
#error "(The moc has changed too much.)"
|
||||
#endif
|
||||
|
||||
QT_BEGIN_MOC_NAMESPACE
|
||||
QT_WARNING_PUSH
|
||||
QT_WARNING_DISABLE_DEPRECATED
|
||||
struct qt_meta_stringdata_QwtCompass_t {
|
||||
QByteArrayData data[1];
|
||||
char stringdata0[11];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_QwtCompass_t, stringdata0) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_QwtCompass_t qt_meta_stringdata_QwtCompass = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 10) // "QwtCompass"
|
||||
|
||||
},
|
||||
"QwtCompass"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_QwtCompass[] = {
|
||||
|
||||
// content:
|
||||
8, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
0, 0, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
0, // signalCount
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void QwtCompass::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
Q_UNUSED(_o);
|
||||
Q_UNUSED(_id);
|
||||
Q_UNUSED(_c);
|
||||
Q_UNUSED(_a);
|
||||
}
|
||||
|
||||
QT_INIT_METAOBJECT const QMetaObject QwtCompass::staticMetaObject = { {
|
||||
QMetaObject::SuperData::link<QwtDial::staticMetaObject>(),
|
||||
qt_meta_stringdata_QwtCompass.data,
|
||||
qt_meta_data_QwtCompass,
|
||||
qt_static_metacall,
|
||||
nullptr,
|
||||
nullptr
|
||||
} };
|
||||
|
||||
|
||||
const QMetaObject *QwtCompass::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *QwtCompass::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return nullptr;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_QwtCompass.stringdata0))
|
||||
return static_cast<void*>(this);
|
||||
return QwtDial::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int QwtCompass::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QwtDial::qt_metacall(_c, _id, _a);
|
||||
return _id;
|
||||
}
|
||||
QT_WARNING_POP
|
||||
QT_END_MOC_NAMESPACE
|
||||
@@ -0,0 +1,266 @@
|
||||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'qwt_counter.h'
|
||||
**
|
||||
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2)
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost!
|
||||
*****************************************************************************/
|
||||
|
||||
#include <memory>
|
||||
#include "../../src/qwt_counter.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'qwt_counter.h' doesn't include <QObject>."
|
||||
#elif Q_MOC_OUTPUT_REVISION != 67
|
||||
#error "This file was generated using the moc from 5.15.2. It"
|
||||
#error "cannot be used with the include files from this version of Qt."
|
||||
#error "(The moc has changed too much.)"
|
||||
#endif
|
||||
|
||||
QT_BEGIN_MOC_NAMESPACE
|
||||
QT_WARNING_PUSH
|
||||
QT_WARNING_DISABLE_DEPRECATED
|
||||
struct qt_meta_stringdata_QwtCounter_t {
|
||||
QByteArrayData data[18];
|
||||
char stringdata0[182];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_QwtCounter_t, stringdata0) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_QwtCounter_t qt_meta_stringdata_QwtCounter = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 10), // "QwtCounter"
|
||||
QT_MOC_LITERAL(1, 11, 14), // "buttonReleased"
|
||||
QT_MOC_LITERAL(2, 26, 0), // ""
|
||||
QT_MOC_LITERAL(3, 27, 5), // "value"
|
||||
QT_MOC_LITERAL(4, 33, 12), // "valueChanged"
|
||||
QT_MOC_LITERAL(5, 46, 8), // "setValue"
|
||||
QT_MOC_LITERAL(6, 55, 11), // "btnReleased"
|
||||
QT_MOC_LITERAL(7, 67, 10), // "btnClicked"
|
||||
QT_MOC_LITERAL(8, 78, 11), // "textChanged"
|
||||
QT_MOC_LITERAL(9, 90, 7), // "minimum"
|
||||
QT_MOC_LITERAL(10, 98, 7), // "maximum"
|
||||
QT_MOC_LITERAL(11, 106, 10), // "singleStep"
|
||||
QT_MOC_LITERAL(12, 117, 10), // "numButtons"
|
||||
QT_MOC_LITERAL(13, 128, 11), // "stepButton1"
|
||||
QT_MOC_LITERAL(14, 140, 11), // "stepButton2"
|
||||
QT_MOC_LITERAL(15, 152, 11), // "stepButton3"
|
||||
QT_MOC_LITERAL(16, 164, 8), // "readOnly"
|
||||
QT_MOC_LITERAL(17, 173, 8) // "wrapping"
|
||||
|
||||
},
|
||||
"QwtCounter\0buttonReleased\0\0value\0"
|
||||
"valueChanged\0setValue\0btnReleased\0"
|
||||
"btnClicked\0textChanged\0minimum\0maximum\0"
|
||||
"singleStep\0numButtons\0stepButton1\0"
|
||||
"stepButton2\0stepButton3\0readOnly\0"
|
||||
"wrapping"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_QwtCounter[] = {
|
||||
|
||||
// content:
|
||||
8, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
6, 14, // methods
|
||||
10, 56, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
2, // signalCount
|
||||
|
||||
// signals: name, argc, parameters, tag, flags
|
||||
1, 1, 44, 2, 0x06 /* Public */,
|
||||
4, 1, 47, 2, 0x06 /* Public */,
|
||||
|
||||
// slots: name, argc, parameters, tag, flags
|
||||
5, 1, 50, 2, 0x0a /* Public */,
|
||||
6, 0, 53, 2, 0x08 /* Private */,
|
||||
7, 0, 54, 2, 0x08 /* Private */,
|
||||
8, 0, 55, 2, 0x08 /* Private */,
|
||||
|
||||
// signals: parameters
|
||||
QMetaType::Void, QMetaType::Double, 3,
|
||||
QMetaType::Void, QMetaType::Double, 3,
|
||||
|
||||
// slots: parameters
|
||||
QMetaType::Void, QMetaType::Double, 2,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
|
||||
// properties: name, type, flags
|
||||
3, QMetaType::Double, 0x00595103,
|
||||
9, QMetaType::Double, 0x00095103,
|
||||
10, QMetaType::Double, 0x00095103,
|
||||
11, QMetaType::Double, 0x00095103,
|
||||
12, QMetaType::Int, 0x00095103,
|
||||
13, QMetaType::Int, 0x00095103,
|
||||
14, QMetaType::Int, 0x00095103,
|
||||
15, QMetaType::Int, 0x00095103,
|
||||
16, QMetaType::Bool, 0x00095103,
|
||||
17, QMetaType::Bool, 0x00095103,
|
||||
|
||||
// properties: notify_signal_id
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void QwtCounter::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
auto *_t = static_cast<QwtCounter *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
switch (_id) {
|
||||
case 0: _t->buttonReleased((*reinterpret_cast< double(*)>(_a[1]))); break;
|
||||
case 1: _t->valueChanged((*reinterpret_cast< double(*)>(_a[1]))); break;
|
||||
case 2: _t->setValue((*reinterpret_cast< double(*)>(_a[1]))); break;
|
||||
case 3: _t->btnReleased(); break;
|
||||
case 4: _t->btnClicked(); break;
|
||||
case 5: _t->textChanged(); break;
|
||||
default: ;
|
||||
}
|
||||
} else if (_c == QMetaObject::IndexOfMethod) {
|
||||
int *result = reinterpret_cast<int *>(_a[0]);
|
||||
{
|
||||
using _t = void (QwtCounter::*)(double );
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QwtCounter::buttonReleased)) {
|
||||
*result = 0;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
using _t = void (QwtCounter::*)(double );
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QwtCounter::valueChanged)) {
|
||||
*result = 1;
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
#ifndef QT_NO_PROPERTIES
|
||||
else if (_c == QMetaObject::ReadProperty) {
|
||||
auto *_t = static_cast<QwtCounter *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
void *_v = _a[0];
|
||||
switch (_id) {
|
||||
case 0: *reinterpret_cast< double*>(_v) = _t->value(); break;
|
||||
case 1: *reinterpret_cast< double*>(_v) = _t->minimum(); break;
|
||||
case 2: *reinterpret_cast< double*>(_v) = _t->maximum(); break;
|
||||
case 3: *reinterpret_cast< double*>(_v) = _t->singleStep(); break;
|
||||
case 4: *reinterpret_cast< int*>(_v) = _t->numButtons(); break;
|
||||
case 5: *reinterpret_cast< int*>(_v) = _t->stepButton1(); break;
|
||||
case 6: *reinterpret_cast< int*>(_v) = _t->stepButton2(); break;
|
||||
case 7: *reinterpret_cast< int*>(_v) = _t->stepButton3(); break;
|
||||
case 8: *reinterpret_cast< bool*>(_v) = _t->isReadOnly(); break;
|
||||
case 9: *reinterpret_cast< bool*>(_v) = _t->wrapping(); break;
|
||||
default: break;
|
||||
}
|
||||
} else if (_c == QMetaObject::WriteProperty) {
|
||||
auto *_t = static_cast<QwtCounter *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
void *_v = _a[0];
|
||||
switch (_id) {
|
||||
case 0: _t->setValue(*reinterpret_cast< double*>(_v)); break;
|
||||
case 1: _t->setMinimum(*reinterpret_cast< double*>(_v)); break;
|
||||
case 2: _t->setMaximum(*reinterpret_cast< double*>(_v)); break;
|
||||
case 3: _t->setSingleStep(*reinterpret_cast< double*>(_v)); break;
|
||||
case 4: _t->setNumButtons(*reinterpret_cast< int*>(_v)); break;
|
||||
case 5: _t->setStepButton1(*reinterpret_cast< int*>(_v)); break;
|
||||
case 6: _t->setStepButton2(*reinterpret_cast< int*>(_v)); break;
|
||||
case 7: _t->setStepButton3(*reinterpret_cast< int*>(_v)); break;
|
||||
case 8: _t->setReadOnly(*reinterpret_cast< bool*>(_v)); break;
|
||||
case 9: _t->setWrapping(*reinterpret_cast< bool*>(_v)); break;
|
||||
default: break;
|
||||
}
|
||||
} else if (_c == QMetaObject::ResetProperty) {
|
||||
}
|
||||
#endif // QT_NO_PROPERTIES
|
||||
}
|
||||
|
||||
QT_INIT_METAOBJECT const QMetaObject QwtCounter::staticMetaObject = { {
|
||||
QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
|
||||
qt_meta_stringdata_QwtCounter.data,
|
||||
qt_meta_data_QwtCounter,
|
||||
qt_static_metacall,
|
||||
nullptr,
|
||||
nullptr
|
||||
} };
|
||||
|
||||
|
||||
const QMetaObject *QwtCounter::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *QwtCounter::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return nullptr;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_QwtCounter.stringdata0))
|
||||
return static_cast<void*>(this);
|
||||
return QWidget::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int QwtCounter::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QWidget::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
if (_id < 6)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 6;
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
if (_id < 6)
|
||||
*reinterpret_cast<int*>(_a[0]) = -1;
|
||||
_id -= 6;
|
||||
}
|
||||
#ifndef QT_NO_PROPERTIES
|
||||
else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
|
||||
|| _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 10;
|
||||
} else if (_c == QMetaObject::QueryPropertyDesignable) {
|
||||
_id -= 10;
|
||||
} else if (_c == QMetaObject::QueryPropertyScriptable) {
|
||||
_id -= 10;
|
||||
} else if (_c == QMetaObject::QueryPropertyStored) {
|
||||
_id -= 10;
|
||||
} else if (_c == QMetaObject::QueryPropertyEditable) {
|
||||
_id -= 10;
|
||||
} else if (_c == QMetaObject::QueryPropertyUser) {
|
||||
_id -= 10;
|
||||
}
|
||||
#endif // QT_NO_PROPERTIES
|
||||
return _id;
|
||||
}
|
||||
|
||||
// SIGNAL 0
|
||||
void QwtCounter::buttonReleased(double _t1)
|
||||
{
|
||||
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 0, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 1
|
||||
void QwtCounter::valueChanged(double _t1)
|
||||
{
|
||||
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 1, _a);
|
||||
}
|
||||
QT_WARNING_POP
|
||||
QT_END_MOC_NAMESPACE
|
||||
@@ -0,0 +1,181 @@
|
||||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'qwt_dial.h'
|
||||
**
|
||||
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2)
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost!
|
||||
*****************************************************************************/
|
||||
|
||||
#include <memory>
|
||||
#include "../../src/qwt_dial.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'qwt_dial.h' doesn't include <QObject>."
|
||||
#elif Q_MOC_OUTPUT_REVISION != 67
|
||||
#error "This file was generated using the moc from 5.15.2. It"
|
||||
#error "cannot be used with the include files from this version of Qt."
|
||||
#error "(The moc has changed too much.)"
|
||||
#endif
|
||||
|
||||
QT_BEGIN_MOC_NAMESPACE
|
||||
QT_WARNING_PUSH
|
||||
QT_WARNING_DISABLE_DEPRECATED
|
||||
struct qt_meta_stringdata_QwtDial_t {
|
||||
QByteArrayData data[14];
|
||||
char stringdata0[123];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_QwtDial_t, stringdata0) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_QwtDial_t qt_meta_stringdata_QwtDial = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 7), // "QwtDial"
|
||||
QT_MOC_LITERAL(1, 8, 9), // "lineWidth"
|
||||
QT_MOC_LITERAL(2, 18, 11), // "frameShadow"
|
||||
QT_MOC_LITERAL(3, 30, 6), // "Shadow"
|
||||
QT_MOC_LITERAL(4, 37, 4), // "mode"
|
||||
QT_MOC_LITERAL(5, 42, 4), // "Mode"
|
||||
QT_MOC_LITERAL(6, 47, 6), // "origin"
|
||||
QT_MOC_LITERAL(7, 54, 11), // "minScaleArc"
|
||||
QT_MOC_LITERAL(8, 66, 11), // "maxScaleArc"
|
||||
QT_MOC_LITERAL(9, 78, 5), // "Plain"
|
||||
QT_MOC_LITERAL(10, 84, 6), // "Raised"
|
||||
QT_MOC_LITERAL(11, 91, 6), // "Sunken"
|
||||
QT_MOC_LITERAL(12, 98, 12), // "RotateNeedle"
|
||||
QT_MOC_LITERAL(13, 111, 11) // "RotateScale"
|
||||
|
||||
},
|
||||
"QwtDial\0lineWidth\0frameShadow\0Shadow\0"
|
||||
"mode\0Mode\0origin\0minScaleArc\0maxScaleArc\0"
|
||||
"Plain\0Raised\0Sunken\0RotateNeedle\0"
|
||||
"RotateScale"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_QwtDial[] = {
|
||||
|
||||
// content:
|
||||
8, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
0, 0, // methods
|
||||
6, 14, // properties
|
||||
2, 32, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
0, // signalCount
|
||||
|
||||
// properties: name, type, flags
|
||||
1, QMetaType::Int, 0x00095103,
|
||||
2, 0x80000000 | 3, 0x0009510b,
|
||||
4, 0x80000000 | 5, 0x0009510b,
|
||||
6, QMetaType::Double, 0x00095103,
|
||||
7, QMetaType::Double, 0x00095103,
|
||||
8, QMetaType::Double, 0x00095103,
|
||||
|
||||
// enums: name, alias, flags, count, data
|
||||
3, 3, 0x0, 3, 42,
|
||||
5, 5, 0x0, 2, 48,
|
||||
|
||||
// enum data: key, value
|
||||
9, uint(QwtDial::Plain),
|
||||
10, uint(QwtDial::Raised),
|
||||
11, uint(QwtDial::Sunken),
|
||||
12, uint(QwtDial::RotateNeedle),
|
||||
13, uint(QwtDial::RotateScale),
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void QwtDial::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
|
||||
#ifndef QT_NO_PROPERTIES
|
||||
if (_c == QMetaObject::ReadProperty) {
|
||||
auto *_t = static_cast<QwtDial *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
void *_v = _a[0];
|
||||
switch (_id) {
|
||||
case 0: *reinterpret_cast< int*>(_v) = _t->lineWidth(); break;
|
||||
case 1: *reinterpret_cast< Shadow*>(_v) = _t->frameShadow(); break;
|
||||
case 2: *reinterpret_cast< Mode*>(_v) = _t->mode(); break;
|
||||
case 3: *reinterpret_cast< double*>(_v) = _t->origin(); break;
|
||||
case 4: *reinterpret_cast< double*>(_v) = _t->minScaleArc(); break;
|
||||
case 5: *reinterpret_cast< double*>(_v) = _t->maxScaleArc(); break;
|
||||
default: break;
|
||||
}
|
||||
} else if (_c == QMetaObject::WriteProperty) {
|
||||
auto *_t = static_cast<QwtDial *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
void *_v = _a[0];
|
||||
switch (_id) {
|
||||
case 0: _t->setLineWidth(*reinterpret_cast< int*>(_v)); break;
|
||||
case 1: _t->setFrameShadow(*reinterpret_cast< Shadow*>(_v)); break;
|
||||
case 2: _t->setMode(*reinterpret_cast< Mode*>(_v)); break;
|
||||
case 3: _t->setOrigin(*reinterpret_cast< double*>(_v)); break;
|
||||
case 4: _t->setMinScaleArc(*reinterpret_cast< double*>(_v)); break;
|
||||
case 5: _t->setMaxScaleArc(*reinterpret_cast< double*>(_v)); break;
|
||||
default: break;
|
||||
}
|
||||
} else if (_c == QMetaObject::ResetProperty) {
|
||||
}
|
||||
#endif // QT_NO_PROPERTIES
|
||||
Q_UNUSED(_o);
|
||||
Q_UNUSED(_id);
|
||||
Q_UNUSED(_c);
|
||||
Q_UNUSED(_a);
|
||||
}
|
||||
|
||||
QT_INIT_METAOBJECT const QMetaObject QwtDial::staticMetaObject = { {
|
||||
QMetaObject::SuperData::link<QwtAbstractSlider::staticMetaObject>(),
|
||||
qt_meta_stringdata_QwtDial.data,
|
||||
qt_meta_data_QwtDial,
|
||||
qt_static_metacall,
|
||||
nullptr,
|
||||
nullptr
|
||||
} };
|
||||
|
||||
|
||||
const QMetaObject *QwtDial::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *QwtDial::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return nullptr;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_QwtDial.stringdata0))
|
||||
return static_cast<void*>(this);
|
||||
return QwtAbstractSlider::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int QwtDial::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QwtAbstractSlider::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
|
||||
#ifndef QT_NO_PROPERTIES
|
||||
if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
|
||||
|| _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 6;
|
||||
} else if (_c == QMetaObject::QueryPropertyDesignable) {
|
||||
_id -= 6;
|
||||
} else if (_c == QMetaObject::QueryPropertyScriptable) {
|
||||
_id -= 6;
|
||||
} else if (_c == QMetaObject::QueryPropertyStored) {
|
||||
_id -= 6;
|
||||
} else if (_c == QMetaObject::QueryPropertyEditable) {
|
||||
_id -= 6;
|
||||
} else if (_c == QMetaObject::QueryPropertyUser) {
|
||||
_id -= 6;
|
||||
}
|
||||
#endif // QT_NO_PROPERTIES
|
||||
return _id;
|
||||
}
|
||||
QT_WARNING_POP
|
||||
QT_END_MOC_NAMESPACE
|
||||
@@ -0,0 +1,95 @@
|
||||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'qwt_dyngrid_layout.h'
|
||||
**
|
||||
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2)
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost!
|
||||
*****************************************************************************/
|
||||
|
||||
#include <memory>
|
||||
#include "../../src/qwt_dyngrid_layout.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'qwt_dyngrid_layout.h' doesn't include <QObject>."
|
||||
#elif Q_MOC_OUTPUT_REVISION != 67
|
||||
#error "This file was generated using the moc from 5.15.2. It"
|
||||
#error "cannot be used with the include files from this version of Qt."
|
||||
#error "(The moc has changed too much.)"
|
||||
#endif
|
||||
|
||||
QT_BEGIN_MOC_NAMESPACE
|
||||
QT_WARNING_PUSH
|
||||
QT_WARNING_DISABLE_DEPRECATED
|
||||
struct qt_meta_stringdata_QwtDynGridLayout_t {
|
||||
QByteArrayData data[1];
|
||||
char stringdata0[17];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_QwtDynGridLayout_t, stringdata0) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_QwtDynGridLayout_t qt_meta_stringdata_QwtDynGridLayout = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 16) // "QwtDynGridLayout"
|
||||
|
||||
},
|
||||
"QwtDynGridLayout"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_QwtDynGridLayout[] = {
|
||||
|
||||
// content:
|
||||
8, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
0, 0, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
0, // signalCount
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void QwtDynGridLayout::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
Q_UNUSED(_o);
|
||||
Q_UNUSED(_id);
|
||||
Q_UNUSED(_c);
|
||||
Q_UNUSED(_a);
|
||||
}
|
||||
|
||||
QT_INIT_METAOBJECT const QMetaObject QwtDynGridLayout::staticMetaObject = { {
|
||||
QMetaObject::SuperData::link<QLayout::staticMetaObject>(),
|
||||
qt_meta_stringdata_QwtDynGridLayout.data,
|
||||
qt_meta_data_QwtDynGridLayout,
|
||||
qt_static_metacall,
|
||||
nullptr,
|
||||
nullptr
|
||||
} };
|
||||
|
||||
|
||||
const QMetaObject *QwtDynGridLayout::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *QwtDynGridLayout::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return nullptr;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_QwtDynGridLayout.stringdata0))
|
||||
return static_cast<void*>(this);
|
||||
return QLayout::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int QwtDynGridLayout::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QLayout::qt_metacall(_c, _id, _a);
|
||||
return _id;
|
||||
}
|
||||
QT_WARNING_POP
|
||||
QT_END_MOC_NAMESPACE
|
||||
@@ -0,0 +1,202 @@
|
||||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'qwt_knob.h'
|
||||
**
|
||||
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2)
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost!
|
||||
*****************************************************************************/
|
||||
|
||||
#include <memory>
|
||||
#include "../../src/qwt_knob.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'qwt_knob.h' doesn't include <QObject>."
|
||||
#elif Q_MOC_OUTPUT_REVISION != 67
|
||||
#error "This file was generated using the moc from 5.15.2. It"
|
||||
#error "cannot be used with the include files from this version of Qt."
|
||||
#error "(The moc has changed too much.)"
|
||||
#endif
|
||||
|
||||
QT_BEGIN_MOC_NAMESPACE
|
||||
QT_WARNING_PUSH
|
||||
QT_WARNING_DISABLE_DEPRECATED
|
||||
struct qt_meta_stringdata_QwtKnob_t {
|
||||
QByteArrayData data[22];
|
||||
char stringdata0[192];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_QwtKnob_t, stringdata0) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_QwtKnob_t qt_meta_stringdata_QwtKnob = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 7), // "QwtKnob"
|
||||
QT_MOC_LITERAL(1, 8, 9), // "knobStyle"
|
||||
QT_MOC_LITERAL(2, 18, 9), // "KnobStyle"
|
||||
QT_MOC_LITERAL(3, 28, 9), // "knobWidth"
|
||||
QT_MOC_LITERAL(4, 38, 9), // "alignment"
|
||||
QT_MOC_LITERAL(5, 48, 13), // "Qt::Alignment"
|
||||
QT_MOC_LITERAL(6, 62, 10), // "totalAngle"
|
||||
QT_MOC_LITERAL(7, 73, 8), // "numTurns"
|
||||
QT_MOC_LITERAL(8, 82, 11), // "markerStyle"
|
||||
QT_MOC_LITERAL(9, 94, 11), // "MarkerStyle"
|
||||
QT_MOC_LITERAL(10, 106, 10), // "markerSize"
|
||||
QT_MOC_LITERAL(11, 117, 11), // "borderWidth"
|
||||
QT_MOC_LITERAL(12, 129, 4), // "Flat"
|
||||
QT_MOC_LITERAL(13, 134, 6), // "Raised"
|
||||
QT_MOC_LITERAL(14, 141, 6), // "Sunken"
|
||||
QT_MOC_LITERAL(15, 148, 6), // "Styled"
|
||||
QT_MOC_LITERAL(16, 155, 8), // "NoMarker"
|
||||
QT_MOC_LITERAL(17, 164, 4), // "Tick"
|
||||
QT_MOC_LITERAL(18, 169, 8), // "Triangle"
|
||||
QT_MOC_LITERAL(19, 178, 3), // "Dot"
|
||||
QT_MOC_LITERAL(20, 182, 3), // "Nub"
|
||||
QT_MOC_LITERAL(21, 186, 5) // "Notch"
|
||||
|
||||
},
|
||||
"QwtKnob\0knobStyle\0KnobStyle\0knobWidth\0"
|
||||
"alignment\0Qt::Alignment\0totalAngle\0"
|
||||
"numTurns\0markerStyle\0MarkerStyle\0"
|
||||
"markerSize\0borderWidth\0Flat\0Raised\0"
|
||||
"Sunken\0Styled\0NoMarker\0Tick\0Triangle\0"
|
||||
"Dot\0Nub\0Notch"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_QwtKnob[] = {
|
||||
|
||||
// content:
|
||||
8, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
0, 0, // methods
|
||||
8, 14, // properties
|
||||
2, 38, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
0, // signalCount
|
||||
|
||||
// properties: name, type, flags
|
||||
1, 0x80000000 | 2, 0x0009510b,
|
||||
3, QMetaType::Int, 0x00095103,
|
||||
4, 0x80000000 | 5, 0x0009510b,
|
||||
6, QMetaType::Double, 0x00095103,
|
||||
7, QMetaType::Int, 0x00095103,
|
||||
8, 0x80000000 | 9, 0x0009510b,
|
||||
10, QMetaType::Int, 0x00095103,
|
||||
11, QMetaType::Int, 0x00095103,
|
||||
|
||||
// enums: name, alias, flags, count, data
|
||||
2, 2, 0x0, 4, 48,
|
||||
9, 9, 0x0, 6, 56,
|
||||
|
||||
// enum data: key, value
|
||||
12, uint(QwtKnob::Flat),
|
||||
13, uint(QwtKnob::Raised),
|
||||
14, uint(QwtKnob::Sunken),
|
||||
15, uint(QwtKnob::Styled),
|
||||
16, uint(QwtKnob::NoMarker),
|
||||
17, uint(QwtKnob::Tick),
|
||||
18, uint(QwtKnob::Triangle),
|
||||
19, uint(QwtKnob::Dot),
|
||||
20, uint(QwtKnob::Nub),
|
||||
21, uint(QwtKnob::Notch),
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void QwtKnob::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
|
||||
#ifndef QT_NO_PROPERTIES
|
||||
if (_c == QMetaObject::ReadProperty) {
|
||||
auto *_t = static_cast<QwtKnob *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
void *_v = _a[0];
|
||||
switch (_id) {
|
||||
case 0: *reinterpret_cast< KnobStyle*>(_v) = _t->knobStyle(); break;
|
||||
case 1: *reinterpret_cast< int*>(_v) = _t->knobWidth(); break;
|
||||
case 2: *reinterpret_cast< Qt::Alignment*>(_v) = _t->alignment(); break;
|
||||
case 3: *reinterpret_cast< double*>(_v) = _t->totalAngle(); break;
|
||||
case 4: *reinterpret_cast< int*>(_v) = _t->numTurns(); break;
|
||||
case 5: *reinterpret_cast< MarkerStyle*>(_v) = _t->markerStyle(); break;
|
||||
case 6: *reinterpret_cast< int*>(_v) = _t->markerSize(); break;
|
||||
case 7: *reinterpret_cast< int*>(_v) = _t->borderWidth(); break;
|
||||
default: break;
|
||||
}
|
||||
} else if (_c == QMetaObject::WriteProperty) {
|
||||
auto *_t = static_cast<QwtKnob *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
void *_v = _a[0];
|
||||
switch (_id) {
|
||||
case 0: _t->setKnobStyle(*reinterpret_cast< KnobStyle*>(_v)); break;
|
||||
case 1: _t->setKnobWidth(*reinterpret_cast< int*>(_v)); break;
|
||||
case 2: _t->setAlignment(*reinterpret_cast< Qt::Alignment*>(_v)); break;
|
||||
case 3: _t->setTotalAngle(*reinterpret_cast< double*>(_v)); break;
|
||||
case 4: _t->setNumTurns(*reinterpret_cast< int*>(_v)); break;
|
||||
case 5: _t->setMarkerStyle(*reinterpret_cast< MarkerStyle*>(_v)); break;
|
||||
case 6: _t->setMarkerSize(*reinterpret_cast< int*>(_v)); break;
|
||||
case 7: _t->setBorderWidth(*reinterpret_cast< int*>(_v)); break;
|
||||
default: break;
|
||||
}
|
||||
} else if (_c == QMetaObject::ResetProperty) {
|
||||
}
|
||||
#endif // QT_NO_PROPERTIES
|
||||
Q_UNUSED(_o);
|
||||
Q_UNUSED(_id);
|
||||
Q_UNUSED(_c);
|
||||
Q_UNUSED(_a);
|
||||
}
|
||||
|
||||
QT_INIT_METAOBJECT const QMetaObject QwtKnob::staticMetaObject = { {
|
||||
QMetaObject::SuperData::link<QwtAbstractSlider::staticMetaObject>(),
|
||||
qt_meta_stringdata_QwtKnob.data,
|
||||
qt_meta_data_QwtKnob,
|
||||
qt_static_metacall,
|
||||
nullptr,
|
||||
nullptr
|
||||
} };
|
||||
|
||||
|
||||
const QMetaObject *QwtKnob::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *QwtKnob::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return nullptr;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_QwtKnob.stringdata0))
|
||||
return static_cast<void*>(this);
|
||||
return QwtAbstractSlider::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int QwtKnob::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QwtAbstractSlider::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
|
||||
#ifndef QT_NO_PROPERTIES
|
||||
if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
|
||||
|| _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 8;
|
||||
} else if (_c == QMetaObject::QueryPropertyDesignable) {
|
||||
_id -= 8;
|
||||
} else if (_c == QMetaObject::QueryPropertyScriptable) {
|
||||
_id -= 8;
|
||||
} else if (_c == QMetaObject::QueryPropertyStored) {
|
||||
_id -= 8;
|
||||
} else if (_c == QMetaObject::QueryPropertyEditable) {
|
||||
_id -= 8;
|
||||
} else if (_c == QMetaObject::QueryPropertyUser) {
|
||||
_id -= 8;
|
||||
}
|
||||
#endif // QT_NO_PROPERTIES
|
||||
return _id;
|
||||
}
|
||||
QT_WARNING_POP
|
||||
QT_END_MOC_NAMESPACE
|
||||
@@ -0,0 +1,175 @@
|
||||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'qwt_legend.h'
|
||||
**
|
||||
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2)
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost!
|
||||
*****************************************************************************/
|
||||
|
||||
#include <memory>
|
||||
#include "../../src/qwt_legend.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#include <QtCore/QList>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'qwt_legend.h' doesn't include <QObject>."
|
||||
#elif Q_MOC_OUTPUT_REVISION != 67
|
||||
#error "This file was generated using the moc from 5.15.2. It"
|
||||
#error "cannot be used with the include files from this version of Qt."
|
||||
#error "(The moc has changed too much.)"
|
||||
#endif
|
||||
|
||||
QT_BEGIN_MOC_NAMESPACE
|
||||
QT_WARNING_PUSH
|
||||
QT_WARNING_DISABLE_DEPRECATED
|
||||
struct qt_meta_stringdata_QwtLegend_t {
|
||||
QByteArrayData data[11];
|
||||
char stringdata0[103];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_QwtLegend_t, stringdata0) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_QwtLegend_t qt_meta_stringdata_QwtLegend = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 9), // "QwtLegend"
|
||||
QT_MOC_LITERAL(1, 10, 7), // "clicked"
|
||||
QT_MOC_LITERAL(2, 18, 0), // ""
|
||||
QT_MOC_LITERAL(3, 19, 8), // "itemInfo"
|
||||
QT_MOC_LITERAL(4, 28, 5), // "index"
|
||||
QT_MOC_LITERAL(5, 34, 7), // "checked"
|
||||
QT_MOC_LITERAL(6, 42, 2), // "on"
|
||||
QT_MOC_LITERAL(7, 45, 12), // "updateLegend"
|
||||
QT_MOC_LITERAL(8, 58, 20), // "QList<QwtLegendData>"
|
||||
QT_MOC_LITERAL(9, 79, 11), // "itemClicked"
|
||||
QT_MOC_LITERAL(10, 91, 11) // "itemChecked"
|
||||
|
||||
},
|
||||
"QwtLegend\0clicked\0\0itemInfo\0index\0"
|
||||
"checked\0on\0updateLegend\0QList<QwtLegendData>\0"
|
||||
"itemClicked\0itemChecked"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_QwtLegend[] = {
|
||||
|
||||
// content:
|
||||
8, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
5, 14, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
2, // signalCount
|
||||
|
||||
// signals: name, argc, parameters, tag, flags
|
||||
1, 2, 39, 2, 0x06 /* Public */,
|
||||
5, 3, 44, 2, 0x06 /* Public */,
|
||||
|
||||
// slots: name, argc, parameters, tag, flags
|
||||
7, 2, 51, 2, 0x0a /* Public */,
|
||||
9, 0, 56, 2, 0x09 /* Protected */,
|
||||
10, 1, 57, 2, 0x09 /* Protected */,
|
||||
|
||||
// signals: parameters
|
||||
QMetaType::Void, QMetaType::QVariant, QMetaType::Int, 3, 4,
|
||||
QMetaType::Void, QMetaType::QVariant, QMetaType::Bool, QMetaType::Int, 3, 6, 4,
|
||||
|
||||
// slots: parameters
|
||||
QMetaType::Void, QMetaType::QVariant, 0x80000000 | 8, 2, 2,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void, QMetaType::Bool, 2,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void QwtLegend::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
auto *_t = static_cast<QwtLegend *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
switch (_id) {
|
||||
case 0: _t->clicked((*reinterpret_cast< const QVariant(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
|
||||
case 1: _t->checked((*reinterpret_cast< const QVariant(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
|
||||
case 2: _t->updateLegend((*reinterpret_cast< const QVariant(*)>(_a[1])),(*reinterpret_cast< const QList<QwtLegendData>(*)>(_a[2]))); break;
|
||||
case 3: _t->itemClicked(); break;
|
||||
case 4: _t->itemChecked((*reinterpret_cast< bool(*)>(_a[1]))); break;
|
||||
default: ;
|
||||
}
|
||||
} else if (_c == QMetaObject::IndexOfMethod) {
|
||||
int *result = reinterpret_cast<int *>(_a[0]);
|
||||
{
|
||||
using _t = void (QwtLegend::*)(const QVariant & , int );
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QwtLegend::clicked)) {
|
||||
*result = 0;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
using _t = void (QwtLegend::*)(const QVariant & , bool , int );
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QwtLegend::checked)) {
|
||||
*result = 1;
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
QT_INIT_METAOBJECT const QMetaObject QwtLegend::staticMetaObject = { {
|
||||
QMetaObject::SuperData::link<QwtAbstractLegend::staticMetaObject>(),
|
||||
qt_meta_stringdata_QwtLegend.data,
|
||||
qt_meta_data_QwtLegend,
|
||||
qt_static_metacall,
|
||||
nullptr,
|
||||
nullptr
|
||||
} };
|
||||
|
||||
|
||||
const QMetaObject *QwtLegend::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *QwtLegend::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return nullptr;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_QwtLegend.stringdata0))
|
||||
return static_cast<void*>(this);
|
||||
return QwtAbstractLegend::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int QwtLegend::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QwtAbstractLegend::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
if (_id < 5)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 5;
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
if (_id < 5)
|
||||
*reinterpret_cast<int*>(_a[0]) = -1;
|
||||
_id -= 5;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
|
||||
// SIGNAL 0
|
||||
void QwtLegend::clicked(const QVariant & _t1, int _t2)
|
||||
{
|
||||
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 0, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 1
|
||||
void QwtLegend::checked(const QVariant & _t1, bool _t2, int _t3)
|
||||
{
|
||||
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t3))) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 1, _a);
|
||||
}
|
||||
QT_WARNING_POP
|
||||
QT_END_MOC_NAMESPACE
|
||||
@@ -0,0 +1,195 @@
|
||||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'qwt_legend_label.h'
|
||||
**
|
||||
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2)
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost!
|
||||
*****************************************************************************/
|
||||
|
||||
#include <memory>
|
||||
#include "../../src/qwt_legend_label.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'qwt_legend_label.h' doesn't include <QObject>."
|
||||
#elif Q_MOC_OUTPUT_REVISION != 67
|
||||
#error "This file was generated using the moc from 5.15.2. It"
|
||||
#error "cannot be used with the include files from this version of Qt."
|
||||
#error "(The moc has changed too much.)"
|
||||
#endif
|
||||
|
||||
QT_BEGIN_MOC_NAMESPACE
|
||||
QT_WARNING_PUSH
|
||||
QT_WARNING_DISABLE_DEPRECATED
|
||||
struct qt_meta_stringdata_QwtLegendLabel_t {
|
||||
QByteArrayData data[8];
|
||||
char stringdata0[63];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_QwtLegendLabel_t, stringdata0) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_QwtLegendLabel_t qt_meta_stringdata_QwtLegendLabel = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 14), // "QwtLegendLabel"
|
||||
QT_MOC_LITERAL(1, 15, 7), // "clicked"
|
||||
QT_MOC_LITERAL(2, 23, 0), // ""
|
||||
QT_MOC_LITERAL(3, 24, 7), // "pressed"
|
||||
QT_MOC_LITERAL(4, 32, 8), // "released"
|
||||
QT_MOC_LITERAL(5, 41, 7), // "checked"
|
||||
QT_MOC_LITERAL(6, 49, 10), // "setChecked"
|
||||
QT_MOC_LITERAL(7, 60, 2) // "on"
|
||||
|
||||
},
|
||||
"QwtLegendLabel\0clicked\0\0pressed\0"
|
||||
"released\0checked\0setChecked\0on"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_QwtLegendLabel[] = {
|
||||
|
||||
// content:
|
||||
8, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
5, 14, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
4, // signalCount
|
||||
|
||||
// signals: name, argc, parameters, tag, flags
|
||||
1, 0, 39, 2, 0x06 /* Public */,
|
||||
3, 0, 40, 2, 0x06 /* Public */,
|
||||
4, 0, 41, 2, 0x06 /* Public */,
|
||||
5, 1, 42, 2, 0x06 /* Public */,
|
||||
|
||||
// slots: name, argc, parameters, tag, flags
|
||||
6, 1, 45, 2, 0x0a /* Public */,
|
||||
|
||||
// signals: parameters
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void, QMetaType::Bool, 2,
|
||||
|
||||
// slots: parameters
|
||||
QMetaType::Void, QMetaType::Bool, 7,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void QwtLegendLabel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
auto *_t = static_cast<QwtLegendLabel *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
switch (_id) {
|
||||
case 0: _t->clicked(); break;
|
||||
case 1: _t->pressed(); break;
|
||||
case 2: _t->released(); break;
|
||||
case 3: _t->checked((*reinterpret_cast< bool(*)>(_a[1]))); break;
|
||||
case 4: _t->setChecked((*reinterpret_cast< bool(*)>(_a[1]))); break;
|
||||
default: ;
|
||||
}
|
||||
} else if (_c == QMetaObject::IndexOfMethod) {
|
||||
int *result = reinterpret_cast<int *>(_a[0]);
|
||||
{
|
||||
using _t = void (QwtLegendLabel::*)();
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QwtLegendLabel::clicked)) {
|
||||
*result = 0;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
using _t = void (QwtLegendLabel::*)();
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QwtLegendLabel::pressed)) {
|
||||
*result = 1;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
using _t = void (QwtLegendLabel::*)();
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QwtLegendLabel::released)) {
|
||||
*result = 2;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
using _t = void (QwtLegendLabel::*)(bool );
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QwtLegendLabel::checked)) {
|
||||
*result = 3;
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
QT_INIT_METAOBJECT const QMetaObject QwtLegendLabel::staticMetaObject = { {
|
||||
QMetaObject::SuperData::link<QwtTextLabel::staticMetaObject>(),
|
||||
qt_meta_stringdata_QwtLegendLabel.data,
|
||||
qt_meta_data_QwtLegendLabel,
|
||||
qt_static_metacall,
|
||||
nullptr,
|
||||
nullptr
|
||||
} };
|
||||
|
||||
|
||||
const QMetaObject *QwtLegendLabel::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *QwtLegendLabel::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return nullptr;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_QwtLegendLabel.stringdata0))
|
||||
return static_cast<void*>(this);
|
||||
return QwtTextLabel::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int QwtLegendLabel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QwtTextLabel::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
if (_id < 5)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 5;
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
if (_id < 5)
|
||||
*reinterpret_cast<int*>(_a[0]) = -1;
|
||||
_id -= 5;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
|
||||
// SIGNAL 0
|
||||
void QwtLegendLabel::clicked()
|
||||
{
|
||||
QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
|
||||
}
|
||||
|
||||
// SIGNAL 1
|
||||
void QwtLegendLabel::pressed()
|
||||
{
|
||||
QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
|
||||
}
|
||||
|
||||
// SIGNAL 2
|
||||
void QwtLegendLabel::released()
|
||||
{
|
||||
QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
|
||||
}
|
||||
|
||||
// SIGNAL 3
|
||||
void QwtLegendLabel::checked(bool _t1)
|
||||
{
|
||||
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 3, _a);
|
||||
}
|
||||
QT_WARNING_POP
|
||||
QT_END_MOC_NAMESPACE
|
||||
@@ -0,0 +1,95 @@
|
||||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'qwt_magnifier.h'
|
||||
**
|
||||
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2)
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost!
|
||||
*****************************************************************************/
|
||||
|
||||
#include <memory>
|
||||
#include "../../src/qwt_magnifier.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'qwt_magnifier.h' doesn't include <QObject>."
|
||||
#elif Q_MOC_OUTPUT_REVISION != 67
|
||||
#error "This file was generated using the moc from 5.15.2. It"
|
||||
#error "cannot be used with the include files from this version of Qt."
|
||||
#error "(The moc has changed too much.)"
|
||||
#endif
|
||||
|
||||
QT_BEGIN_MOC_NAMESPACE
|
||||
QT_WARNING_PUSH
|
||||
QT_WARNING_DISABLE_DEPRECATED
|
||||
struct qt_meta_stringdata_QwtMagnifier_t {
|
||||
QByteArrayData data[1];
|
||||
char stringdata0[13];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_QwtMagnifier_t, stringdata0) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_QwtMagnifier_t qt_meta_stringdata_QwtMagnifier = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 12) // "QwtMagnifier"
|
||||
|
||||
},
|
||||
"QwtMagnifier"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_QwtMagnifier[] = {
|
||||
|
||||
// content:
|
||||
8, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
0, 0, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
0, // signalCount
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void QwtMagnifier::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
Q_UNUSED(_o);
|
||||
Q_UNUSED(_id);
|
||||
Q_UNUSED(_c);
|
||||
Q_UNUSED(_a);
|
||||
}
|
||||
|
||||
QT_INIT_METAOBJECT const QMetaObject QwtMagnifier::staticMetaObject = { {
|
||||
QMetaObject::SuperData::link<QObject::staticMetaObject>(),
|
||||
qt_meta_stringdata_QwtMagnifier.data,
|
||||
qt_meta_data_QwtMagnifier,
|
||||
qt_static_metacall,
|
||||
nullptr,
|
||||
nullptr
|
||||
} };
|
||||
|
||||
|
||||
const QMetaObject *QwtMagnifier::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *QwtMagnifier::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return nullptr;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_QwtMagnifier.stringdata0))
|
||||
return static_cast<void*>(this);
|
||||
return QObject::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int QwtMagnifier::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QObject::qt_metacall(_c, _id, _a);
|
||||
return _id;
|
||||
}
|
||||
QT_WARNING_POP
|
||||
QT_END_MOC_NAMESPACE
|
||||
@@ -0,0 +1,154 @@
|
||||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'qwt_panner.h'
|
||||
**
|
||||
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2)
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost!
|
||||
*****************************************************************************/
|
||||
|
||||
#include <memory>
|
||||
#include "../../src/qwt_panner.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'qwt_panner.h' doesn't include <QObject>."
|
||||
#elif Q_MOC_OUTPUT_REVISION != 67
|
||||
#error "This file was generated using the moc from 5.15.2. It"
|
||||
#error "cannot be used with the include files from this version of Qt."
|
||||
#error "(The moc has changed too much.)"
|
||||
#endif
|
||||
|
||||
QT_BEGIN_MOC_NAMESPACE
|
||||
QT_WARNING_PUSH
|
||||
QT_WARNING_DISABLE_DEPRECATED
|
||||
struct qt_meta_stringdata_QwtPanner_t {
|
||||
QByteArrayData data[6];
|
||||
char stringdata0[30];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_QwtPanner_t, stringdata0) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_QwtPanner_t qt_meta_stringdata_QwtPanner = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 9), // "QwtPanner"
|
||||
QT_MOC_LITERAL(1, 10, 6), // "panned"
|
||||
QT_MOC_LITERAL(2, 17, 0), // ""
|
||||
QT_MOC_LITERAL(3, 18, 2), // "dx"
|
||||
QT_MOC_LITERAL(4, 21, 2), // "dy"
|
||||
QT_MOC_LITERAL(5, 24, 5) // "moved"
|
||||
|
||||
},
|
||||
"QwtPanner\0panned\0\0dx\0dy\0moved"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_QwtPanner[] = {
|
||||
|
||||
// content:
|
||||
8, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
2, 14, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
2, // signalCount
|
||||
|
||||
// signals: name, argc, parameters, tag, flags
|
||||
1, 2, 24, 2, 0x06 /* Public */,
|
||||
5, 2, 29, 2, 0x06 /* Public */,
|
||||
|
||||
// signals: parameters
|
||||
QMetaType::Void, QMetaType::Int, QMetaType::Int, 3, 4,
|
||||
QMetaType::Void, QMetaType::Int, QMetaType::Int, 3, 4,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void QwtPanner::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
auto *_t = static_cast<QwtPanner *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
switch (_id) {
|
||||
case 0: _t->panned((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
|
||||
case 1: _t->moved((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
|
||||
default: ;
|
||||
}
|
||||
} else if (_c == QMetaObject::IndexOfMethod) {
|
||||
int *result = reinterpret_cast<int *>(_a[0]);
|
||||
{
|
||||
using _t = void (QwtPanner::*)(int , int );
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QwtPanner::panned)) {
|
||||
*result = 0;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
using _t = void (QwtPanner::*)(int , int );
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QwtPanner::moved)) {
|
||||
*result = 1;
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
QT_INIT_METAOBJECT const QMetaObject QwtPanner::staticMetaObject = { {
|
||||
QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
|
||||
qt_meta_stringdata_QwtPanner.data,
|
||||
qt_meta_data_QwtPanner,
|
||||
qt_static_metacall,
|
||||
nullptr,
|
||||
nullptr
|
||||
} };
|
||||
|
||||
|
||||
const QMetaObject *QwtPanner::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *QwtPanner::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return nullptr;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_QwtPanner.stringdata0))
|
||||
return static_cast<void*>(this);
|
||||
return QWidget::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int QwtPanner::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QWidget::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
if (_id < 2)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 2;
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
if (_id < 2)
|
||||
*reinterpret_cast<int*>(_a[0]) = -1;
|
||||
_id -= 2;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
|
||||
// SIGNAL 0
|
||||
void QwtPanner::panned(int _t1, int _t2)
|
||||
{
|
||||
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 0, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 1
|
||||
void QwtPanner::moved(int _t1, int _t2)
|
||||
{
|
||||
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 1, _a);
|
||||
}
|
||||
QT_WARNING_POP
|
||||
QT_END_MOC_NAMESPACE
|
||||
@@ -0,0 +1,350 @@
|
||||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'qwt_picker.h'
|
||||
**
|
||||
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2)
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost!
|
||||
*****************************************************************************/
|
||||
|
||||
#include <memory>
|
||||
#include "../../src/qwt_picker.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'qwt_picker.h' doesn't include <QObject>."
|
||||
#elif Q_MOC_OUTPUT_REVISION != 67
|
||||
#error "This file was generated using the moc from 5.15.2. It"
|
||||
#error "cannot be used with the include files from this version of Qt."
|
||||
#error "(The moc has changed too much.)"
|
||||
#endif
|
||||
|
||||
QT_BEGIN_MOC_NAMESPACE
|
||||
QT_WARNING_PUSH
|
||||
QT_WARNING_DISABLE_DEPRECATED
|
||||
struct qt_meta_stringdata_QwtPicker_t {
|
||||
QByteArrayData data[36];
|
||||
char stringdata0[386];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_QwtPicker_t, stringdata0) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_QwtPicker_t qt_meta_stringdata_QwtPicker = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 9), // "QwtPicker"
|
||||
QT_MOC_LITERAL(1, 10, 9), // "activated"
|
||||
QT_MOC_LITERAL(2, 20, 0), // ""
|
||||
QT_MOC_LITERAL(3, 21, 2), // "on"
|
||||
QT_MOC_LITERAL(4, 24, 8), // "selected"
|
||||
QT_MOC_LITERAL(5, 33, 7), // "polygon"
|
||||
QT_MOC_LITERAL(6, 41, 8), // "appended"
|
||||
QT_MOC_LITERAL(7, 50, 3), // "pos"
|
||||
QT_MOC_LITERAL(8, 54, 5), // "moved"
|
||||
QT_MOC_LITERAL(9, 60, 7), // "removed"
|
||||
QT_MOC_LITERAL(10, 68, 7), // "changed"
|
||||
QT_MOC_LITERAL(11, 76, 9), // "selection"
|
||||
QT_MOC_LITERAL(12, 86, 10), // "setEnabled"
|
||||
QT_MOC_LITERAL(13, 97, 9), // "isEnabled"
|
||||
QT_MOC_LITERAL(14, 107, 10), // "resizeMode"
|
||||
QT_MOC_LITERAL(15, 118, 10), // "ResizeMode"
|
||||
QT_MOC_LITERAL(16, 129, 11), // "trackerMode"
|
||||
QT_MOC_LITERAL(17, 141, 11), // "DisplayMode"
|
||||
QT_MOC_LITERAL(18, 153, 10), // "trackerPen"
|
||||
QT_MOC_LITERAL(19, 164, 11), // "trackerFont"
|
||||
QT_MOC_LITERAL(20, 176, 10), // "rubberBand"
|
||||
QT_MOC_LITERAL(21, 187, 10), // "RubberBand"
|
||||
QT_MOC_LITERAL(22, 198, 13), // "rubberBandPen"
|
||||
QT_MOC_LITERAL(23, 212, 12), // "NoRubberBand"
|
||||
QT_MOC_LITERAL(24, 225, 15), // "HLineRubberBand"
|
||||
QT_MOC_LITERAL(25, 241, 15), // "VLineRubberBand"
|
||||
QT_MOC_LITERAL(26, 257, 15), // "CrossRubberBand"
|
||||
QT_MOC_LITERAL(27, 273, 14), // "RectRubberBand"
|
||||
QT_MOC_LITERAL(28, 288, 17), // "EllipseRubberBand"
|
||||
QT_MOC_LITERAL(29, 306, 17), // "PolygonRubberBand"
|
||||
QT_MOC_LITERAL(30, 324, 14), // "UserRubberBand"
|
||||
QT_MOC_LITERAL(31, 339, 9), // "AlwaysOff"
|
||||
QT_MOC_LITERAL(32, 349, 8), // "AlwaysOn"
|
||||
QT_MOC_LITERAL(33, 358, 10), // "ActiveOnly"
|
||||
QT_MOC_LITERAL(34, 369, 7), // "Stretch"
|
||||
QT_MOC_LITERAL(35, 377, 8) // "KeepSize"
|
||||
|
||||
},
|
||||
"QwtPicker\0activated\0\0on\0selected\0"
|
||||
"polygon\0appended\0pos\0moved\0removed\0"
|
||||
"changed\0selection\0setEnabled\0isEnabled\0"
|
||||
"resizeMode\0ResizeMode\0trackerMode\0"
|
||||
"DisplayMode\0trackerPen\0trackerFont\0"
|
||||
"rubberBand\0RubberBand\0rubberBandPen\0"
|
||||
"NoRubberBand\0HLineRubberBand\0"
|
||||
"VLineRubberBand\0CrossRubberBand\0"
|
||||
"RectRubberBand\0EllipseRubberBand\0"
|
||||
"PolygonRubberBand\0UserRubberBand\0"
|
||||
"AlwaysOff\0AlwaysOn\0ActiveOnly\0Stretch\0"
|
||||
"KeepSize"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_QwtPicker[] = {
|
||||
|
||||
// content:
|
||||
8, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
7, 14, // methods
|
||||
7, 70, // properties
|
||||
3, 91, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
6, // signalCount
|
||||
|
||||
// signals: name, argc, parameters, tag, flags
|
||||
1, 1, 49, 2, 0x06 /* Public */,
|
||||
4, 1, 52, 2, 0x06 /* Public */,
|
||||
6, 1, 55, 2, 0x06 /* Public */,
|
||||
8, 1, 58, 2, 0x06 /* Public */,
|
||||
9, 1, 61, 2, 0x06 /* Public */,
|
||||
10, 1, 64, 2, 0x06 /* Public */,
|
||||
|
||||
// slots: name, argc, parameters, tag, flags
|
||||
12, 1, 67, 2, 0x0a /* Public */,
|
||||
|
||||
// signals: parameters
|
||||
QMetaType::Void, QMetaType::Bool, 3,
|
||||
QMetaType::Void, QMetaType::QPolygon, 5,
|
||||
QMetaType::Void, QMetaType::QPoint, 7,
|
||||
QMetaType::Void, QMetaType::QPoint, 7,
|
||||
QMetaType::Void, QMetaType::QPoint, 7,
|
||||
QMetaType::Void, QMetaType::QPolygon, 11,
|
||||
|
||||
// slots: parameters
|
||||
QMetaType::Void, QMetaType::Bool, 2,
|
||||
|
||||
// properties: name, type, flags
|
||||
13, QMetaType::Bool, 0x00095003,
|
||||
14, 0x80000000 | 15, 0x0009510b,
|
||||
16, 0x80000000 | 17, 0x0009510b,
|
||||
18, QMetaType::QPen, 0x00095103,
|
||||
19, QMetaType::QFont, 0x00095103,
|
||||
20, 0x80000000 | 21, 0x0009510b,
|
||||
22, QMetaType::QPen, 0x00095103,
|
||||
|
||||
// enums: name, alias, flags, count, data
|
||||
21, 21, 0x0, 8, 106,
|
||||
17, 17, 0x0, 3, 122,
|
||||
15, 15, 0x0, 2, 128,
|
||||
|
||||
// enum data: key, value
|
||||
23, uint(QwtPicker::NoRubberBand),
|
||||
24, uint(QwtPicker::HLineRubberBand),
|
||||
25, uint(QwtPicker::VLineRubberBand),
|
||||
26, uint(QwtPicker::CrossRubberBand),
|
||||
27, uint(QwtPicker::RectRubberBand),
|
||||
28, uint(QwtPicker::EllipseRubberBand),
|
||||
29, uint(QwtPicker::PolygonRubberBand),
|
||||
30, uint(QwtPicker::UserRubberBand),
|
||||
31, uint(QwtPicker::AlwaysOff),
|
||||
32, uint(QwtPicker::AlwaysOn),
|
||||
33, uint(QwtPicker::ActiveOnly),
|
||||
34, uint(QwtPicker::Stretch),
|
||||
35, uint(QwtPicker::KeepSize),
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void QwtPicker::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
auto *_t = static_cast<QwtPicker *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
switch (_id) {
|
||||
case 0: _t->activated((*reinterpret_cast< bool(*)>(_a[1]))); break;
|
||||
case 1: _t->selected((*reinterpret_cast< const QPolygon(*)>(_a[1]))); break;
|
||||
case 2: _t->appended((*reinterpret_cast< const QPoint(*)>(_a[1]))); break;
|
||||
case 3: _t->moved((*reinterpret_cast< const QPoint(*)>(_a[1]))); break;
|
||||
case 4: _t->removed((*reinterpret_cast< const QPoint(*)>(_a[1]))); break;
|
||||
case 5: _t->changed((*reinterpret_cast< const QPolygon(*)>(_a[1]))); break;
|
||||
case 6: _t->setEnabled((*reinterpret_cast< bool(*)>(_a[1]))); break;
|
||||
default: ;
|
||||
}
|
||||
} else if (_c == QMetaObject::IndexOfMethod) {
|
||||
int *result = reinterpret_cast<int *>(_a[0]);
|
||||
{
|
||||
using _t = void (QwtPicker::*)(bool );
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QwtPicker::activated)) {
|
||||
*result = 0;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
using _t = void (QwtPicker::*)(const QPolygon & );
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QwtPicker::selected)) {
|
||||
*result = 1;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
using _t = void (QwtPicker::*)(const QPoint & );
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QwtPicker::appended)) {
|
||||
*result = 2;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
using _t = void (QwtPicker::*)(const QPoint & );
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QwtPicker::moved)) {
|
||||
*result = 3;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
using _t = void (QwtPicker::*)(const QPoint & );
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QwtPicker::removed)) {
|
||||
*result = 4;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
using _t = void (QwtPicker::*)(const QPolygon & );
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QwtPicker::changed)) {
|
||||
*result = 5;
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
#ifndef QT_NO_PROPERTIES
|
||||
else if (_c == QMetaObject::ReadProperty) {
|
||||
auto *_t = static_cast<QwtPicker *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
void *_v = _a[0];
|
||||
switch (_id) {
|
||||
case 0: *reinterpret_cast< bool*>(_v) = _t->isEnabled(); break;
|
||||
case 1: *reinterpret_cast< ResizeMode*>(_v) = _t->resizeMode(); break;
|
||||
case 2: *reinterpret_cast< DisplayMode*>(_v) = _t->trackerMode(); break;
|
||||
case 3: *reinterpret_cast< QPen*>(_v) = _t->trackerPen(); break;
|
||||
case 4: *reinterpret_cast< QFont*>(_v) = _t->trackerFont(); break;
|
||||
case 5: *reinterpret_cast< RubberBand*>(_v) = _t->rubberBand(); break;
|
||||
case 6: *reinterpret_cast< QPen*>(_v) = _t->rubberBandPen(); break;
|
||||
default: break;
|
||||
}
|
||||
} else if (_c == QMetaObject::WriteProperty) {
|
||||
auto *_t = static_cast<QwtPicker *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
void *_v = _a[0];
|
||||
switch (_id) {
|
||||
case 0: _t->setEnabled(*reinterpret_cast< bool*>(_v)); break;
|
||||
case 1: _t->setResizeMode(*reinterpret_cast< ResizeMode*>(_v)); break;
|
||||
case 2: _t->setTrackerMode(*reinterpret_cast< DisplayMode*>(_v)); break;
|
||||
case 3: _t->setTrackerPen(*reinterpret_cast< QPen*>(_v)); break;
|
||||
case 4: _t->setTrackerFont(*reinterpret_cast< QFont*>(_v)); break;
|
||||
case 5: _t->setRubberBand(*reinterpret_cast< RubberBand*>(_v)); break;
|
||||
case 6: _t->setRubberBandPen(*reinterpret_cast< QPen*>(_v)); break;
|
||||
default: break;
|
||||
}
|
||||
} else if (_c == QMetaObject::ResetProperty) {
|
||||
}
|
||||
#endif // QT_NO_PROPERTIES
|
||||
}
|
||||
|
||||
QT_INIT_METAOBJECT const QMetaObject QwtPicker::staticMetaObject = { {
|
||||
QMetaObject::SuperData::link<QObject::staticMetaObject>(),
|
||||
qt_meta_stringdata_QwtPicker.data,
|
||||
qt_meta_data_QwtPicker,
|
||||
qt_static_metacall,
|
||||
nullptr,
|
||||
nullptr
|
||||
} };
|
||||
|
||||
|
||||
const QMetaObject *QwtPicker::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *QwtPicker::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return nullptr;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_QwtPicker.stringdata0))
|
||||
return static_cast<void*>(this);
|
||||
if (!strcmp(_clname, "QwtEventPattern"))
|
||||
return static_cast< QwtEventPattern*>(this);
|
||||
return QObject::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int QwtPicker::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QObject::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
if (_id < 7)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 7;
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
if (_id < 7)
|
||||
*reinterpret_cast<int*>(_a[0]) = -1;
|
||||
_id -= 7;
|
||||
}
|
||||
#ifndef QT_NO_PROPERTIES
|
||||
else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
|
||||
|| _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 7;
|
||||
} else if (_c == QMetaObject::QueryPropertyDesignable) {
|
||||
_id -= 7;
|
||||
} else if (_c == QMetaObject::QueryPropertyScriptable) {
|
||||
_id -= 7;
|
||||
} else if (_c == QMetaObject::QueryPropertyStored) {
|
||||
_id -= 7;
|
||||
} else if (_c == QMetaObject::QueryPropertyEditable) {
|
||||
_id -= 7;
|
||||
} else if (_c == QMetaObject::QueryPropertyUser) {
|
||||
_id -= 7;
|
||||
}
|
||||
#endif // QT_NO_PROPERTIES
|
||||
return _id;
|
||||
}
|
||||
|
||||
// SIGNAL 0
|
||||
void QwtPicker::activated(bool _t1)
|
||||
{
|
||||
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 0, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 1
|
||||
void QwtPicker::selected(const QPolygon & _t1)
|
||||
{
|
||||
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 1, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 2
|
||||
void QwtPicker::appended(const QPoint & _t1)
|
||||
{
|
||||
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 2, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 3
|
||||
void QwtPicker::moved(const QPoint & _t1)
|
||||
{
|
||||
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 3, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 4
|
||||
void QwtPicker::removed(const QPoint & _t1)
|
||||
{
|
||||
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 4, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 5
|
||||
void QwtPicker::changed(const QPolygon & _t1)
|
||||
{
|
||||
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 5, _a);
|
||||
}
|
||||
QT_WARNING_POP
|
||||
QT_END_MOC_NAMESPACE
|
||||
@@ -0,0 +1,238 @@
|
||||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'qwt_plot.h'
|
||||
**
|
||||
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2)
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost!
|
||||
*****************************************************************************/
|
||||
|
||||
#include <memory>
|
||||
#include "../../src/qwt_plot.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#include <QtCore/QList>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'qwt_plot.h' doesn't include <QObject>."
|
||||
#elif Q_MOC_OUTPUT_REVISION != 67
|
||||
#error "This file was generated using the moc from 5.15.2. It"
|
||||
#error "cannot be used with the include files from this version of Qt."
|
||||
#error "(The moc has changed too much.)"
|
||||
#endif
|
||||
|
||||
QT_BEGIN_MOC_NAMESPACE
|
||||
QT_WARNING_PUSH
|
||||
QT_WARNING_DISABLE_DEPRECATED
|
||||
struct qt_meta_stringdata_QwtPlot_t {
|
||||
QByteArrayData data[16];
|
||||
char stringdata0[176];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_QwtPlot_t, stringdata0) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_QwtPlot_t qt_meta_stringdata_QwtPlot = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 7), // "QwtPlot"
|
||||
QT_MOC_LITERAL(1, 8, 12), // "itemAttached"
|
||||
QT_MOC_LITERAL(2, 21, 0), // ""
|
||||
QT_MOC_LITERAL(3, 22, 12), // "QwtPlotItem*"
|
||||
QT_MOC_LITERAL(4, 35, 8), // "plotItem"
|
||||
QT_MOC_LITERAL(5, 44, 2), // "on"
|
||||
QT_MOC_LITERAL(6, 47, 17), // "legendDataChanged"
|
||||
QT_MOC_LITERAL(7, 65, 8), // "itemInfo"
|
||||
QT_MOC_LITERAL(8, 74, 20), // "QList<QwtLegendData>"
|
||||
QT_MOC_LITERAL(9, 95, 4), // "data"
|
||||
QT_MOC_LITERAL(10, 100, 6), // "replot"
|
||||
QT_MOC_LITERAL(11, 107, 11), // "autoRefresh"
|
||||
QT_MOC_LITERAL(12, 119, 17), // "updateLegendItems"
|
||||
QT_MOC_LITERAL(13, 137, 10), // "legendData"
|
||||
QT_MOC_LITERAL(14, 148, 16), // "canvasBackground"
|
||||
QT_MOC_LITERAL(15, 165, 10) // "autoReplot"
|
||||
|
||||
},
|
||||
"QwtPlot\0itemAttached\0\0QwtPlotItem*\0"
|
||||
"plotItem\0on\0legendDataChanged\0itemInfo\0"
|
||||
"QList<QwtLegendData>\0data\0replot\0"
|
||||
"autoRefresh\0updateLegendItems\0legendData\0"
|
||||
"canvasBackground\0autoReplot"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_QwtPlot[] = {
|
||||
|
||||
// content:
|
||||
8, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
5, 14, // methods
|
||||
2, 56, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
2, // signalCount
|
||||
|
||||
// signals: name, argc, parameters, tag, flags
|
||||
1, 2, 39, 2, 0x06 /* Public */,
|
||||
6, 2, 44, 2, 0x06 /* Public */,
|
||||
|
||||
// slots: name, argc, parameters, tag, flags
|
||||
10, 0, 49, 2, 0x0a /* Public */,
|
||||
11, 0, 50, 2, 0x0a /* Public */,
|
||||
12, 2, 51, 2, 0x08 /* Private */,
|
||||
|
||||
// signals: parameters
|
||||
QMetaType::Void, 0x80000000 | 3, QMetaType::Bool, 4, 5,
|
||||
QMetaType::Void, QMetaType::QVariant, 0x80000000 | 8, 7, 9,
|
||||
|
||||
// slots: parameters
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void, QMetaType::QVariant, 0x80000000 | 8, 7, 13,
|
||||
|
||||
// properties: name, type, flags
|
||||
14, QMetaType::QBrush, 0x00095103,
|
||||
15, QMetaType::Bool, 0x00095103,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void QwtPlot::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
auto *_t = static_cast<QwtPlot *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
switch (_id) {
|
||||
case 0: _t->itemAttached((*reinterpret_cast< QwtPlotItem*(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
|
||||
case 1: _t->legendDataChanged((*reinterpret_cast< const QVariant(*)>(_a[1])),(*reinterpret_cast< const QList<QwtLegendData>(*)>(_a[2]))); break;
|
||||
case 2: _t->replot(); break;
|
||||
case 3: _t->autoRefresh(); break;
|
||||
case 4: _t->updateLegendItems((*reinterpret_cast< const QVariant(*)>(_a[1])),(*reinterpret_cast< const QList<QwtLegendData>(*)>(_a[2]))); break;
|
||||
default: ;
|
||||
}
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
switch (_id) {
|
||||
default: *reinterpret_cast<int*>(_a[0]) = -1; break;
|
||||
case 0:
|
||||
switch (*reinterpret_cast<int*>(_a[1])) {
|
||||
default: *reinterpret_cast<int*>(_a[0]) = -1; break;
|
||||
case 0:
|
||||
*reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QwtPlotItem* >(); break;
|
||||
}
|
||||
break;
|
||||
}
|
||||
} else if (_c == QMetaObject::IndexOfMethod) {
|
||||
int *result = reinterpret_cast<int *>(_a[0]);
|
||||
{
|
||||
using _t = void (QwtPlot::*)(QwtPlotItem * , bool );
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QwtPlot::itemAttached)) {
|
||||
*result = 0;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
using _t = void (QwtPlot::*)(const QVariant & , const QList<QwtLegendData> & );
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QwtPlot::legendDataChanged)) {
|
||||
*result = 1;
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
#ifndef QT_NO_PROPERTIES
|
||||
else if (_c == QMetaObject::ReadProperty) {
|
||||
auto *_t = static_cast<QwtPlot *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
void *_v = _a[0];
|
||||
switch (_id) {
|
||||
case 0: *reinterpret_cast< QBrush*>(_v) = _t->canvasBackground(); break;
|
||||
case 1: *reinterpret_cast< bool*>(_v) = _t->autoReplot(); break;
|
||||
default: break;
|
||||
}
|
||||
} else if (_c == QMetaObject::WriteProperty) {
|
||||
auto *_t = static_cast<QwtPlot *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
void *_v = _a[0];
|
||||
switch (_id) {
|
||||
case 0: _t->setCanvasBackground(*reinterpret_cast< QBrush*>(_v)); break;
|
||||
case 1: _t->setAutoReplot(*reinterpret_cast< bool*>(_v)); break;
|
||||
default: break;
|
||||
}
|
||||
} else if (_c == QMetaObject::ResetProperty) {
|
||||
}
|
||||
#endif // QT_NO_PROPERTIES
|
||||
}
|
||||
|
||||
QT_INIT_METAOBJECT const QMetaObject QwtPlot::staticMetaObject = { {
|
||||
QMetaObject::SuperData::link<QFrame::staticMetaObject>(),
|
||||
qt_meta_stringdata_QwtPlot.data,
|
||||
qt_meta_data_QwtPlot,
|
||||
qt_static_metacall,
|
||||
nullptr,
|
||||
nullptr
|
||||
} };
|
||||
|
||||
|
||||
const QMetaObject *QwtPlot::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *QwtPlot::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return nullptr;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_QwtPlot.stringdata0))
|
||||
return static_cast<void*>(this);
|
||||
if (!strcmp(_clname, "QwtPlotDict"))
|
||||
return static_cast< QwtPlotDict*>(this);
|
||||
return QFrame::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int QwtPlot::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QFrame::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
if (_id < 5)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 5;
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
if (_id < 5)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 5;
|
||||
}
|
||||
#ifndef QT_NO_PROPERTIES
|
||||
else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
|
||||
|| _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 2;
|
||||
} else if (_c == QMetaObject::QueryPropertyDesignable) {
|
||||
_id -= 2;
|
||||
} else if (_c == QMetaObject::QueryPropertyScriptable) {
|
||||
_id -= 2;
|
||||
} else if (_c == QMetaObject::QueryPropertyStored) {
|
||||
_id -= 2;
|
||||
} else if (_c == QMetaObject::QueryPropertyEditable) {
|
||||
_id -= 2;
|
||||
} else if (_c == QMetaObject::QueryPropertyUser) {
|
||||
_id -= 2;
|
||||
}
|
||||
#endif // QT_NO_PROPERTIES
|
||||
return _id;
|
||||
}
|
||||
|
||||
// SIGNAL 0
|
||||
void QwtPlot::itemAttached(QwtPlotItem * _t1, bool _t2)
|
||||
{
|
||||
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 0, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 1
|
||||
void QwtPlot::legendDataChanged(const QVariant & _t1, const QList<QwtLegendData> & _t2)
|
||||
{
|
||||
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 1, _a);
|
||||
}
|
||||
QT_WARNING_POP
|
||||
QT_END_MOC_NAMESPACE
|
||||
@@ -0,0 +1,176 @@
|
||||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'qwt_plot_canvas.h'
|
||||
**
|
||||
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2)
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost!
|
||||
*****************************************************************************/
|
||||
|
||||
#include <memory>
|
||||
#include "../../src/qwt_plot_canvas.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'qwt_plot_canvas.h' doesn't include <QObject>."
|
||||
#elif Q_MOC_OUTPUT_REVISION != 67
|
||||
#error "This file was generated using the moc from 5.15.2. It"
|
||||
#error "cannot be used with the include files from this version of Qt."
|
||||
#error "(The moc has changed too much.)"
|
||||
#endif
|
||||
|
||||
QT_BEGIN_MOC_NAMESPACE
|
||||
QT_WARNING_PUSH
|
||||
QT_WARNING_DISABLE_DEPRECATED
|
||||
struct qt_meta_stringdata_QwtPlotCanvas_t {
|
||||
QByteArrayData data[7];
|
||||
char stringdata0[82];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_QwtPlotCanvas_t, stringdata0) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_QwtPlotCanvas_t qt_meta_stringdata_QwtPlotCanvas = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 13), // "QwtPlotCanvas"
|
||||
QT_MOC_LITERAL(1, 14, 6), // "replot"
|
||||
QT_MOC_LITERAL(2, 21, 0), // ""
|
||||
QT_MOC_LITERAL(3, 22, 22), // "invalidateBackingStore"
|
||||
QT_MOC_LITERAL(4, 45, 10), // "borderPath"
|
||||
QT_MOC_LITERAL(5, 56, 12), // "QPainterPath"
|
||||
QT_MOC_LITERAL(6, 69, 12) // "borderRadius"
|
||||
|
||||
},
|
||||
"QwtPlotCanvas\0replot\0\0invalidateBackingStore\0"
|
||||
"borderPath\0QPainterPath\0borderRadius"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_QwtPlotCanvas[] = {
|
||||
|
||||
// content:
|
||||
8, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
3, 14, // methods
|
||||
1, 34, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
0, // signalCount
|
||||
|
||||
// slots: name, argc, parameters, tag, flags
|
||||
1, 0, 29, 2, 0x0a /* Public */,
|
||||
|
||||
// methods: name, argc, parameters, tag, flags
|
||||
3, 0, 30, 2, 0x02 /* Public */,
|
||||
4, 1, 31, 2, 0x02 /* Public */,
|
||||
|
||||
// slots: parameters
|
||||
QMetaType::Void,
|
||||
|
||||
// methods: parameters
|
||||
QMetaType::Void,
|
||||
0x80000000 | 5, QMetaType::QRect, 2,
|
||||
|
||||
// properties: name, type, flags
|
||||
6, QMetaType::Double, 0x00095103,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void QwtPlotCanvas::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
auto *_t = static_cast<QwtPlotCanvas *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
switch (_id) {
|
||||
case 0: _t->replot(); break;
|
||||
case 1: _t->invalidateBackingStore(); break;
|
||||
case 2: { QPainterPath _r = _t->borderPath((*reinterpret_cast< const QRect(*)>(_a[1])));
|
||||
if (_a[0]) *reinterpret_cast< QPainterPath*>(_a[0]) = std::move(_r); } break;
|
||||
default: ;
|
||||
}
|
||||
}
|
||||
#ifndef QT_NO_PROPERTIES
|
||||
else if (_c == QMetaObject::ReadProperty) {
|
||||
auto *_t = static_cast<QwtPlotCanvas *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
void *_v = _a[0];
|
||||
switch (_id) {
|
||||
case 0: *reinterpret_cast< double*>(_v) = _t->borderRadius(); break;
|
||||
default: break;
|
||||
}
|
||||
} else if (_c == QMetaObject::WriteProperty) {
|
||||
auto *_t = static_cast<QwtPlotCanvas *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
void *_v = _a[0];
|
||||
switch (_id) {
|
||||
case 0: _t->setBorderRadius(*reinterpret_cast< double*>(_v)); break;
|
||||
default: break;
|
||||
}
|
||||
} else if (_c == QMetaObject::ResetProperty) {
|
||||
}
|
||||
#endif // QT_NO_PROPERTIES
|
||||
}
|
||||
|
||||
QT_INIT_METAOBJECT const QMetaObject QwtPlotCanvas::staticMetaObject = { {
|
||||
QMetaObject::SuperData::link<QFrame::staticMetaObject>(),
|
||||
qt_meta_stringdata_QwtPlotCanvas.data,
|
||||
qt_meta_data_QwtPlotCanvas,
|
||||
qt_static_metacall,
|
||||
nullptr,
|
||||
nullptr
|
||||
} };
|
||||
|
||||
|
||||
const QMetaObject *QwtPlotCanvas::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *QwtPlotCanvas::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return nullptr;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_QwtPlotCanvas.stringdata0))
|
||||
return static_cast<void*>(this);
|
||||
if (!strcmp(_clname, "QwtPlotAbstractCanvas"))
|
||||
return static_cast< QwtPlotAbstractCanvas*>(this);
|
||||
return QFrame::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int QwtPlotCanvas::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QFrame::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
if (_id < 3)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 3;
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
if (_id < 3)
|
||||
*reinterpret_cast<int*>(_a[0]) = -1;
|
||||
_id -= 3;
|
||||
}
|
||||
#ifndef QT_NO_PROPERTIES
|
||||
else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
|
||||
|| _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 1;
|
||||
} else if (_c == QMetaObject::QueryPropertyDesignable) {
|
||||
_id -= 1;
|
||||
} else if (_c == QMetaObject::QueryPropertyScriptable) {
|
||||
_id -= 1;
|
||||
} else if (_c == QMetaObject::QueryPropertyStored) {
|
||||
_id -= 1;
|
||||
} else if (_c == QMetaObject::QueryPropertyEditable) {
|
||||
_id -= 1;
|
||||
} else if (_c == QMetaObject::QueryPropertyUser) {
|
||||
_id -= 1;
|
||||
}
|
||||
#endif // QT_NO_PROPERTIES
|
||||
return _id;
|
||||
}
|
||||
QT_WARNING_POP
|
||||
QT_END_MOC_NAMESPACE
|
||||
@@ -0,0 +1,208 @@
|
||||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'qwt_plot_glcanvas.h'
|
||||
**
|
||||
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2)
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost!
|
||||
*****************************************************************************/
|
||||
|
||||
#include <memory>
|
||||
#include "../../src/qwt_plot_glcanvas.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'qwt_plot_glcanvas.h' doesn't include <QObject>."
|
||||
#elif Q_MOC_OUTPUT_REVISION != 67
|
||||
#error "This file was generated using the moc from 5.15.2. It"
|
||||
#error "cannot be used with the include files from this version of Qt."
|
||||
#error "(The moc has changed too much.)"
|
||||
#endif
|
||||
|
||||
QT_BEGIN_MOC_NAMESPACE
|
||||
QT_WARNING_PUSH
|
||||
QT_WARNING_DISABLE_DEPRECATED
|
||||
struct qt_meta_stringdata_QwtPlotGLCanvas_t {
|
||||
QByteArrayData data[15];
|
||||
char stringdata0[180];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_QwtPlotGLCanvas_t, stringdata0) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_QwtPlotGLCanvas_t qt_meta_stringdata_QwtPlotGLCanvas = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 15), // "QwtPlotGLCanvas"
|
||||
QT_MOC_LITERAL(1, 16, 6), // "replot"
|
||||
QT_MOC_LITERAL(2, 23, 0), // ""
|
||||
QT_MOC_LITERAL(3, 24, 22), // "invalidateBackingStore"
|
||||
QT_MOC_LITERAL(4, 47, 10), // "borderPath"
|
||||
QT_MOC_LITERAL(5, 58, 12), // "QPainterPath"
|
||||
QT_MOC_LITERAL(6, 71, 11), // "frameShadow"
|
||||
QT_MOC_LITERAL(7, 83, 14), // "QFrame::Shadow"
|
||||
QT_MOC_LITERAL(8, 98, 10), // "frameShape"
|
||||
QT_MOC_LITERAL(9, 109, 13), // "QFrame::Shape"
|
||||
QT_MOC_LITERAL(10, 123, 9), // "lineWidth"
|
||||
QT_MOC_LITERAL(11, 133, 12), // "midLineWidth"
|
||||
QT_MOC_LITERAL(12, 146, 10), // "frameWidth"
|
||||
QT_MOC_LITERAL(13, 157, 9), // "frameRect"
|
||||
QT_MOC_LITERAL(14, 167, 12) // "borderRadius"
|
||||
|
||||
},
|
||||
"QwtPlotGLCanvas\0replot\0\0invalidateBackingStore\0"
|
||||
"borderPath\0QPainterPath\0frameShadow\0"
|
||||
"QFrame::Shadow\0frameShape\0QFrame::Shape\0"
|
||||
"lineWidth\0midLineWidth\0frameWidth\0"
|
||||
"frameRect\0borderRadius"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_QwtPlotGLCanvas[] = {
|
||||
|
||||
// content:
|
||||
8, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
3, 14, // methods
|
||||
7, 34, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
0, // signalCount
|
||||
|
||||
// slots: name, argc, parameters, tag, flags
|
||||
1, 0, 29, 2, 0x0a /* Public */,
|
||||
|
||||
// methods: name, argc, parameters, tag, flags
|
||||
3, 0, 30, 2, 0x02 /* Public */,
|
||||
4, 1, 31, 2, 0x02 /* Public */,
|
||||
|
||||
// slots: parameters
|
||||
QMetaType::Void,
|
||||
|
||||
// methods: parameters
|
||||
QMetaType::Void,
|
||||
0x80000000 | 5, QMetaType::QRect, 2,
|
||||
|
||||
// properties: name, type, flags
|
||||
6, 0x80000000 | 7, 0x0009510b,
|
||||
8, 0x80000000 | 9, 0x0009510b,
|
||||
10, QMetaType::Int, 0x00095103,
|
||||
11, QMetaType::Int, 0x00095103,
|
||||
12, QMetaType::Int, 0x00095001,
|
||||
13, QMetaType::QRect, 0x00094001,
|
||||
14, QMetaType::Double, 0x00095103,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void QwtPlotGLCanvas::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
auto *_t = static_cast<QwtPlotGLCanvas *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
switch (_id) {
|
||||
case 0: _t->replot(); break;
|
||||
case 1: _t->invalidateBackingStore(); break;
|
||||
case 2: { QPainterPath _r = _t->borderPath((*reinterpret_cast< const QRect(*)>(_a[1])));
|
||||
if (_a[0]) *reinterpret_cast< QPainterPath*>(_a[0]) = std::move(_r); } break;
|
||||
default: ;
|
||||
}
|
||||
}
|
||||
#ifndef QT_NO_PROPERTIES
|
||||
else if (_c == QMetaObject::ReadProperty) {
|
||||
auto *_t = static_cast<QwtPlotGLCanvas *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
void *_v = _a[0];
|
||||
switch (_id) {
|
||||
case 0: *reinterpret_cast< QFrame::Shadow*>(_v) = _t->frameShadow(); break;
|
||||
case 1: *reinterpret_cast< QFrame::Shape*>(_v) = _t->frameShape(); break;
|
||||
case 2: *reinterpret_cast< int*>(_v) = _t->lineWidth(); break;
|
||||
case 3: *reinterpret_cast< int*>(_v) = _t->midLineWidth(); break;
|
||||
case 4: *reinterpret_cast< int*>(_v) = _t->frameWidth(); break;
|
||||
case 5: *reinterpret_cast< QRect*>(_v) = _t->frameRect(); break;
|
||||
case 6: *reinterpret_cast< double*>(_v) = _t->borderRadius(); break;
|
||||
default: break;
|
||||
}
|
||||
} else if (_c == QMetaObject::WriteProperty) {
|
||||
auto *_t = static_cast<QwtPlotGLCanvas *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
void *_v = _a[0];
|
||||
switch (_id) {
|
||||
case 0: _t->setFrameShadow(*reinterpret_cast< QFrame::Shadow*>(_v)); break;
|
||||
case 1: _t->setFrameShape(*reinterpret_cast< QFrame::Shape*>(_v)); break;
|
||||
case 2: _t->setLineWidth(*reinterpret_cast< int*>(_v)); break;
|
||||
case 3: _t->setMidLineWidth(*reinterpret_cast< int*>(_v)); break;
|
||||
case 6: _t->setBorderRadius(*reinterpret_cast< double*>(_v)); break;
|
||||
default: break;
|
||||
}
|
||||
} else if (_c == QMetaObject::ResetProperty) {
|
||||
}
|
||||
#endif // QT_NO_PROPERTIES
|
||||
}
|
||||
|
||||
static const QMetaObject::SuperData qt_meta_extradata_QwtPlotGLCanvas[] = {
|
||||
QMetaObject::SuperData::link<QFrame::staticMetaObject>(),
|
||||
nullptr
|
||||
};
|
||||
|
||||
QT_INIT_METAOBJECT const QMetaObject QwtPlotGLCanvas::staticMetaObject = { {
|
||||
QMetaObject::SuperData::link<QGLWidget::staticMetaObject>(),
|
||||
qt_meta_stringdata_QwtPlotGLCanvas.data,
|
||||
qt_meta_data_QwtPlotGLCanvas,
|
||||
qt_static_metacall,
|
||||
qt_meta_extradata_QwtPlotGLCanvas,
|
||||
nullptr
|
||||
} };
|
||||
|
||||
|
||||
const QMetaObject *QwtPlotGLCanvas::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *QwtPlotGLCanvas::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return nullptr;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_QwtPlotGLCanvas.stringdata0))
|
||||
return static_cast<void*>(this);
|
||||
if (!strcmp(_clname, "QwtPlotAbstractGLCanvas"))
|
||||
return static_cast< QwtPlotAbstractGLCanvas*>(this);
|
||||
return QGLWidget::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int QwtPlotGLCanvas::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QGLWidget::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
if (_id < 3)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 3;
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
if (_id < 3)
|
||||
*reinterpret_cast<int*>(_a[0]) = -1;
|
||||
_id -= 3;
|
||||
}
|
||||
#ifndef QT_NO_PROPERTIES
|
||||
else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
|
||||
|| _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 7;
|
||||
} else if (_c == QMetaObject::QueryPropertyDesignable) {
|
||||
_id -= 7;
|
||||
} else if (_c == QMetaObject::QueryPropertyScriptable) {
|
||||
_id -= 7;
|
||||
} else if (_c == QMetaObject::QueryPropertyStored) {
|
||||
_id -= 7;
|
||||
} else if (_c == QMetaObject::QueryPropertyEditable) {
|
||||
_id -= 7;
|
||||
} else if (_c == QMetaObject::QueryPropertyUser) {
|
||||
_id -= 7;
|
||||
}
|
||||
#endif // QT_NO_PROPERTIES
|
||||
return _id;
|
||||
}
|
||||
QT_WARNING_POP
|
||||
QT_END_MOC_NAMESPACE
|
||||
@@ -0,0 +1,119 @@
|
||||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'qwt_plot_magnifier.h'
|
||||
**
|
||||
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2)
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost!
|
||||
*****************************************************************************/
|
||||
|
||||
#include <memory>
|
||||
#include "../../src/qwt_plot_magnifier.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'qwt_plot_magnifier.h' doesn't include <QObject>."
|
||||
#elif Q_MOC_OUTPUT_REVISION != 67
|
||||
#error "This file was generated using the moc from 5.15.2. It"
|
||||
#error "cannot be used with the include files from this version of Qt."
|
||||
#error "(The moc has changed too much.)"
|
||||
#endif
|
||||
|
||||
QT_BEGIN_MOC_NAMESPACE
|
||||
QT_WARNING_PUSH
|
||||
QT_WARNING_DISABLE_DEPRECATED
|
||||
struct qt_meta_stringdata_QwtPlotMagnifier_t {
|
||||
QByteArrayData data[4];
|
||||
char stringdata0[33];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_QwtPlotMagnifier_t, stringdata0) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_QwtPlotMagnifier_t qt_meta_stringdata_QwtPlotMagnifier = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 16), // "QwtPlotMagnifier"
|
||||
QT_MOC_LITERAL(1, 17, 7), // "rescale"
|
||||
QT_MOC_LITERAL(2, 25, 0), // ""
|
||||
QT_MOC_LITERAL(3, 26, 6) // "factor"
|
||||
|
||||
},
|
||||
"QwtPlotMagnifier\0rescale\0\0factor"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_QwtPlotMagnifier[] = {
|
||||
|
||||
// content:
|
||||
8, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
1, 14, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
0, // signalCount
|
||||
|
||||
// slots: name, argc, parameters, tag, flags
|
||||
1, 1, 19, 2, 0x0a /* Public */,
|
||||
|
||||
// slots: parameters
|
||||
QMetaType::Void, QMetaType::Double, 3,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void QwtPlotMagnifier::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
auto *_t = static_cast<QwtPlotMagnifier *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
switch (_id) {
|
||||
case 0: _t->rescale((*reinterpret_cast< double(*)>(_a[1]))); break;
|
||||
default: ;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
QT_INIT_METAOBJECT const QMetaObject QwtPlotMagnifier::staticMetaObject = { {
|
||||
QMetaObject::SuperData::link<QwtMagnifier::staticMetaObject>(),
|
||||
qt_meta_stringdata_QwtPlotMagnifier.data,
|
||||
qt_meta_data_QwtPlotMagnifier,
|
||||
qt_static_metacall,
|
||||
nullptr,
|
||||
nullptr
|
||||
} };
|
||||
|
||||
|
||||
const QMetaObject *QwtPlotMagnifier::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *QwtPlotMagnifier::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return nullptr;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_QwtPlotMagnifier.stringdata0))
|
||||
return static_cast<void*>(this);
|
||||
return QwtMagnifier::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int QwtPlotMagnifier::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QwtMagnifier::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
if (_id < 1)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 1;
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
if (_id < 1)
|
||||
*reinterpret_cast<int*>(_a[0]) = -1;
|
||||
_id -= 1;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
QT_WARNING_POP
|
||||
QT_END_MOC_NAMESPACE
|
||||
@@ -0,0 +1,209 @@
|
||||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'qwt_plot_opengl_canvas.h'
|
||||
**
|
||||
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2)
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost!
|
||||
*****************************************************************************/
|
||||
|
||||
#include <memory>
|
||||
#include "../../src/qwt_plot_opengl_canvas.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'qwt_plot_opengl_canvas.h' doesn't include <QObject>."
|
||||
#elif Q_MOC_OUTPUT_REVISION != 67
|
||||
#error "This file was generated using the moc from 5.15.2. It"
|
||||
#error "cannot be used with the include files from this version of Qt."
|
||||
#error "(The moc has changed too much.)"
|
||||
#endif
|
||||
|
||||
QT_BEGIN_MOC_NAMESPACE
|
||||
QT_WARNING_PUSH
|
||||
QT_WARNING_DISABLE_DEPRECATED
|
||||
struct qt_meta_stringdata_QwtPlotOpenGLCanvas_t {
|
||||
QByteArrayData data[15];
|
||||
char stringdata0[184];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_QwtPlotOpenGLCanvas_t, stringdata0) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_QwtPlotOpenGLCanvas_t qt_meta_stringdata_QwtPlotOpenGLCanvas = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 19), // "QwtPlotOpenGLCanvas"
|
||||
QT_MOC_LITERAL(1, 20, 6), // "replot"
|
||||
QT_MOC_LITERAL(2, 27, 0), // ""
|
||||
QT_MOC_LITERAL(3, 28, 22), // "invalidateBackingStore"
|
||||
QT_MOC_LITERAL(4, 51, 10), // "borderPath"
|
||||
QT_MOC_LITERAL(5, 62, 12), // "QPainterPath"
|
||||
QT_MOC_LITERAL(6, 75, 11), // "frameShadow"
|
||||
QT_MOC_LITERAL(7, 87, 14), // "QFrame::Shadow"
|
||||
QT_MOC_LITERAL(8, 102, 10), // "frameShape"
|
||||
QT_MOC_LITERAL(9, 113, 13), // "QFrame::Shape"
|
||||
QT_MOC_LITERAL(10, 127, 9), // "lineWidth"
|
||||
QT_MOC_LITERAL(11, 137, 12), // "midLineWidth"
|
||||
QT_MOC_LITERAL(12, 150, 10), // "frameWidth"
|
||||
QT_MOC_LITERAL(13, 161, 9), // "frameRect"
|
||||
QT_MOC_LITERAL(14, 171, 12) // "borderRadius"
|
||||
|
||||
},
|
||||
"QwtPlotOpenGLCanvas\0replot\0\0"
|
||||
"invalidateBackingStore\0borderPath\0"
|
||||
"QPainterPath\0frameShadow\0QFrame::Shadow\0"
|
||||
"frameShape\0QFrame::Shape\0lineWidth\0"
|
||||
"midLineWidth\0frameWidth\0frameRect\0"
|
||||
"borderRadius"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_QwtPlotOpenGLCanvas[] = {
|
||||
|
||||
// content:
|
||||
8, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
3, 14, // methods
|
||||
7, 34, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
0, // signalCount
|
||||
|
||||
// slots: name, argc, parameters, tag, flags
|
||||
1, 0, 29, 2, 0x0a /* Public */,
|
||||
|
||||
// methods: name, argc, parameters, tag, flags
|
||||
3, 0, 30, 2, 0x02 /* Public */,
|
||||
4, 1, 31, 2, 0x02 /* Public */,
|
||||
|
||||
// slots: parameters
|
||||
QMetaType::Void,
|
||||
|
||||
// methods: parameters
|
||||
QMetaType::Void,
|
||||
0x80000000 | 5, QMetaType::QRect, 2,
|
||||
|
||||
// properties: name, type, flags
|
||||
6, 0x80000000 | 7, 0x0009510b,
|
||||
8, 0x80000000 | 9, 0x0009510b,
|
||||
10, QMetaType::Int, 0x00095103,
|
||||
11, QMetaType::Int, 0x00095103,
|
||||
12, QMetaType::Int, 0x00095001,
|
||||
13, QMetaType::QRect, 0x00094001,
|
||||
14, QMetaType::Double, 0x00095103,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void QwtPlotOpenGLCanvas::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
auto *_t = static_cast<QwtPlotOpenGLCanvas *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
switch (_id) {
|
||||
case 0: _t->replot(); break;
|
||||
case 1: _t->invalidateBackingStore(); break;
|
||||
case 2: { QPainterPath _r = _t->borderPath((*reinterpret_cast< const QRect(*)>(_a[1])));
|
||||
if (_a[0]) *reinterpret_cast< QPainterPath*>(_a[0]) = std::move(_r); } break;
|
||||
default: ;
|
||||
}
|
||||
}
|
||||
#ifndef QT_NO_PROPERTIES
|
||||
else if (_c == QMetaObject::ReadProperty) {
|
||||
auto *_t = static_cast<QwtPlotOpenGLCanvas *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
void *_v = _a[0];
|
||||
switch (_id) {
|
||||
case 0: *reinterpret_cast< QFrame::Shadow*>(_v) = _t->frameShadow(); break;
|
||||
case 1: *reinterpret_cast< QFrame::Shape*>(_v) = _t->frameShape(); break;
|
||||
case 2: *reinterpret_cast< int*>(_v) = _t->lineWidth(); break;
|
||||
case 3: *reinterpret_cast< int*>(_v) = _t->midLineWidth(); break;
|
||||
case 4: *reinterpret_cast< int*>(_v) = _t->frameWidth(); break;
|
||||
case 5: *reinterpret_cast< QRect*>(_v) = _t->frameRect(); break;
|
||||
case 6: *reinterpret_cast< double*>(_v) = _t->borderRadius(); break;
|
||||
default: break;
|
||||
}
|
||||
} else if (_c == QMetaObject::WriteProperty) {
|
||||
auto *_t = static_cast<QwtPlotOpenGLCanvas *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
void *_v = _a[0];
|
||||
switch (_id) {
|
||||
case 0: _t->setFrameShadow(*reinterpret_cast< QFrame::Shadow*>(_v)); break;
|
||||
case 1: _t->setFrameShape(*reinterpret_cast< QFrame::Shape*>(_v)); break;
|
||||
case 2: _t->setLineWidth(*reinterpret_cast< int*>(_v)); break;
|
||||
case 3: _t->setMidLineWidth(*reinterpret_cast< int*>(_v)); break;
|
||||
case 6: _t->setBorderRadius(*reinterpret_cast< double*>(_v)); break;
|
||||
default: break;
|
||||
}
|
||||
} else if (_c == QMetaObject::ResetProperty) {
|
||||
}
|
||||
#endif // QT_NO_PROPERTIES
|
||||
}
|
||||
|
||||
static const QMetaObject::SuperData qt_meta_extradata_QwtPlotOpenGLCanvas[] = {
|
||||
QMetaObject::SuperData::link<QFrame::staticMetaObject>(),
|
||||
nullptr
|
||||
};
|
||||
|
||||
QT_INIT_METAOBJECT const QMetaObject QwtPlotOpenGLCanvas::staticMetaObject = { {
|
||||
QMetaObject::SuperData::link<QOpenGLWidget::staticMetaObject>(),
|
||||
qt_meta_stringdata_QwtPlotOpenGLCanvas.data,
|
||||
qt_meta_data_QwtPlotOpenGLCanvas,
|
||||
qt_static_metacall,
|
||||
qt_meta_extradata_QwtPlotOpenGLCanvas,
|
||||
nullptr
|
||||
} };
|
||||
|
||||
|
||||
const QMetaObject *QwtPlotOpenGLCanvas::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *QwtPlotOpenGLCanvas::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return nullptr;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_QwtPlotOpenGLCanvas.stringdata0))
|
||||
return static_cast<void*>(this);
|
||||
if (!strcmp(_clname, "QwtPlotAbstractGLCanvas"))
|
||||
return static_cast< QwtPlotAbstractGLCanvas*>(this);
|
||||
return QOpenGLWidget::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int QwtPlotOpenGLCanvas::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QOpenGLWidget::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
if (_id < 3)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 3;
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
if (_id < 3)
|
||||
*reinterpret_cast<int*>(_a[0]) = -1;
|
||||
_id -= 3;
|
||||
}
|
||||
#ifndef QT_NO_PROPERTIES
|
||||
else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
|
||||
|| _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 7;
|
||||
} else if (_c == QMetaObject::QueryPropertyDesignable) {
|
||||
_id -= 7;
|
||||
} else if (_c == QMetaObject::QueryPropertyScriptable) {
|
||||
_id -= 7;
|
||||
} else if (_c == QMetaObject::QueryPropertyStored) {
|
||||
_id -= 7;
|
||||
} else if (_c == QMetaObject::QueryPropertyEditable) {
|
||||
_id -= 7;
|
||||
} else if (_c == QMetaObject::QueryPropertyUser) {
|
||||
_id -= 7;
|
||||
}
|
||||
#endif // QT_NO_PROPERTIES
|
||||
return _id;
|
||||
}
|
||||
QT_WARNING_POP
|
||||
QT_END_MOC_NAMESPACE
|
||||
@@ -0,0 +1,120 @@
|
||||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'qwt_plot_panner.h'
|
||||
**
|
||||
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2)
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost!
|
||||
*****************************************************************************/
|
||||
|
||||
#include <memory>
|
||||
#include "../../src/qwt_plot_panner.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'qwt_plot_panner.h' doesn't include <QObject>."
|
||||
#elif Q_MOC_OUTPUT_REVISION != 67
|
||||
#error "This file was generated using the moc from 5.15.2. It"
|
||||
#error "cannot be used with the include files from this version of Qt."
|
||||
#error "(The moc has changed too much.)"
|
||||
#endif
|
||||
|
||||
QT_BEGIN_MOC_NAMESPACE
|
||||
QT_WARNING_PUSH
|
||||
QT_WARNING_DISABLE_DEPRECATED
|
||||
struct qt_meta_stringdata_QwtPlotPanner_t {
|
||||
QByteArrayData data[5];
|
||||
char stringdata0[32];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_QwtPlotPanner_t, stringdata0) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_QwtPlotPanner_t qt_meta_stringdata_QwtPlotPanner = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 13), // "QwtPlotPanner"
|
||||
QT_MOC_LITERAL(1, 14, 10), // "moveCanvas"
|
||||
QT_MOC_LITERAL(2, 25, 0), // ""
|
||||
QT_MOC_LITERAL(3, 26, 2), // "dx"
|
||||
QT_MOC_LITERAL(4, 29, 2) // "dy"
|
||||
|
||||
},
|
||||
"QwtPlotPanner\0moveCanvas\0\0dx\0dy"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_QwtPlotPanner[] = {
|
||||
|
||||
// content:
|
||||
8, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
1, 14, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
0, // signalCount
|
||||
|
||||
// slots: name, argc, parameters, tag, flags
|
||||
1, 2, 19, 2, 0x0a /* Public */,
|
||||
|
||||
// slots: parameters
|
||||
QMetaType::Void, QMetaType::Int, QMetaType::Int, 3, 4,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void QwtPlotPanner::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
auto *_t = static_cast<QwtPlotPanner *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
switch (_id) {
|
||||
case 0: _t->moveCanvas((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
|
||||
default: ;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
QT_INIT_METAOBJECT const QMetaObject QwtPlotPanner::staticMetaObject = { {
|
||||
QMetaObject::SuperData::link<QwtPanner::staticMetaObject>(),
|
||||
qt_meta_stringdata_QwtPlotPanner.data,
|
||||
qt_meta_data_QwtPlotPanner,
|
||||
qt_static_metacall,
|
||||
nullptr,
|
||||
nullptr
|
||||
} };
|
||||
|
||||
|
||||
const QMetaObject *QwtPlotPanner::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *QwtPlotPanner::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return nullptr;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_QwtPlotPanner.stringdata0))
|
||||
return static_cast<void*>(this);
|
||||
return QwtPanner::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int QwtPlotPanner::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QwtPanner::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
if (_id < 1)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 1;
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
if (_id < 1)
|
||||
*reinterpret_cast<int*>(_a[0]) = -1;
|
||||
_id -= 1;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
QT_WARNING_POP
|
||||
QT_END_MOC_NAMESPACE
|
||||
@@ -0,0 +1,221 @@
|
||||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'qwt_plot_picker.h'
|
||||
**
|
||||
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2)
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost!
|
||||
*****************************************************************************/
|
||||
|
||||
#include <memory>
|
||||
#include "../../src/qwt_plot_picker.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#include <QtCore/QVector>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'qwt_plot_picker.h' doesn't include <QObject>."
|
||||
#elif Q_MOC_OUTPUT_REVISION != 67
|
||||
#error "This file was generated using the moc from 5.15.2. It"
|
||||
#error "cannot be used with the include files from this version of Qt."
|
||||
#error "(The moc has changed too much.)"
|
||||
#endif
|
||||
|
||||
QT_BEGIN_MOC_NAMESPACE
|
||||
QT_WARNING_PUSH
|
||||
QT_WARNING_DISABLE_DEPRECATED
|
||||
struct qt_meta_stringdata_QwtPlotPicker_t {
|
||||
QByteArrayData data[9];
|
||||
char stringdata0[68];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_QwtPlotPicker_t, stringdata0) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_QwtPlotPicker_t qt_meta_stringdata_QwtPlotPicker = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 13), // "QwtPlotPicker"
|
||||
QT_MOC_LITERAL(1, 14, 8), // "selected"
|
||||
QT_MOC_LITERAL(2, 23, 0), // ""
|
||||
QT_MOC_LITERAL(3, 24, 3), // "pos"
|
||||
QT_MOC_LITERAL(4, 28, 4), // "rect"
|
||||
QT_MOC_LITERAL(5, 33, 16), // "QVector<QPointF>"
|
||||
QT_MOC_LITERAL(6, 50, 2), // "pa"
|
||||
QT_MOC_LITERAL(7, 53, 8), // "appended"
|
||||
QT_MOC_LITERAL(8, 62, 5) // "moved"
|
||||
|
||||
},
|
||||
"QwtPlotPicker\0selected\0\0pos\0rect\0"
|
||||
"QVector<QPointF>\0pa\0appended\0moved"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_QwtPlotPicker[] = {
|
||||
|
||||
// content:
|
||||
8, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
5, 14, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
5, // signalCount
|
||||
|
||||
// signals: name, argc, parameters, tag, flags
|
||||
1, 1, 39, 2, 0x06 /* Public */,
|
||||
1, 1, 42, 2, 0x06 /* Public */,
|
||||
1, 1, 45, 2, 0x06 /* Public */,
|
||||
7, 1, 48, 2, 0x06 /* Public */,
|
||||
8, 1, 51, 2, 0x06 /* Public */,
|
||||
|
||||
// signals: parameters
|
||||
QMetaType::Void, QMetaType::QPointF, 3,
|
||||
QMetaType::Void, QMetaType::QRectF, 4,
|
||||
QMetaType::Void, 0x80000000 | 5, 6,
|
||||
QMetaType::Void, QMetaType::QPointF, 3,
|
||||
QMetaType::Void, QMetaType::QPointF, 3,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void QwtPlotPicker::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
auto *_t = static_cast<QwtPlotPicker *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
switch (_id) {
|
||||
case 0: _t->selected((*reinterpret_cast< const QPointF(*)>(_a[1]))); break;
|
||||
case 1: _t->selected((*reinterpret_cast< const QRectF(*)>(_a[1]))); break;
|
||||
case 2: _t->selected((*reinterpret_cast< const QVector<QPointF>(*)>(_a[1]))); break;
|
||||
case 3: _t->appended((*reinterpret_cast< const QPointF(*)>(_a[1]))); break;
|
||||
case 4: _t->moved((*reinterpret_cast< const QPointF(*)>(_a[1]))); break;
|
||||
default: ;
|
||||
}
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
switch (_id) {
|
||||
default: *reinterpret_cast<int*>(_a[0]) = -1; break;
|
||||
case 2:
|
||||
switch (*reinterpret_cast<int*>(_a[1])) {
|
||||
default: *reinterpret_cast<int*>(_a[0]) = -1; break;
|
||||
case 0:
|
||||
*reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QVector<QPointF> >(); break;
|
||||
}
|
||||
break;
|
||||
}
|
||||
} else if (_c == QMetaObject::IndexOfMethod) {
|
||||
int *result = reinterpret_cast<int *>(_a[0]);
|
||||
{
|
||||
using _t = void (QwtPlotPicker::*)(const QPointF & );
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QwtPlotPicker::selected)) {
|
||||
*result = 0;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
using _t = void (QwtPlotPicker::*)(const QRectF & );
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QwtPlotPicker::selected)) {
|
||||
*result = 1;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
using _t = void (QwtPlotPicker::*)(const QVector<QPointF> & );
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QwtPlotPicker::selected)) {
|
||||
*result = 2;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
using _t = void (QwtPlotPicker::*)(const QPointF & );
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QwtPlotPicker::appended)) {
|
||||
*result = 3;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
using _t = void (QwtPlotPicker::*)(const QPointF & );
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QwtPlotPicker::moved)) {
|
||||
*result = 4;
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
QT_INIT_METAOBJECT const QMetaObject QwtPlotPicker::staticMetaObject = { {
|
||||
QMetaObject::SuperData::link<QwtPicker::staticMetaObject>(),
|
||||
qt_meta_stringdata_QwtPlotPicker.data,
|
||||
qt_meta_data_QwtPlotPicker,
|
||||
qt_static_metacall,
|
||||
nullptr,
|
||||
nullptr
|
||||
} };
|
||||
|
||||
|
||||
const QMetaObject *QwtPlotPicker::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *QwtPlotPicker::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return nullptr;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_QwtPlotPicker.stringdata0))
|
||||
return static_cast<void*>(this);
|
||||
return QwtPicker::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int QwtPlotPicker::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QwtPicker::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
if (_id < 5)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 5;
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
if (_id < 5)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 5;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
|
||||
// SIGNAL 0
|
||||
void QwtPlotPicker::selected(const QPointF & _t1)
|
||||
{
|
||||
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 0, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 1
|
||||
void QwtPlotPicker::selected(const QRectF & _t1)
|
||||
{
|
||||
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 1, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 2
|
||||
void QwtPlotPicker::selected(const QVector<QPointF> & _t1)
|
||||
{
|
||||
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 2, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 3
|
||||
void QwtPlotPicker::appended(const QPointF & _t1)
|
||||
{
|
||||
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 3, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 4
|
||||
void QwtPlotPicker::moved(const QPointF & _t1)
|
||||
{
|
||||
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 4, _a);
|
||||
}
|
||||
QT_WARNING_POP
|
||||
QT_END_MOC_NAMESPACE
|
||||
@@ -0,0 +1,95 @@
|
||||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'qwt_plot_renderer.h'
|
||||
**
|
||||
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2)
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost!
|
||||
*****************************************************************************/
|
||||
|
||||
#include <memory>
|
||||
#include "../../src/qwt_plot_renderer.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'qwt_plot_renderer.h' doesn't include <QObject>."
|
||||
#elif Q_MOC_OUTPUT_REVISION != 67
|
||||
#error "This file was generated using the moc from 5.15.2. It"
|
||||
#error "cannot be used with the include files from this version of Qt."
|
||||
#error "(The moc has changed too much.)"
|
||||
#endif
|
||||
|
||||
QT_BEGIN_MOC_NAMESPACE
|
||||
QT_WARNING_PUSH
|
||||
QT_WARNING_DISABLE_DEPRECATED
|
||||
struct qt_meta_stringdata_QwtPlotRenderer_t {
|
||||
QByteArrayData data[1];
|
||||
char stringdata0[16];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_QwtPlotRenderer_t, stringdata0) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_QwtPlotRenderer_t qt_meta_stringdata_QwtPlotRenderer = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 15) // "QwtPlotRenderer"
|
||||
|
||||
},
|
||||
"QwtPlotRenderer"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_QwtPlotRenderer[] = {
|
||||
|
||||
// content:
|
||||
8, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
0, 0, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
0, // signalCount
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void QwtPlotRenderer::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
Q_UNUSED(_o);
|
||||
Q_UNUSED(_id);
|
||||
Q_UNUSED(_c);
|
||||
Q_UNUSED(_a);
|
||||
}
|
||||
|
||||
QT_INIT_METAOBJECT const QMetaObject QwtPlotRenderer::staticMetaObject = { {
|
||||
QMetaObject::SuperData::link<QObject::staticMetaObject>(),
|
||||
qt_meta_stringdata_QwtPlotRenderer.data,
|
||||
qt_meta_data_QwtPlotRenderer,
|
||||
qt_static_metacall,
|
||||
nullptr,
|
||||
nullptr
|
||||
} };
|
||||
|
||||
|
||||
const QMetaObject *QwtPlotRenderer::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *QwtPlotRenderer::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return nullptr;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_QwtPlotRenderer.stringdata0))
|
||||
return static_cast<void*>(this);
|
||||
return QObject::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int QwtPlotRenderer::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QObject::qt_metacall(_c, _id, _a);
|
||||
return _id;
|
||||
}
|
||||
QT_WARNING_POP
|
||||
QT_END_MOC_NAMESPACE
|
||||
@@ -0,0 +1,95 @@
|
||||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'qwt_plot_rescaler.h'
|
||||
**
|
||||
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2)
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost!
|
||||
*****************************************************************************/
|
||||
|
||||
#include <memory>
|
||||
#include "../../src/qwt_plot_rescaler.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'qwt_plot_rescaler.h' doesn't include <QObject>."
|
||||
#elif Q_MOC_OUTPUT_REVISION != 67
|
||||
#error "This file was generated using the moc from 5.15.2. It"
|
||||
#error "cannot be used with the include files from this version of Qt."
|
||||
#error "(The moc has changed too much.)"
|
||||
#endif
|
||||
|
||||
QT_BEGIN_MOC_NAMESPACE
|
||||
QT_WARNING_PUSH
|
||||
QT_WARNING_DISABLE_DEPRECATED
|
||||
struct qt_meta_stringdata_QwtPlotRescaler_t {
|
||||
QByteArrayData data[1];
|
||||
char stringdata0[16];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_QwtPlotRescaler_t, stringdata0) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_QwtPlotRescaler_t qt_meta_stringdata_QwtPlotRescaler = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 15) // "QwtPlotRescaler"
|
||||
|
||||
},
|
||||
"QwtPlotRescaler"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_QwtPlotRescaler[] = {
|
||||
|
||||
// content:
|
||||
8, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
0, 0, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
0, // signalCount
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void QwtPlotRescaler::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
Q_UNUSED(_o);
|
||||
Q_UNUSED(_id);
|
||||
Q_UNUSED(_c);
|
||||
Q_UNUSED(_a);
|
||||
}
|
||||
|
||||
QT_INIT_METAOBJECT const QMetaObject QwtPlotRescaler::staticMetaObject = { {
|
||||
QMetaObject::SuperData::link<QObject::staticMetaObject>(),
|
||||
qt_meta_stringdata_QwtPlotRescaler.data,
|
||||
qt_meta_data_QwtPlotRescaler,
|
||||
qt_static_metacall,
|
||||
nullptr,
|
||||
nullptr
|
||||
} };
|
||||
|
||||
|
||||
const QMetaObject *QwtPlotRescaler::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *QwtPlotRescaler::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return nullptr;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_QwtPlotRescaler.stringdata0))
|
||||
return static_cast<void*>(this);
|
||||
return QObject::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int QwtPlotRescaler::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QObject::qt_metacall(_c, _id, _a);
|
||||
return _id;
|
||||
}
|
||||
QT_WARNING_POP
|
||||
QT_END_MOC_NAMESPACE
|
||||
@@ -0,0 +1,158 @@
|
||||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'qwt_plot_zoomer.h'
|
||||
**
|
||||
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2)
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost!
|
||||
*****************************************************************************/
|
||||
|
||||
#include <memory>
|
||||
#include "../../src/qwt_plot_zoomer.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'qwt_plot_zoomer.h' doesn't include <QObject>."
|
||||
#elif Q_MOC_OUTPUT_REVISION != 67
|
||||
#error "This file was generated using the moc from 5.15.2. It"
|
||||
#error "cannot be used with the include files from this version of Qt."
|
||||
#error "(The moc has changed too much.)"
|
||||
#endif
|
||||
|
||||
QT_BEGIN_MOC_NAMESPACE
|
||||
QT_WARNING_PUSH
|
||||
QT_WARNING_DISABLE_DEPRECATED
|
||||
struct qt_meta_stringdata_QwtPlotZoomer_t {
|
||||
QByteArrayData data[10];
|
||||
char stringdata0[59];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_QwtPlotZoomer_t, stringdata0) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_QwtPlotZoomer_t qt_meta_stringdata_QwtPlotZoomer = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 13), // "QwtPlotZoomer"
|
||||
QT_MOC_LITERAL(1, 14, 6), // "zoomed"
|
||||
QT_MOC_LITERAL(2, 21, 0), // ""
|
||||
QT_MOC_LITERAL(3, 22, 4), // "rect"
|
||||
QT_MOC_LITERAL(4, 27, 6), // "moveBy"
|
||||
QT_MOC_LITERAL(5, 34, 2), // "dx"
|
||||
QT_MOC_LITERAL(6, 37, 2), // "dy"
|
||||
QT_MOC_LITERAL(7, 40, 6), // "moveTo"
|
||||
QT_MOC_LITERAL(8, 47, 4), // "zoom"
|
||||
QT_MOC_LITERAL(9, 52, 6) // "offset"
|
||||
|
||||
},
|
||||
"QwtPlotZoomer\0zoomed\0\0rect\0moveBy\0dx\0"
|
||||
"dy\0moveTo\0zoom\0offset"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_QwtPlotZoomer[] = {
|
||||
|
||||
// content:
|
||||
8, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
5, 14, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
1, // signalCount
|
||||
|
||||
// signals: name, argc, parameters, tag, flags
|
||||
1, 1, 39, 2, 0x06 /* Public */,
|
||||
|
||||
// slots: name, argc, parameters, tag, flags
|
||||
4, 2, 42, 2, 0x0a /* Public */,
|
||||
7, 1, 47, 2, 0x0a /* Public */,
|
||||
8, 1, 50, 2, 0x0a /* Public */,
|
||||
8, 1, 53, 2, 0x0a /* Public */,
|
||||
|
||||
// signals: parameters
|
||||
QMetaType::Void, QMetaType::QRectF, 3,
|
||||
|
||||
// slots: parameters
|
||||
QMetaType::Void, QMetaType::Double, QMetaType::Double, 5, 6,
|
||||
QMetaType::Void, QMetaType::QPointF, 2,
|
||||
QMetaType::Void, QMetaType::QRectF, 2,
|
||||
QMetaType::Void, QMetaType::Int, 9,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void QwtPlotZoomer::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
auto *_t = static_cast<QwtPlotZoomer *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
switch (_id) {
|
||||
case 0: _t->zoomed((*reinterpret_cast< const QRectF(*)>(_a[1]))); break;
|
||||
case 1: _t->moveBy((*reinterpret_cast< double(*)>(_a[1])),(*reinterpret_cast< double(*)>(_a[2]))); break;
|
||||
case 2: _t->moveTo((*reinterpret_cast< const QPointF(*)>(_a[1]))); break;
|
||||
case 3: _t->zoom((*reinterpret_cast< const QRectF(*)>(_a[1]))); break;
|
||||
case 4: _t->zoom((*reinterpret_cast< int(*)>(_a[1]))); break;
|
||||
default: ;
|
||||
}
|
||||
} else if (_c == QMetaObject::IndexOfMethod) {
|
||||
int *result = reinterpret_cast<int *>(_a[0]);
|
||||
{
|
||||
using _t = void (QwtPlotZoomer::*)(const QRectF & );
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QwtPlotZoomer::zoomed)) {
|
||||
*result = 0;
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
QT_INIT_METAOBJECT const QMetaObject QwtPlotZoomer::staticMetaObject = { {
|
||||
QMetaObject::SuperData::link<QwtPlotPicker::staticMetaObject>(),
|
||||
qt_meta_stringdata_QwtPlotZoomer.data,
|
||||
qt_meta_data_QwtPlotZoomer,
|
||||
qt_static_metacall,
|
||||
nullptr,
|
||||
nullptr
|
||||
} };
|
||||
|
||||
|
||||
const QMetaObject *QwtPlotZoomer::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *QwtPlotZoomer::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return nullptr;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_QwtPlotZoomer.stringdata0))
|
||||
return static_cast<void*>(this);
|
||||
return QwtPlotPicker::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int QwtPlotZoomer::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QwtPlotPicker::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
if (_id < 5)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 5;
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
if (_id < 5)
|
||||
*reinterpret_cast<int*>(_a[0]) = -1;
|
||||
_id -= 5;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
|
||||
// SIGNAL 0
|
||||
void QwtPlotZoomer::zoomed(const QRectF & _t1)
|
||||
{
|
||||
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 0, _a);
|
||||
}
|
||||
QT_WARNING_POP
|
||||
QT_END_MOC_NAMESPACE
|
||||
@@ -0,0 +1,95 @@
|
||||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'qwt_polar_canvas.h'
|
||||
**
|
||||
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2)
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost!
|
||||
*****************************************************************************/
|
||||
|
||||
#include <memory>
|
||||
#include "../../src/qwt_polar_canvas.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'qwt_polar_canvas.h' doesn't include <QObject>."
|
||||
#elif Q_MOC_OUTPUT_REVISION != 67
|
||||
#error "This file was generated using the moc from 5.15.2. It"
|
||||
#error "cannot be used with the include files from this version of Qt."
|
||||
#error "(The moc has changed too much.)"
|
||||
#endif
|
||||
|
||||
QT_BEGIN_MOC_NAMESPACE
|
||||
QT_WARNING_PUSH
|
||||
QT_WARNING_DISABLE_DEPRECATED
|
||||
struct qt_meta_stringdata_QwtPolarCanvas_t {
|
||||
QByteArrayData data[1];
|
||||
char stringdata0[15];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_QwtPolarCanvas_t, stringdata0) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_QwtPolarCanvas_t qt_meta_stringdata_QwtPolarCanvas = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 14) // "QwtPolarCanvas"
|
||||
|
||||
},
|
||||
"QwtPolarCanvas"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_QwtPolarCanvas[] = {
|
||||
|
||||
// content:
|
||||
8, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
0, 0, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
0, // signalCount
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void QwtPolarCanvas::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
Q_UNUSED(_o);
|
||||
Q_UNUSED(_id);
|
||||
Q_UNUSED(_c);
|
||||
Q_UNUSED(_a);
|
||||
}
|
||||
|
||||
QT_INIT_METAOBJECT const QMetaObject QwtPolarCanvas::staticMetaObject = { {
|
||||
QMetaObject::SuperData::link<QFrame::staticMetaObject>(),
|
||||
qt_meta_stringdata_QwtPolarCanvas.data,
|
||||
qt_meta_data_QwtPolarCanvas,
|
||||
qt_static_metacall,
|
||||
nullptr,
|
||||
nullptr
|
||||
} };
|
||||
|
||||
|
||||
const QMetaObject *QwtPolarCanvas::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *QwtPolarCanvas::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return nullptr;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_QwtPolarCanvas.stringdata0))
|
||||
return static_cast<void*>(this);
|
||||
return QFrame::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int QwtPolarCanvas::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QFrame::qt_metacall(_c, _id, _a);
|
||||
return _id;
|
||||
}
|
||||
QT_WARNING_POP
|
||||
QT_END_MOC_NAMESPACE
|
||||
@@ -0,0 +1,124 @@
|
||||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'qwt_polar_magnifier.h'
|
||||
**
|
||||
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2)
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost!
|
||||
*****************************************************************************/
|
||||
|
||||
#include <memory>
|
||||
#include "../../src/qwt_polar_magnifier.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'qwt_polar_magnifier.h' doesn't include <QObject>."
|
||||
#elif Q_MOC_OUTPUT_REVISION != 67
|
||||
#error "This file was generated using the moc from 5.15.2. It"
|
||||
#error "cannot be used with the include files from this version of Qt."
|
||||
#error "(The moc has changed too much.)"
|
||||
#endif
|
||||
|
||||
QT_BEGIN_MOC_NAMESPACE
|
||||
QT_WARNING_PUSH
|
||||
QT_WARNING_DISABLE_DEPRECATED
|
||||
struct qt_meta_stringdata_QwtPolarMagnifier_t {
|
||||
QByteArrayData data[5];
|
||||
char stringdata0[41];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_QwtPolarMagnifier_t, stringdata0) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_QwtPolarMagnifier_t qt_meta_stringdata_QwtPolarMagnifier = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 17), // "QwtPolarMagnifier"
|
||||
QT_MOC_LITERAL(1, 18, 7), // "rescale"
|
||||
QT_MOC_LITERAL(2, 26, 0), // ""
|
||||
QT_MOC_LITERAL(3, 27, 6), // "factor"
|
||||
QT_MOC_LITERAL(4, 34, 6) // "unzoom"
|
||||
|
||||
},
|
||||
"QwtPolarMagnifier\0rescale\0\0factor\0"
|
||||
"unzoom"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_QwtPolarMagnifier[] = {
|
||||
|
||||
// content:
|
||||
8, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
2, 14, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
0, // signalCount
|
||||
|
||||
// slots: name, argc, parameters, tag, flags
|
||||
1, 1, 24, 2, 0x0a /* Public */,
|
||||
4, 0, 27, 2, 0x0a /* Public */,
|
||||
|
||||
// slots: parameters
|
||||
QMetaType::Void, QMetaType::Double, 3,
|
||||
QMetaType::Void,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void QwtPolarMagnifier::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
auto *_t = static_cast<QwtPolarMagnifier *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
switch (_id) {
|
||||
case 0: _t->rescale((*reinterpret_cast< double(*)>(_a[1]))); break;
|
||||
case 1: _t->unzoom(); break;
|
||||
default: ;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
QT_INIT_METAOBJECT const QMetaObject QwtPolarMagnifier::staticMetaObject = { {
|
||||
QMetaObject::SuperData::link<QwtMagnifier::staticMetaObject>(),
|
||||
qt_meta_stringdata_QwtPolarMagnifier.data,
|
||||
qt_meta_data_QwtPolarMagnifier,
|
||||
qt_static_metacall,
|
||||
nullptr,
|
||||
nullptr
|
||||
} };
|
||||
|
||||
|
||||
const QMetaObject *QwtPolarMagnifier::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *QwtPolarMagnifier::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return nullptr;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_QwtPolarMagnifier.stringdata0))
|
||||
return static_cast<void*>(this);
|
||||
return QwtMagnifier::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int QwtPolarMagnifier::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QwtMagnifier::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
if (_id < 2)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 2;
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
if (_id < 2)
|
||||
*reinterpret_cast<int*>(_a[0]) = -1;
|
||||
_id -= 2;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
QT_WARNING_POP
|
||||
QT_END_MOC_NAMESPACE
|
||||
@@ -0,0 +1,120 @@
|
||||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'qwt_polar_panner.h'
|
||||
**
|
||||
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2)
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost!
|
||||
*****************************************************************************/
|
||||
|
||||
#include <memory>
|
||||
#include "../../src/qwt_polar_panner.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'qwt_polar_panner.h' doesn't include <QObject>."
|
||||
#elif Q_MOC_OUTPUT_REVISION != 67
|
||||
#error "This file was generated using the moc from 5.15.2. It"
|
||||
#error "cannot be used with the include files from this version of Qt."
|
||||
#error "(The moc has changed too much.)"
|
||||
#endif
|
||||
|
||||
QT_BEGIN_MOC_NAMESPACE
|
||||
QT_WARNING_PUSH
|
||||
QT_WARNING_DISABLE_DEPRECATED
|
||||
struct qt_meta_stringdata_QwtPolarPanner_t {
|
||||
QByteArrayData data[5];
|
||||
char stringdata0[31];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_QwtPolarPanner_t, stringdata0) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_QwtPolarPanner_t qt_meta_stringdata_QwtPolarPanner = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 14), // "QwtPolarPanner"
|
||||
QT_MOC_LITERAL(1, 15, 8), // "movePlot"
|
||||
QT_MOC_LITERAL(2, 24, 0), // ""
|
||||
QT_MOC_LITERAL(3, 25, 2), // "dx"
|
||||
QT_MOC_LITERAL(4, 28, 2) // "dy"
|
||||
|
||||
},
|
||||
"QwtPolarPanner\0movePlot\0\0dx\0dy"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_QwtPolarPanner[] = {
|
||||
|
||||
// content:
|
||||
8, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
1, 14, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
0, // signalCount
|
||||
|
||||
// slots: name, argc, parameters, tag, flags
|
||||
1, 2, 19, 2, 0x0a /* Public */,
|
||||
|
||||
// slots: parameters
|
||||
QMetaType::Void, QMetaType::Int, QMetaType::Int, 3, 4,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void QwtPolarPanner::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
auto *_t = static_cast<QwtPolarPanner *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
switch (_id) {
|
||||
case 0: _t->movePlot((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
|
||||
default: ;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
QT_INIT_METAOBJECT const QMetaObject QwtPolarPanner::staticMetaObject = { {
|
||||
QMetaObject::SuperData::link<QwtPanner::staticMetaObject>(),
|
||||
qt_meta_stringdata_QwtPolarPanner.data,
|
||||
qt_meta_data_QwtPolarPanner,
|
||||
qt_static_metacall,
|
||||
nullptr,
|
||||
nullptr
|
||||
} };
|
||||
|
||||
|
||||
const QMetaObject *QwtPolarPanner::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *QwtPolarPanner::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return nullptr;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_QwtPolarPanner.stringdata0))
|
||||
return static_cast<void*>(this);
|
||||
return QwtPanner::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int QwtPolarPanner::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QwtPanner::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
if (_id < 1)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 1;
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
if (_id < 1)
|
||||
*reinterpret_cast<int*>(_a[0]) = -1;
|
||||
_id -= 1;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
QT_WARNING_POP
|
||||
QT_END_MOC_NAMESPACE
|
||||
@@ -0,0 +1,194 @@
|
||||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'qwt_polar_picker.h'
|
||||
**
|
||||
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2)
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost!
|
||||
*****************************************************************************/
|
||||
|
||||
#include <memory>
|
||||
#include "../../src/qwt_polar_picker.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#include <QtCore/QVector>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'qwt_polar_picker.h' doesn't include <QObject>."
|
||||
#elif Q_MOC_OUTPUT_REVISION != 67
|
||||
#error "This file was generated using the moc from 5.15.2. It"
|
||||
#error "cannot be used with the include files from this version of Qt."
|
||||
#error "(The moc has changed too much.)"
|
||||
#endif
|
||||
|
||||
QT_BEGIN_MOC_NAMESPACE
|
||||
QT_WARNING_PUSH
|
||||
QT_WARNING_DISABLE_DEPRECATED
|
||||
struct qt_meta_stringdata_QwtPolarPicker_t {
|
||||
QByteArrayData data[9];
|
||||
char stringdata0[88];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_QwtPolarPicker_t, stringdata0) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_QwtPolarPicker_t qt_meta_stringdata_QwtPolarPicker = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 14), // "QwtPolarPicker"
|
||||
QT_MOC_LITERAL(1, 15, 8), // "selected"
|
||||
QT_MOC_LITERAL(2, 24, 0), // ""
|
||||
QT_MOC_LITERAL(3, 25, 13), // "QwtPointPolar"
|
||||
QT_MOC_LITERAL(4, 39, 3), // "pos"
|
||||
QT_MOC_LITERAL(5, 43, 22), // "QVector<QwtPointPolar>"
|
||||
QT_MOC_LITERAL(6, 66, 6), // "points"
|
||||
QT_MOC_LITERAL(7, 73, 8), // "appended"
|
||||
QT_MOC_LITERAL(8, 82, 5) // "moved"
|
||||
|
||||
},
|
||||
"QwtPolarPicker\0selected\0\0QwtPointPolar\0"
|
||||
"pos\0QVector<QwtPointPolar>\0points\0"
|
||||
"appended\0moved"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_QwtPolarPicker[] = {
|
||||
|
||||
// content:
|
||||
8, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
4, 14, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
4, // signalCount
|
||||
|
||||
// signals: name, argc, parameters, tag, flags
|
||||
1, 1, 34, 2, 0x06 /* Public */,
|
||||
1, 1, 37, 2, 0x06 /* Public */,
|
||||
7, 1, 40, 2, 0x06 /* Public */,
|
||||
8, 1, 43, 2, 0x06 /* Public */,
|
||||
|
||||
// signals: parameters
|
||||
QMetaType::Void, 0x80000000 | 3, 4,
|
||||
QMetaType::Void, 0x80000000 | 5, 6,
|
||||
QMetaType::Void, 0x80000000 | 3, 4,
|
||||
QMetaType::Void, 0x80000000 | 3, 4,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void QwtPolarPicker::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
auto *_t = static_cast<QwtPolarPicker *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
switch (_id) {
|
||||
case 0: _t->selected((*reinterpret_cast< const QwtPointPolar(*)>(_a[1]))); break;
|
||||
case 1: _t->selected((*reinterpret_cast< const QVector<QwtPointPolar>(*)>(_a[1]))); break;
|
||||
case 2: _t->appended((*reinterpret_cast< const QwtPointPolar(*)>(_a[1]))); break;
|
||||
case 3: _t->moved((*reinterpret_cast< const QwtPointPolar(*)>(_a[1]))); break;
|
||||
default: ;
|
||||
}
|
||||
} else if (_c == QMetaObject::IndexOfMethod) {
|
||||
int *result = reinterpret_cast<int *>(_a[0]);
|
||||
{
|
||||
using _t = void (QwtPolarPicker::*)(const QwtPointPolar & );
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QwtPolarPicker::selected)) {
|
||||
*result = 0;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
using _t = void (QwtPolarPicker::*)(const QVector<QwtPointPolar> & );
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QwtPolarPicker::selected)) {
|
||||
*result = 1;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
using _t = void (QwtPolarPicker::*)(const QwtPointPolar & );
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QwtPolarPicker::appended)) {
|
||||
*result = 2;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
using _t = void (QwtPolarPicker::*)(const QwtPointPolar & );
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QwtPolarPicker::moved)) {
|
||||
*result = 3;
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
QT_INIT_METAOBJECT const QMetaObject QwtPolarPicker::staticMetaObject = { {
|
||||
QMetaObject::SuperData::link<QwtPicker::staticMetaObject>(),
|
||||
qt_meta_stringdata_QwtPolarPicker.data,
|
||||
qt_meta_data_QwtPolarPicker,
|
||||
qt_static_metacall,
|
||||
nullptr,
|
||||
nullptr
|
||||
} };
|
||||
|
||||
|
||||
const QMetaObject *QwtPolarPicker::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *QwtPolarPicker::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return nullptr;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_QwtPolarPicker.stringdata0))
|
||||
return static_cast<void*>(this);
|
||||
return QwtPicker::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int QwtPolarPicker::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QwtPicker::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
if (_id < 4)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 4;
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
if (_id < 4)
|
||||
*reinterpret_cast<int*>(_a[0]) = -1;
|
||||
_id -= 4;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
|
||||
// SIGNAL 0
|
||||
void QwtPolarPicker::selected(const QwtPointPolar & _t1)
|
||||
{
|
||||
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 0, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 1
|
||||
void QwtPolarPicker::selected(const QVector<QwtPointPolar> & _t1)
|
||||
{
|
||||
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 1, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 2
|
||||
void QwtPolarPicker::appended(const QwtPointPolar & _t1)
|
||||
{
|
||||
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 2, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 3
|
||||
void QwtPolarPicker::moved(const QwtPointPolar & _t1)
|
||||
{
|
||||
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 3, _a);
|
||||
}
|
||||
QT_WARNING_POP
|
||||
QT_END_MOC_NAMESPACE
|
||||
@@ -0,0 +1,254 @@
|
||||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'qwt_polar_plot.h'
|
||||
**
|
||||
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2)
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost!
|
||||
*****************************************************************************/
|
||||
|
||||
#include <memory>
|
||||
#include "../../src/qwt_polar_plot.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#include <QtCore/QList>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'qwt_polar_plot.h' doesn't include <QObject>."
|
||||
#elif Q_MOC_OUTPUT_REVISION != 67
|
||||
#error "This file was generated using the moc from 5.15.2. It"
|
||||
#error "cannot be used with the include files from this version of Qt."
|
||||
#error "(The moc has changed too much.)"
|
||||
#endif
|
||||
|
||||
QT_BEGIN_MOC_NAMESPACE
|
||||
QT_WARNING_PUSH
|
||||
QT_WARNING_DISABLE_DEPRECATED
|
||||
struct qt_meta_stringdata_QwtPolarPlot_t {
|
||||
QByteArrayData data[16];
|
||||
char stringdata0[185];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_QwtPolarPlot_t, stringdata0) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_QwtPolarPlot_t qt_meta_stringdata_QwtPolarPlot = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 12), // "QwtPolarPlot"
|
||||
QT_MOC_LITERAL(1, 13, 12), // "itemAttached"
|
||||
QT_MOC_LITERAL(2, 26, 0), // ""
|
||||
QT_MOC_LITERAL(3, 27, 13), // "QwtPolarItem*"
|
||||
QT_MOC_LITERAL(4, 41, 8), // "plotItem"
|
||||
QT_MOC_LITERAL(5, 50, 2), // "on"
|
||||
QT_MOC_LITERAL(6, 53, 17), // "legendDataChanged"
|
||||
QT_MOC_LITERAL(7, 71, 8), // "itemInfo"
|
||||
QT_MOC_LITERAL(8, 80, 20), // "QList<QwtLegendData>"
|
||||
QT_MOC_LITERAL(9, 101, 4), // "data"
|
||||
QT_MOC_LITERAL(10, 106, 13), // "layoutChanged"
|
||||
QT_MOC_LITERAL(11, 120, 6), // "replot"
|
||||
QT_MOC_LITERAL(12, 127, 11), // "autoRefresh"
|
||||
QT_MOC_LITERAL(13, 139, 16), // "setAzimuthOrigin"
|
||||
QT_MOC_LITERAL(14, 156, 14), // "plotBackground"
|
||||
QT_MOC_LITERAL(15, 171, 13) // "azimuthOrigin"
|
||||
|
||||
},
|
||||
"QwtPolarPlot\0itemAttached\0\0QwtPolarItem*\0"
|
||||
"plotItem\0on\0legendDataChanged\0itemInfo\0"
|
||||
"QList<QwtLegendData>\0data\0layoutChanged\0"
|
||||
"replot\0autoRefresh\0setAzimuthOrigin\0"
|
||||
"plotBackground\0azimuthOrigin"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_QwtPolarPlot[] = {
|
||||
|
||||
// content:
|
||||
8, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
6, 14, // methods
|
||||
2, 60, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
3, // signalCount
|
||||
|
||||
// signals: name, argc, parameters, tag, flags
|
||||
1, 2, 44, 2, 0x06 /* Public */,
|
||||
6, 2, 49, 2, 0x06 /* Public */,
|
||||
10, 0, 54, 2, 0x06 /* Public */,
|
||||
|
||||
// slots: name, argc, parameters, tag, flags
|
||||
11, 0, 55, 2, 0x0a /* Public */,
|
||||
12, 0, 56, 2, 0x0a /* Public */,
|
||||
13, 1, 57, 2, 0x0a /* Public */,
|
||||
|
||||
// signals: parameters
|
||||
QMetaType::Void, 0x80000000 | 3, QMetaType::Bool, 4, 5,
|
||||
QMetaType::Void, QMetaType::QVariant, 0x80000000 | 8, 7, 9,
|
||||
QMetaType::Void,
|
||||
|
||||
// slots: parameters
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void, QMetaType::Double, 2,
|
||||
|
||||
// properties: name, type, flags
|
||||
14, QMetaType::QBrush, 0x00095103,
|
||||
15, QMetaType::Double, 0x00095103,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void QwtPolarPlot::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
auto *_t = static_cast<QwtPolarPlot *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
switch (_id) {
|
||||
case 0: _t->itemAttached((*reinterpret_cast< QwtPolarItem*(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
|
||||
case 1: _t->legendDataChanged((*reinterpret_cast< const QVariant(*)>(_a[1])),(*reinterpret_cast< const QList<QwtLegendData>(*)>(_a[2]))); break;
|
||||
case 2: _t->layoutChanged(); break;
|
||||
case 3: _t->replot(); break;
|
||||
case 4: _t->autoRefresh(); break;
|
||||
case 5: _t->setAzimuthOrigin((*reinterpret_cast< double(*)>(_a[1]))); break;
|
||||
default: ;
|
||||
}
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
switch (_id) {
|
||||
default: *reinterpret_cast<int*>(_a[0]) = -1; break;
|
||||
case 0:
|
||||
switch (*reinterpret_cast<int*>(_a[1])) {
|
||||
default: *reinterpret_cast<int*>(_a[0]) = -1; break;
|
||||
case 0:
|
||||
*reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QwtPolarItem* >(); break;
|
||||
}
|
||||
break;
|
||||
}
|
||||
} else if (_c == QMetaObject::IndexOfMethod) {
|
||||
int *result = reinterpret_cast<int *>(_a[0]);
|
||||
{
|
||||
using _t = void (QwtPolarPlot::*)(QwtPolarItem * , bool );
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QwtPolarPlot::itemAttached)) {
|
||||
*result = 0;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
using _t = void (QwtPolarPlot::*)(const QVariant & , const QList<QwtLegendData> & );
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QwtPolarPlot::legendDataChanged)) {
|
||||
*result = 1;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
using _t = void (QwtPolarPlot::*)();
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QwtPolarPlot::layoutChanged)) {
|
||||
*result = 2;
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
#ifndef QT_NO_PROPERTIES
|
||||
else if (_c == QMetaObject::ReadProperty) {
|
||||
auto *_t = static_cast<QwtPolarPlot *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
void *_v = _a[0];
|
||||
switch (_id) {
|
||||
case 0: *reinterpret_cast< QBrush*>(_v) = _t->plotBackground(); break;
|
||||
case 1: *reinterpret_cast< double*>(_v) = _t->azimuthOrigin(); break;
|
||||
default: break;
|
||||
}
|
||||
} else if (_c == QMetaObject::WriteProperty) {
|
||||
auto *_t = static_cast<QwtPolarPlot *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
void *_v = _a[0];
|
||||
switch (_id) {
|
||||
case 0: _t->setPlotBackground(*reinterpret_cast< QBrush*>(_v)); break;
|
||||
case 1: _t->setAzimuthOrigin(*reinterpret_cast< double*>(_v)); break;
|
||||
default: break;
|
||||
}
|
||||
} else if (_c == QMetaObject::ResetProperty) {
|
||||
}
|
||||
#endif // QT_NO_PROPERTIES
|
||||
}
|
||||
|
||||
QT_INIT_METAOBJECT const QMetaObject QwtPolarPlot::staticMetaObject = { {
|
||||
QMetaObject::SuperData::link<QFrame::staticMetaObject>(),
|
||||
qt_meta_stringdata_QwtPolarPlot.data,
|
||||
qt_meta_data_QwtPolarPlot,
|
||||
qt_static_metacall,
|
||||
nullptr,
|
||||
nullptr
|
||||
} };
|
||||
|
||||
|
||||
const QMetaObject *QwtPolarPlot::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *QwtPolarPlot::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return nullptr;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_QwtPolarPlot.stringdata0))
|
||||
return static_cast<void*>(this);
|
||||
if (!strcmp(_clname, "QwtPolarItemDict"))
|
||||
return static_cast< QwtPolarItemDict*>(this);
|
||||
return QFrame::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int QwtPolarPlot::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QFrame::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
if (_id < 6)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 6;
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
if (_id < 6)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 6;
|
||||
}
|
||||
#ifndef QT_NO_PROPERTIES
|
||||
else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
|
||||
|| _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 2;
|
||||
} else if (_c == QMetaObject::QueryPropertyDesignable) {
|
||||
_id -= 2;
|
||||
} else if (_c == QMetaObject::QueryPropertyScriptable) {
|
||||
_id -= 2;
|
||||
} else if (_c == QMetaObject::QueryPropertyStored) {
|
||||
_id -= 2;
|
||||
} else if (_c == QMetaObject::QueryPropertyEditable) {
|
||||
_id -= 2;
|
||||
} else if (_c == QMetaObject::QueryPropertyUser) {
|
||||
_id -= 2;
|
||||
}
|
||||
#endif // QT_NO_PROPERTIES
|
||||
return _id;
|
||||
}
|
||||
|
||||
// SIGNAL 0
|
||||
void QwtPolarPlot::itemAttached(QwtPolarItem * _t1, bool _t2)
|
||||
{
|
||||
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 0, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 1
|
||||
void QwtPolarPlot::legendDataChanged(const QVariant & _t1, const QList<QwtLegendData> & _t2)
|
||||
{
|
||||
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 1, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 2
|
||||
void QwtPolarPlot::layoutChanged()
|
||||
{
|
||||
QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
|
||||
}
|
||||
QT_WARNING_POP
|
||||
QT_END_MOC_NAMESPACE
|
||||
@@ -0,0 +1,95 @@
|
||||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'qwt_polar_renderer.h'
|
||||
**
|
||||
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2)
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost!
|
||||
*****************************************************************************/
|
||||
|
||||
#include <memory>
|
||||
#include "../../src/qwt_polar_renderer.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'qwt_polar_renderer.h' doesn't include <QObject>."
|
||||
#elif Q_MOC_OUTPUT_REVISION != 67
|
||||
#error "This file was generated using the moc from 5.15.2. It"
|
||||
#error "cannot be used with the include files from this version of Qt."
|
||||
#error "(The moc has changed too much.)"
|
||||
#endif
|
||||
|
||||
QT_BEGIN_MOC_NAMESPACE
|
||||
QT_WARNING_PUSH
|
||||
QT_WARNING_DISABLE_DEPRECATED
|
||||
struct qt_meta_stringdata_QwtPolarRenderer_t {
|
||||
QByteArrayData data[1];
|
||||
char stringdata0[17];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_QwtPolarRenderer_t, stringdata0) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_QwtPolarRenderer_t qt_meta_stringdata_QwtPolarRenderer = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 16) // "QwtPolarRenderer"
|
||||
|
||||
},
|
||||
"QwtPolarRenderer"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_QwtPolarRenderer[] = {
|
||||
|
||||
// content:
|
||||
8, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
0, 0, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
0, // signalCount
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void QwtPolarRenderer::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
Q_UNUSED(_o);
|
||||
Q_UNUSED(_id);
|
||||
Q_UNUSED(_c);
|
||||
Q_UNUSED(_a);
|
||||
}
|
||||
|
||||
QT_INIT_METAOBJECT const QMetaObject QwtPolarRenderer::staticMetaObject = { {
|
||||
QMetaObject::SuperData::link<QObject::staticMetaObject>(),
|
||||
qt_meta_stringdata_QwtPolarRenderer.data,
|
||||
qt_meta_data_QwtPolarRenderer,
|
||||
qt_static_metacall,
|
||||
nullptr,
|
||||
nullptr
|
||||
} };
|
||||
|
||||
|
||||
const QMetaObject *QwtPolarRenderer::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *QwtPolarRenderer::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return nullptr;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_QwtPolarRenderer.stringdata0))
|
||||
return static_cast<void*>(this);
|
||||
return QObject::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int QwtPolarRenderer::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QObject::qt_metacall(_c, _id, _a);
|
||||
return _id;
|
||||
}
|
||||
QT_WARNING_POP
|
||||
QT_END_MOC_NAMESPACE
|
||||
@@ -0,0 +1,124 @@
|
||||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'qwt_sampling_thread.h'
|
||||
**
|
||||
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2)
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost!
|
||||
*****************************************************************************/
|
||||
|
||||
#include <memory>
|
||||
#include "../../src/qwt_sampling_thread.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'qwt_sampling_thread.h' doesn't include <QObject>."
|
||||
#elif Q_MOC_OUTPUT_REVISION != 67
|
||||
#error "This file was generated using the moc from 5.15.2. It"
|
||||
#error "cannot be used with the include files from this version of Qt."
|
||||
#error "(The moc has changed too much.)"
|
||||
#endif
|
||||
|
||||
QT_BEGIN_MOC_NAMESPACE
|
||||
QT_WARNING_PUSH
|
||||
QT_WARNING_DISABLE_DEPRECATED
|
||||
struct qt_meta_stringdata_QwtSamplingThread_t {
|
||||
QByteArrayData data[5];
|
||||
char stringdata0[45];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_QwtSamplingThread_t, stringdata0) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_QwtSamplingThread_t qt_meta_stringdata_QwtSamplingThread = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 17), // "QwtSamplingThread"
|
||||
QT_MOC_LITERAL(1, 18, 11), // "setInterval"
|
||||
QT_MOC_LITERAL(2, 30, 0), // ""
|
||||
QT_MOC_LITERAL(3, 31, 8), // "interval"
|
||||
QT_MOC_LITERAL(4, 40, 4) // "stop"
|
||||
|
||||
},
|
||||
"QwtSamplingThread\0setInterval\0\0interval\0"
|
||||
"stop"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_QwtSamplingThread[] = {
|
||||
|
||||
// content:
|
||||
8, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
2, 14, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
0, // signalCount
|
||||
|
||||
// slots: name, argc, parameters, tag, flags
|
||||
1, 1, 24, 2, 0x0a /* Public */,
|
||||
4, 0, 27, 2, 0x0a /* Public */,
|
||||
|
||||
// slots: parameters
|
||||
QMetaType::Void, QMetaType::Double, 3,
|
||||
QMetaType::Void,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void QwtSamplingThread::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
auto *_t = static_cast<QwtSamplingThread *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
switch (_id) {
|
||||
case 0: _t->setInterval((*reinterpret_cast< double(*)>(_a[1]))); break;
|
||||
case 1: _t->stop(); break;
|
||||
default: ;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
QT_INIT_METAOBJECT const QMetaObject QwtSamplingThread::staticMetaObject = { {
|
||||
QMetaObject::SuperData::link<QThread::staticMetaObject>(),
|
||||
qt_meta_stringdata_QwtSamplingThread.data,
|
||||
qt_meta_data_QwtSamplingThread,
|
||||
qt_static_metacall,
|
||||
nullptr,
|
||||
nullptr
|
||||
} };
|
||||
|
||||
|
||||
const QMetaObject *QwtSamplingThread::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *QwtSamplingThread::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return nullptr;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_QwtSamplingThread.stringdata0))
|
||||
return static_cast<void*>(this);
|
||||
return QThread::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int QwtSamplingThread::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QThread::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
if (_id < 2)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 2;
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
if (_id < 2)
|
||||
*reinterpret_cast<int*>(_a[0]) = -1;
|
||||
_id -= 2;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
QT_WARNING_POP
|
||||
QT_END_MOC_NAMESPACE
|
||||
@@ -0,0 +1,134 @@
|
||||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'qwt_scale_widget.h'
|
||||
**
|
||||
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2)
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost!
|
||||
*****************************************************************************/
|
||||
|
||||
#include <memory>
|
||||
#include "../../src/qwt_scale_widget.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'qwt_scale_widget.h' doesn't include <QObject>."
|
||||
#elif Q_MOC_OUTPUT_REVISION != 67
|
||||
#error "This file was generated using the moc from 5.15.2. It"
|
||||
#error "cannot be used with the include files from this version of Qt."
|
||||
#error "(The moc has changed too much.)"
|
||||
#endif
|
||||
|
||||
QT_BEGIN_MOC_NAMESPACE
|
||||
QT_WARNING_PUSH
|
||||
QT_WARNING_DISABLE_DEPRECATED
|
||||
struct qt_meta_stringdata_QwtScaleWidget_t {
|
||||
QByteArrayData data[3];
|
||||
char stringdata0[32];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_QwtScaleWidget_t, stringdata0) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_QwtScaleWidget_t qt_meta_stringdata_QwtScaleWidget = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 14), // "QwtScaleWidget"
|
||||
QT_MOC_LITERAL(1, 15, 15), // "scaleDivChanged"
|
||||
QT_MOC_LITERAL(2, 31, 0) // ""
|
||||
|
||||
},
|
||||
"QwtScaleWidget\0scaleDivChanged\0"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_QwtScaleWidget[] = {
|
||||
|
||||
// content:
|
||||
8, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
1, 14, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
1, // signalCount
|
||||
|
||||
// signals: name, argc, parameters, tag, flags
|
||||
1, 0, 19, 2, 0x06 /* Public */,
|
||||
|
||||
// signals: parameters
|
||||
QMetaType::Void,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void QwtScaleWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
auto *_t = static_cast<QwtScaleWidget *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
switch (_id) {
|
||||
case 0: _t->scaleDivChanged(); break;
|
||||
default: ;
|
||||
}
|
||||
} else if (_c == QMetaObject::IndexOfMethod) {
|
||||
int *result = reinterpret_cast<int *>(_a[0]);
|
||||
{
|
||||
using _t = void (QwtScaleWidget::*)();
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QwtScaleWidget::scaleDivChanged)) {
|
||||
*result = 0;
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
Q_UNUSED(_a);
|
||||
}
|
||||
|
||||
QT_INIT_METAOBJECT const QMetaObject QwtScaleWidget::staticMetaObject = { {
|
||||
QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
|
||||
qt_meta_stringdata_QwtScaleWidget.data,
|
||||
qt_meta_data_QwtScaleWidget,
|
||||
qt_static_metacall,
|
||||
nullptr,
|
||||
nullptr
|
||||
} };
|
||||
|
||||
|
||||
const QMetaObject *QwtScaleWidget::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *QwtScaleWidget::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return nullptr;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_QwtScaleWidget.stringdata0))
|
||||
return static_cast<void*>(this);
|
||||
return QWidget::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int QwtScaleWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QWidget::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
if (_id < 1)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 1;
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
if (_id < 1)
|
||||
*reinterpret_cast<int*>(_a[0]) = -1;
|
||||
_id -= 1;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
|
||||
// SIGNAL 0
|
||||
void QwtScaleWidget::scaleDivChanged()
|
||||
{
|
||||
QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
|
||||
}
|
||||
QT_WARNING_POP
|
||||
QT_END_MOC_NAMESPACE
|
||||
@@ -0,0 +1,180 @@
|
||||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'qwt_slider.h'
|
||||
**
|
||||
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2)
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost!
|
||||
*****************************************************************************/
|
||||
|
||||
#include <memory>
|
||||
#include "../../src/qwt_slider.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'qwt_slider.h' doesn't include <QObject>."
|
||||
#elif Q_MOC_OUTPUT_REVISION != 67
|
||||
#error "This file was generated using the moc from 5.15.2. It"
|
||||
#error "cannot be used with the include files from this version of Qt."
|
||||
#error "(The moc has changed too much.)"
|
||||
#endif
|
||||
|
||||
QT_BEGIN_MOC_NAMESPACE
|
||||
QT_WARNING_PUSH
|
||||
QT_WARNING_DISABLE_DEPRECATED
|
||||
struct qt_meta_stringdata_QwtSlider_t {
|
||||
QByteArrayData data[13];
|
||||
char stringdata0[146];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_QwtSlider_t, stringdata0) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_QwtSlider_t qt_meta_stringdata_QwtSlider = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 9), // "QwtSlider"
|
||||
QT_MOC_LITERAL(1, 10, 11), // "orientation"
|
||||
QT_MOC_LITERAL(2, 22, 15), // "Qt::Orientation"
|
||||
QT_MOC_LITERAL(3, 38, 13), // "scalePosition"
|
||||
QT_MOC_LITERAL(4, 52, 13), // "ScalePosition"
|
||||
QT_MOC_LITERAL(5, 66, 6), // "trough"
|
||||
QT_MOC_LITERAL(6, 73, 6), // "groove"
|
||||
QT_MOC_LITERAL(7, 80, 10), // "handleSize"
|
||||
QT_MOC_LITERAL(8, 91, 11), // "borderWidth"
|
||||
QT_MOC_LITERAL(9, 103, 7), // "spacing"
|
||||
QT_MOC_LITERAL(10, 111, 7), // "NoScale"
|
||||
QT_MOC_LITERAL(11, 119, 12), // "LeadingScale"
|
||||
QT_MOC_LITERAL(12, 132, 13) // "TrailingScale"
|
||||
|
||||
},
|
||||
"QwtSlider\0orientation\0Qt::Orientation\0"
|
||||
"scalePosition\0ScalePosition\0trough\0"
|
||||
"groove\0handleSize\0borderWidth\0spacing\0"
|
||||
"NoScale\0LeadingScale\0TrailingScale"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_QwtSlider[] = {
|
||||
|
||||
// content:
|
||||
8, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
0, 0, // methods
|
||||
7, 14, // properties
|
||||
1, 35, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
0, // signalCount
|
||||
|
||||
// properties: name, type, flags
|
||||
1, 0x80000000 | 2, 0x0009510b,
|
||||
3, 0x80000000 | 4, 0x0009510b,
|
||||
5, QMetaType::Bool, 0x00095103,
|
||||
6, QMetaType::Bool, 0x00095103,
|
||||
7, QMetaType::QSize, 0x00095103,
|
||||
8, QMetaType::Int, 0x00095103,
|
||||
9, QMetaType::Int, 0x00095103,
|
||||
|
||||
// enums: name, alias, flags, count, data
|
||||
4, 4, 0x0, 3, 40,
|
||||
|
||||
// enum data: key, value
|
||||
10, uint(QwtSlider::NoScale),
|
||||
11, uint(QwtSlider::LeadingScale),
|
||||
12, uint(QwtSlider::TrailingScale),
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void QwtSlider::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
|
||||
#ifndef QT_NO_PROPERTIES
|
||||
if (_c == QMetaObject::ReadProperty) {
|
||||
auto *_t = static_cast<QwtSlider *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
void *_v = _a[0];
|
||||
switch (_id) {
|
||||
case 0: *reinterpret_cast< Qt::Orientation*>(_v) = _t->orientation(); break;
|
||||
case 1: *reinterpret_cast< ScalePosition*>(_v) = _t->scalePosition(); break;
|
||||
case 2: *reinterpret_cast< bool*>(_v) = _t->hasTrough(); break;
|
||||
case 3: *reinterpret_cast< bool*>(_v) = _t->hasGroove(); break;
|
||||
case 4: *reinterpret_cast< QSize*>(_v) = _t->handleSize(); break;
|
||||
case 5: *reinterpret_cast< int*>(_v) = _t->borderWidth(); break;
|
||||
case 6: *reinterpret_cast< int*>(_v) = _t->spacing(); break;
|
||||
default: break;
|
||||
}
|
||||
} else if (_c == QMetaObject::WriteProperty) {
|
||||
auto *_t = static_cast<QwtSlider *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
void *_v = _a[0];
|
||||
switch (_id) {
|
||||
case 0: _t->setOrientation(*reinterpret_cast< Qt::Orientation*>(_v)); break;
|
||||
case 1: _t->setScalePosition(*reinterpret_cast< ScalePosition*>(_v)); break;
|
||||
case 2: _t->setTrough(*reinterpret_cast< bool*>(_v)); break;
|
||||
case 3: _t->setGroove(*reinterpret_cast< bool*>(_v)); break;
|
||||
case 4: _t->setHandleSize(*reinterpret_cast< QSize*>(_v)); break;
|
||||
case 5: _t->setBorderWidth(*reinterpret_cast< int*>(_v)); break;
|
||||
case 6: _t->setSpacing(*reinterpret_cast< int*>(_v)); break;
|
||||
default: break;
|
||||
}
|
||||
} else if (_c == QMetaObject::ResetProperty) {
|
||||
}
|
||||
#endif // QT_NO_PROPERTIES
|
||||
Q_UNUSED(_o);
|
||||
Q_UNUSED(_id);
|
||||
Q_UNUSED(_c);
|
||||
Q_UNUSED(_a);
|
||||
}
|
||||
|
||||
QT_INIT_METAOBJECT const QMetaObject QwtSlider::staticMetaObject = { {
|
||||
QMetaObject::SuperData::link<QwtAbstractSlider::staticMetaObject>(),
|
||||
qt_meta_stringdata_QwtSlider.data,
|
||||
qt_meta_data_QwtSlider,
|
||||
qt_static_metacall,
|
||||
nullptr,
|
||||
nullptr
|
||||
} };
|
||||
|
||||
|
||||
const QMetaObject *QwtSlider::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *QwtSlider::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return nullptr;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_QwtSlider.stringdata0))
|
||||
return static_cast<void*>(this);
|
||||
return QwtAbstractSlider::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int QwtSlider::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QwtAbstractSlider::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
|
||||
#ifndef QT_NO_PROPERTIES
|
||||
if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
|
||||
|| _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 7;
|
||||
} else if (_c == QMetaObject::QueryPropertyDesignable) {
|
||||
_id -= 7;
|
||||
} else if (_c == QMetaObject::QueryPropertyScriptable) {
|
||||
_id -= 7;
|
||||
} else if (_c == QMetaObject::QueryPropertyStored) {
|
||||
_id -= 7;
|
||||
} else if (_c == QMetaObject::QueryPropertyEditable) {
|
||||
_id -= 7;
|
||||
} else if (_c == QMetaObject::QueryPropertyUser) {
|
||||
_id -= 7;
|
||||
}
|
||||
#endif // QT_NO_PROPERTIES
|
||||
return _id;
|
||||
}
|
||||
QT_WARNING_POP
|
||||
QT_END_MOC_NAMESPACE
|
||||
@@ -0,0 +1,193 @@
|
||||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'qwt_text_label.h'
|
||||
**
|
||||
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2)
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost!
|
||||
*****************************************************************************/
|
||||
|
||||
#include <memory>
|
||||
#include "../../src/qwt_text_label.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'qwt_text_label.h' doesn't include <QObject>."
|
||||
#elif Q_MOC_OUTPUT_REVISION != 67
|
||||
#error "This file was generated using the moc from 5.15.2. It"
|
||||
#error "cannot be used with the include files from this version of Qt."
|
||||
#error "(The moc has changed too much.)"
|
||||
#endif
|
||||
|
||||
QT_BEGIN_MOC_NAMESPACE
|
||||
QT_WARNING_PUSH
|
||||
QT_WARNING_DISABLE_DEPRECATED
|
||||
struct qt_meta_stringdata_QwtTextLabel_t {
|
||||
QByteArrayData data[10];
|
||||
char stringdata0[91];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_QwtTextLabel_t, stringdata0) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_QwtTextLabel_t qt_meta_stringdata_QwtTextLabel = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 12), // "QwtTextLabel"
|
||||
QT_MOC_LITERAL(1, 13, 7), // "setText"
|
||||
QT_MOC_LITERAL(2, 21, 0), // ""
|
||||
QT_MOC_LITERAL(3, 22, 19), // "QwtText::TextFormat"
|
||||
QT_MOC_LITERAL(4, 42, 10), // "textFormat"
|
||||
QT_MOC_LITERAL(5, 53, 7), // "QwtText"
|
||||
QT_MOC_LITERAL(6, 61, 5), // "clear"
|
||||
QT_MOC_LITERAL(7, 67, 6), // "indent"
|
||||
QT_MOC_LITERAL(8, 74, 6), // "margin"
|
||||
QT_MOC_LITERAL(9, 81, 9) // "plainText"
|
||||
|
||||
},
|
||||
"QwtTextLabel\0setText\0\0QwtText::TextFormat\0"
|
||||
"textFormat\0QwtText\0clear\0indent\0margin\0"
|
||||
"plainText"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_QwtTextLabel[] = {
|
||||
|
||||
// content:
|
||||
8, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
4, 14, // methods
|
||||
3, 46, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
0, // signalCount
|
||||
|
||||
// slots: name, argc, parameters, tag, flags
|
||||
1, 2, 34, 2, 0x0a /* Public */,
|
||||
1, 1, 39, 2, 0x2a /* Public | MethodCloned */,
|
||||
1, 1, 42, 2, 0x0a /* Public */,
|
||||
6, 0, 45, 2, 0x0a /* Public */,
|
||||
|
||||
// slots: parameters
|
||||
QMetaType::Void, QMetaType::QString, 0x80000000 | 3, 2, 4,
|
||||
QMetaType::Void, QMetaType::QString, 2,
|
||||
QMetaType::Void, 0x80000000 | 5, 2,
|
||||
QMetaType::Void,
|
||||
|
||||
// properties: name, type, flags
|
||||
7, QMetaType::Int, 0x00095103,
|
||||
8, QMetaType::Int, 0x00095103,
|
||||
9, QMetaType::QString, 0x00095103,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void QwtTextLabel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
auto *_t = static_cast<QwtTextLabel *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
switch (_id) {
|
||||
case 0: _t->setText((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< QwtText::TextFormat(*)>(_a[2]))); break;
|
||||
case 1: _t->setText((*reinterpret_cast< const QString(*)>(_a[1]))); break;
|
||||
case 2: _t->setText((*reinterpret_cast< const QwtText(*)>(_a[1]))); break;
|
||||
case 3: _t->clear(); break;
|
||||
default: ;
|
||||
}
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
switch (_id) {
|
||||
default: *reinterpret_cast<int*>(_a[0]) = -1; break;
|
||||
case 2:
|
||||
switch (*reinterpret_cast<int*>(_a[1])) {
|
||||
default: *reinterpret_cast<int*>(_a[0]) = -1; break;
|
||||
case 0:
|
||||
*reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QwtText >(); break;
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
#ifndef QT_NO_PROPERTIES
|
||||
else if (_c == QMetaObject::ReadProperty) {
|
||||
auto *_t = static_cast<QwtTextLabel *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
void *_v = _a[0];
|
||||
switch (_id) {
|
||||
case 0: *reinterpret_cast< int*>(_v) = _t->indent(); break;
|
||||
case 1: *reinterpret_cast< int*>(_v) = _t->margin(); break;
|
||||
case 2: *reinterpret_cast< QString*>(_v) = _t->plainText(); break;
|
||||
default: break;
|
||||
}
|
||||
} else if (_c == QMetaObject::WriteProperty) {
|
||||
auto *_t = static_cast<QwtTextLabel *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
void *_v = _a[0];
|
||||
switch (_id) {
|
||||
case 0: _t->setIndent(*reinterpret_cast< int*>(_v)); break;
|
||||
case 1: _t->setMargin(*reinterpret_cast< int*>(_v)); break;
|
||||
case 2: _t->setPlainText(*reinterpret_cast< QString*>(_v)); break;
|
||||
default: break;
|
||||
}
|
||||
} else if (_c == QMetaObject::ResetProperty) {
|
||||
}
|
||||
#endif // QT_NO_PROPERTIES
|
||||
}
|
||||
|
||||
QT_INIT_METAOBJECT const QMetaObject QwtTextLabel::staticMetaObject = { {
|
||||
QMetaObject::SuperData::link<QFrame::staticMetaObject>(),
|
||||
qt_meta_stringdata_QwtTextLabel.data,
|
||||
qt_meta_data_QwtTextLabel,
|
||||
qt_static_metacall,
|
||||
nullptr,
|
||||
nullptr
|
||||
} };
|
||||
|
||||
|
||||
const QMetaObject *QwtTextLabel::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *QwtTextLabel::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return nullptr;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_QwtTextLabel.stringdata0))
|
||||
return static_cast<void*>(this);
|
||||
return QFrame::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int QwtTextLabel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QFrame::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
if (_id < 4)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 4;
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
if (_id < 4)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 4;
|
||||
}
|
||||
#ifndef QT_NO_PROPERTIES
|
||||
else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
|
||||
|| _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 3;
|
||||
} else if (_c == QMetaObject::QueryPropertyDesignable) {
|
||||
_id -= 3;
|
||||
} else if (_c == QMetaObject::QueryPropertyScriptable) {
|
||||
_id -= 3;
|
||||
} else if (_c == QMetaObject::QueryPropertyStored) {
|
||||
_id -= 3;
|
||||
} else if (_c == QMetaObject::QueryPropertyEditable) {
|
||||
_id -= 3;
|
||||
} else if (_c == QMetaObject::QueryPropertyUser) {
|
||||
_id -= 3;
|
||||
}
|
||||
#endif // QT_NO_PROPERTIES
|
||||
return _id;
|
||||
}
|
||||
QT_WARNING_POP
|
||||
QT_END_MOC_NAMESPACE
|
||||
@@ -0,0 +1,222 @@
|
||||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'qwt_thermo.h'
|
||||
**
|
||||
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2)
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost!
|
||||
*****************************************************************************/
|
||||
|
||||
#include <memory>
|
||||
#include "../../src/qwt_thermo.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'qwt_thermo.h' doesn't include <QObject>."
|
||||
#elif Q_MOC_OUTPUT_REVISION != 67
|
||||
#error "This file was generated using the moc from 5.15.2. It"
|
||||
#error "cannot be used with the include files from this version of Qt."
|
||||
#error "(The moc has changed too much.)"
|
||||
#endif
|
||||
|
||||
QT_BEGIN_MOC_NAMESPACE
|
||||
QT_WARNING_PUSH
|
||||
QT_WARNING_DISABLE_DEPRECATED
|
||||
struct qt_meta_stringdata_QwtThermo_t {
|
||||
QByteArrayData data[22];
|
||||
char stringdata0[241];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_QwtThermo_t, stringdata0) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_QwtThermo_t qt_meta_stringdata_QwtThermo = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 9), // "QwtThermo"
|
||||
QT_MOC_LITERAL(1, 10, 8), // "setValue"
|
||||
QT_MOC_LITERAL(2, 19, 0), // ""
|
||||
QT_MOC_LITERAL(3, 20, 11), // "orientation"
|
||||
QT_MOC_LITERAL(4, 32, 15), // "Qt::Orientation"
|
||||
QT_MOC_LITERAL(5, 48, 13), // "scalePosition"
|
||||
QT_MOC_LITERAL(6, 62, 13), // "ScalePosition"
|
||||
QT_MOC_LITERAL(7, 76, 10), // "originMode"
|
||||
QT_MOC_LITERAL(8, 87, 10), // "OriginMode"
|
||||
QT_MOC_LITERAL(9, 98, 12), // "alarmEnabled"
|
||||
QT_MOC_LITERAL(10, 111, 10), // "alarmLevel"
|
||||
QT_MOC_LITERAL(11, 122, 6), // "origin"
|
||||
QT_MOC_LITERAL(12, 129, 7), // "spacing"
|
||||
QT_MOC_LITERAL(13, 137, 11), // "borderWidth"
|
||||
QT_MOC_LITERAL(14, 149, 9), // "pipeWidth"
|
||||
QT_MOC_LITERAL(15, 159, 5), // "value"
|
||||
QT_MOC_LITERAL(16, 165, 7), // "NoScale"
|
||||
QT_MOC_LITERAL(17, 173, 12), // "LeadingScale"
|
||||
QT_MOC_LITERAL(18, 186, 13), // "TrailingScale"
|
||||
QT_MOC_LITERAL(19, 200, 13), // "OriginMinimum"
|
||||
QT_MOC_LITERAL(20, 214, 13), // "OriginMaximum"
|
||||
QT_MOC_LITERAL(21, 228, 12) // "OriginCustom"
|
||||
|
||||
},
|
||||
"QwtThermo\0setValue\0\0orientation\0"
|
||||
"Qt::Orientation\0scalePosition\0"
|
||||
"ScalePosition\0originMode\0OriginMode\0"
|
||||
"alarmEnabled\0alarmLevel\0origin\0spacing\0"
|
||||
"borderWidth\0pipeWidth\0value\0NoScale\0"
|
||||
"LeadingScale\0TrailingScale\0OriginMinimum\0"
|
||||
"OriginMaximum\0OriginCustom"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_QwtThermo[] = {
|
||||
|
||||
// content:
|
||||
8, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
1, 14, // methods
|
||||
10, 22, // properties
|
||||
2, 52, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
0, // signalCount
|
||||
|
||||
// slots: name, argc, parameters, tag, flags
|
||||
1, 1, 19, 2, 0x0a /* Public */,
|
||||
|
||||
// slots: parameters
|
||||
QMetaType::Void, QMetaType::Double, 2,
|
||||
|
||||
// properties: name, type, flags
|
||||
3, 0x80000000 | 4, 0x0009510b,
|
||||
5, 0x80000000 | 6, 0x0009510b,
|
||||
7, 0x80000000 | 8, 0x0009510b,
|
||||
9, QMetaType::Bool, 0x00095103,
|
||||
10, QMetaType::Double, 0x00095103,
|
||||
11, QMetaType::Double, 0x00095103,
|
||||
12, QMetaType::Int, 0x00095103,
|
||||
13, QMetaType::Int, 0x00095103,
|
||||
14, QMetaType::Int, 0x00095103,
|
||||
15, QMetaType::Double, 0x00195103,
|
||||
|
||||
// enums: name, alias, flags, count, data
|
||||
6, 6, 0x0, 3, 62,
|
||||
8, 8, 0x0, 3, 68,
|
||||
|
||||
// enum data: key, value
|
||||
16, uint(QwtThermo::NoScale),
|
||||
17, uint(QwtThermo::LeadingScale),
|
||||
18, uint(QwtThermo::TrailingScale),
|
||||
19, uint(QwtThermo::OriginMinimum),
|
||||
20, uint(QwtThermo::OriginMaximum),
|
||||
21, uint(QwtThermo::OriginCustom),
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void QwtThermo::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
auto *_t = static_cast<QwtThermo *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
switch (_id) {
|
||||
case 0: _t->setValue((*reinterpret_cast< double(*)>(_a[1]))); break;
|
||||
default: ;
|
||||
}
|
||||
}
|
||||
#ifndef QT_NO_PROPERTIES
|
||||
else if (_c == QMetaObject::ReadProperty) {
|
||||
auto *_t = static_cast<QwtThermo *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
void *_v = _a[0];
|
||||
switch (_id) {
|
||||
case 0: *reinterpret_cast< Qt::Orientation*>(_v) = _t->orientation(); break;
|
||||
case 1: *reinterpret_cast< ScalePosition*>(_v) = _t->scalePosition(); break;
|
||||
case 2: *reinterpret_cast< OriginMode*>(_v) = _t->originMode(); break;
|
||||
case 3: *reinterpret_cast< bool*>(_v) = _t->alarmEnabled(); break;
|
||||
case 4: *reinterpret_cast< double*>(_v) = _t->alarmLevel(); break;
|
||||
case 5: *reinterpret_cast< double*>(_v) = _t->origin(); break;
|
||||
case 6: *reinterpret_cast< int*>(_v) = _t->spacing(); break;
|
||||
case 7: *reinterpret_cast< int*>(_v) = _t->borderWidth(); break;
|
||||
case 8: *reinterpret_cast< int*>(_v) = _t->pipeWidth(); break;
|
||||
case 9: *reinterpret_cast< double*>(_v) = _t->value(); break;
|
||||
default: break;
|
||||
}
|
||||
} else if (_c == QMetaObject::WriteProperty) {
|
||||
auto *_t = static_cast<QwtThermo *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
void *_v = _a[0];
|
||||
switch (_id) {
|
||||
case 0: _t->setOrientation(*reinterpret_cast< Qt::Orientation*>(_v)); break;
|
||||
case 1: _t->setScalePosition(*reinterpret_cast< ScalePosition*>(_v)); break;
|
||||
case 2: _t->setOriginMode(*reinterpret_cast< OriginMode*>(_v)); break;
|
||||
case 3: _t->setAlarmEnabled(*reinterpret_cast< bool*>(_v)); break;
|
||||
case 4: _t->setAlarmLevel(*reinterpret_cast< double*>(_v)); break;
|
||||
case 5: _t->setOrigin(*reinterpret_cast< double*>(_v)); break;
|
||||
case 6: _t->setSpacing(*reinterpret_cast< int*>(_v)); break;
|
||||
case 7: _t->setBorderWidth(*reinterpret_cast< int*>(_v)); break;
|
||||
case 8: _t->setPipeWidth(*reinterpret_cast< int*>(_v)); break;
|
||||
case 9: _t->setValue(*reinterpret_cast< double*>(_v)); break;
|
||||
default: break;
|
||||
}
|
||||
} else if (_c == QMetaObject::ResetProperty) {
|
||||
}
|
||||
#endif // QT_NO_PROPERTIES
|
||||
}
|
||||
|
||||
QT_INIT_METAOBJECT const QMetaObject QwtThermo::staticMetaObject = { {
|
||||
QMetaObject::SuperData::link<QwtAbstractScale::staticMetaObject>(),
|
||||
qt_meta_stringdata_QwtThermo.data,
|
||||
qt_meta_data_QwtThermo,
|
||||
qt_static_metacall,
|
||||
nullptr,
|
||||
nullptr
|
||||
} };
|
||||
|
||||
|
||||
const QMetaObject *QwtThermo::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *QwtThermo::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return nullptr;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_QwtThermo.stringdata0))
|
||||
return static_cast<void*>(this);
|
||||
return QwtAbstractScale::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int QwtThermo::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QwtAbstractScale::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
if (_id < 1)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 1;
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
if (_id < 1)
|
||||
*reinterpret_cast<int*>(_a[0]) = -1;
|
||||
_id -= 1;
|
||||
}
|
||||
#ifndef QT_NO_PROPERTIES
|
||||
else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
|
||||
|| _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 10;
|
||||
} else if (_c == QMetaObject::QueryPropertyDesignable) {
|
||||
_id -= 10;
|
||||
} else if (_c == QMetaObject::QueryPropertyScriptable) {
|
||||
_id -= 10;
|
||||
} else if (_c == QMetaObject::QueryPropertyStored) {
|
||||
_id -= 10;
|
||||
} else if (_c == QMetaObject::QueryPropertyEditable) {
|
||||
_id -= 10;
|
||||
} else if (_c == QMetaObject::QueryPropertyUser) {
|
||||
_id -= 10;
|
||||
}
|
||||
#endif // QT_NO_PROPERTIES
|
||||
return _id;
|
||||
}
|
||||
QT_WARNING_POP
|
||||
QT_END_MOC_NAMESPACE
|
||||
@@ -0,0 +1,344 @@
|
||||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'qwt_wheel.h'
|
||||
**
|
||||
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2)
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost!
|
||||
*****************************************************************************/
|
||||
|
||||
#include <memory>
|
||||
#include "../../src/qwt_wheel.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'qwt_wheel.h' doesn't include <QObject>."
|
||||
#elif Q_MOC_OUTPUT_REVISION != 67
|
||||
#error "This file was generated using the moc from 5.15.2. It"
|
||||
#error "cannot be used with the include files from this version of Qt."
|
||||
#error "(The moc has changed too much.)"
|
||||
#endif
|
||||
|
||||
QT_BEGIN_MOC_NAMESPACE
|
||||
QT_WARNING_PUSH
|
||||
QT_WARNING_DISABLE_DEPRECATED
|
||||
struct qt_meta_stringdata_QwtWheel_t {
|
||||
QByteArrayData data[29];
|
||||
char stringdata0[312];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_QwtWheel_t, stringdata0) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_QwtWheel_t qt_meta_stringdata_QwtWheel = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 8), // "QwtWheel"
|
||||
QT_MOC_LITERAL(1, 9, 12), // "valueChanged"
|
||||
QT_MOC_LITERAL(2, 22, 0), // ""
|
||||
QT_MOC_LITERAL(3, 23, 5), // "value"
|
||||
QT_MOC_LITERAL(4, 29, 12), // "wheelPressed"
|
||||
QT_MOC_LITERAL(5, 42, 13), // "wheelReleased"
|
||||
QT_MOC_LITERAL(6, 56, 10), // "wheelMoved"
|
||||
QT_MOC_LITERAL(7, 67, 8), // "setValue"
|
||||
QT_MOC_LITERAL(8, 76, 13), // "setTotalAngle"
|
||||
QT_MOC_LITERAL(9, 90, 12), // "setViewAngle"
|
||||
QT_MOC_LITERAL(10, 103, 7), // "setMass"
|
||||
QT_MOC_LITERAL(11, 111, 11), // "orientation"
|
||||
QT_MOC_LITERAL(12, 123, 15), // "Qt::Orientation"
|
||||
QT_MOC_LITERAL(13, 139, 7), // "minimum"
|
||||
QT_MOC_LITERAL(14, 147, 7), // "maximum"
|
||||
QT_MOC_LITERAL(15, 155, 10), // "singleStep"
|
||||
QT_MOC_LITERAL(16, 166, 13), // "pageStepCount"
|
||||
QT_MOC_LITERAL(17, 180, 13), // "stepAlignment"
|
||||
QT_MOC_LITERAL(18, 194, 8), // "tracking"
|
||||
QT_MOC_LITERAL(19, 203, 8), // "wrapping"
|
||||
QT_MOC_LITERAL(20, 212, 8), // "inverted"
|
||||
QT_MOC_LITERAL(21, 221, 4), // "mass"
|
||||
QT_MOC_LITERAL(22, 226, 14), // "updateInterval"
|
||||
QT_MOC_LITERAL(23, 241, 10), // "totalAngle"
|
||||
QT_MOC_LITERAL(24, 252, 9), // "viewAngle"
|
||||
QT_MOC_LITERAL(25, 262, 9), // "tickCount"
|
||||
QT_MOC_LITERAL(26, 272, 10), // "wheelWidth"
|
||||
QT_MOC_LITERAL(27, 283, 11), // "borderWidth"
|
||||
QT_MOC_LITERAL(28, 295, 16) // "wheelBorderWidth"
|
||||
|
||||
},
|
||||
"QwtWheel\0valueChanged\0\0value\0wheelPressed\0"
|
||||
"wheelReleased\0wheelMoved\0setValue\0"
|
||||
"setTotalAngle\0setViewAngle\0setMass\0"
|
||||
"orientation\0Qt::Orientation\0minimum\0"
|
||||
"maximum\0singleStep\0pageStepCount\0"
|
||||
"stepAlignment\0tracking\0wrapping\0"
|
||||
"inverted\0mass\0updateInterval\0totalAngle\0"
|
||||
"viewAngle\0tickCount\0wheelWidth\0"
|
||||
"borderWidth\0wheelBorderWidth"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_QwtWheel[] = {
|
||||
|
||||
// content:
|
||||
8, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
8, 14, // methods
|
||||
18, 74, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
4, // signalCount
|
||||
|
||||
// signals: name, argc, parameters, tag, flags
|
||||
1, 1, 54, 2, 0x06 /* Public */,
|
||||
4, 0, 57, 2, 0x06 /* Public */,
|
||||
5, 0, 58, 2, 0x06 /* Public */,
|
||||
6, 1, 59, 2, 0x06 /* Public */,
|
||||
|
||||
// slots: name, argc, parameters, tag, flags
|
||||
7, 1, 62, 2, 0x0a /* Public */,
|
||||
8, 1, 65, 2, 0x0a /* Public */,
|
||||
9, 1, 68, 2, 0x0a /* Public */,
|
||||
10, 1, 71, 2, 0x0a /* Public */,
|
||||
|
||||
// signals: parameters
|
||||
QMetaType::Void, QMetaType::Double, 3,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void, QMetaType::Double, 3,
|
||||
|
||||
// slots: parameters
|
||||
QMetaType::Void, QMetaType::Double, 2,
|
||||
QMetaType::Void, QMetaType::Double, 2,
|
||||
QMetaType::Void, QMetaType::Double, 2,
|
||||
QMetaType::Void, QMetaType::Double, 2,
|
||||
|
||||
// properties: name, type, flags
|
||||
11, 0x80000000 | 12, 0x0009510b,
|
||||
3, QMetaType::Double, 0x00595103,
|
||||
13, QMetaType::Double, 0x00095103,
|
||||
14, QMetaType::Double, 0x00095103,
|
||||
15, QMetaType::Double, 0x00095103,
|
||||
16, QMetaType::Int, 0x00095103,
|
||||
17, QMetaType::Bool, 0x00095103,
|
||||
18, QMetaType::Bool, 0x00095103,
|
||||
19, QMetaType::Bool, 0x00095103,
|
||||
20, QMetaType::Bool, 0x00095103,
|
||||
21, QMetaType::Double, 0x00095103,
|
||||
22, QMetaType::Int, 0x00095103,
|
||||
23, QMetaType::Double, 0x00095103,
|
||||
24, QMetaType::Double, 0x00095103,
|
||||
25, QMetaType::Int, 0x00095103,
|
||||
26, QMetaType::Int, 0x00095103,
|
||||
27, QMetaType::Int, 0x00095103,
|
||||
28, QMetaType::Int, 0x00095103,
|
||||
|
||||
// properties: notify_signal_id
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void QwtWheel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
auto *_t = static_cast<QwtWheel *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
switch (_id) {
|
||||
case 0: _t->valueChanged((*reinterpret_cast< double(*)>(_a[1]))); break;
|
||||
case 1: _t->wheelPressed(); break;
|
||||
case 2: _t->wheelReleased(); break;
|
||||
case 3: _t->wheelMoved((*reinterpret_cast< double(*)>(_a[1]))); break;
|
||||
case 4: _t->setValue((*reinterpret_cast< double(*)>(_a[1]))); break;
|
||||
case 5: _t->setTotalAngle((*reinterpret_cast< double(*)>(_a[1]))); break;
|
||||
case 6: _t->setViewAngle((*reinterpret_cast< double(*)>(_a[1]))); break;
|
||||
case 7: _t->setMass((*reinterpret_cast< double(*)>(_a[1]))); break;
|
||||
default: ;
|
||||
}
|
||||
} else if (_c == QMetaObject::IndexOfMethod) {
|
||||
int *result = reinterpret_cast<int *>(_a[0]);
|
||||
{
|
||||
using _t = void (QwtWheel::*)(double );
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QwtWheel::valueChanged)) {
|
||||
*result = 0;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
using _t = void (QwtWheel::*)();
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QwtWheel::wheelPressed)) {
|
||||
*result = 1;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
using _t = void (QwtWheel::*)();
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QwtWheel::wheelReleased)) {
|
||||
*result = 2;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
using _t = void (QwtWheel::*)(double );
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QwtWheel::wheelMoved)) {
|
||||
*result = 3;
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
#ifndef QT_NO_PROPERTIES
|
||||
else if (_c == QMetaObject::ReadProperty) {
|
||||
auto *_t = static_cast<QwtWheel *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
void *_v = _a[0];
|
||||
switch (_id) {
|
||||
case 0: *reinterpret_cast< Qt::Orientation*>(_v) = _t->orientation(); break;
|
||||
case 1: *reinterpret_cast< double*>(_v) = _t->value(); break;
|
||||
case 2: *reinterpret_cast< double*>(_v) = _t->minimum(); break;
|
||||
case 3: *reinterpret_cast< double*>(_v) = _t->maximum(); break;
|
||||
case 4: *reinterpret_cast< double*>(_v) = _t->singleStep(); break;
|
||||
case 5: *reinterpret_cast< int*>(_v) = _t->pageStepCount(); break;
|
||||
case 6: *reinterpret_cast< bool*>(_v) = _t->stepAlignment(); break;
|
||||
case 7: *reinterpret_cast< bool*>(_v) = _t->isTracking(); break;
|
||||
case 8: *reinterpret_cast< bool*>(_v) = _t->wrapping(); break;
|
||||
case 9: *reinterpret_cast< bool*>(_v) = _t->isInverted(); break;
|
||||
case 10: *reinterpret_cast< double*>(_v) = _t->mass(); break;
|
||||
case 11: *reinterpret_cast< int*>(_v) = _t->updateInterval(); break;
|
||||
case 12: *reinterpret_cast< double*>(_v) = _t->totalAngle(); break;
|
||||
case 13: *reinterpret_cast< double*>(_v) = _t->viewAngle(); break;
|
||||
case 14: *reinterpret_cast< int*>(_v) = _t->tickCount(); break;
|
||||
case 15: *reinterpret_cast< int*>(_v) = _t->wheelWidth(); break;
|
||||
case 16: *reinterpret_cast< int*>(_v) = _t->borderWidth(); break;
|
||||
case 17: *reinterpret_cast< int*>(_v) = _t->wheelBorderWidth(); break;
|
||||
default: break;
|
||||
}
|
||||
} else if (_c == QMetaObject::WriteProperty) {
|
||||
auto *_t = static_cast<QwtWheel *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
void *_v = _a[0];
|
||||
switch (_id) {
|
||||
case 0: _t->setOrientation(*reinterpret_cast< Qt::Orientation*>(_v)); break;
|
||||
case 1: _t->setValue(*reinterpret_cast< double*>(_v)); break;
|
||||
case 2: _t->setMinimum(*reinterpret_cast< double*>(_v)); break;
|
||||
case 3: _t->setMaximum(*reinterpret_cast< double*>(_v)); break;
|
||||
case 4: _t->setSingleStep(*reinterpret_cast< double*>(_v)); break;
|
||||
case 5: _t->setPageStepCount(*reinterpret_cast< int*>(_v)); break;
|
||||
case 6: _t->setStepAlignment(*reinterpret_cast< bool*>(_v)); break;
|
||||
case 7: _t->setTracking(*reinterpret_cast< bool*>(_v)); break;
|
||||
case 8: _t->setWrapping(*reinterpret_cast< bool*>(_v)); break;
|
||||
case 9: _t->setInverted(*reinterpret_cast< bool*>(_v)); break;
|
||||
case 10: _t->setMass(*reinterpret_cast< double*>(_v)); break;
|
||||
case 11: _t->setUpdateInterval(*reinterpret_cast< int*>(_v)); break;
|
||||
case 12: _t->setTotalAngle(*reinterpret_cast< double*>(_v)); break;
|
||||
case 13: _t->setViewAngle(*reinterpret_cast< double*>(_v)); break;
|
||||
case 14: _t->setTickCount(*reinterpret_cast< int*>(_v)); break;
|
||||
case 15: _t->setWheelWidth(*reinterpret_cast< int*>(_v)); break;
|
||||
case 16: _t->setBorderWidth(*reinterpret_cast< int*>(_v)); break;
|
||||
case 17: _t->setWheelBorderWidth(*reinterpret_cast< int*>(_v)); break;
|
||||
default: break;
|
||||
}
|
||||
} else if (_c == QMetaObject::ResetProperty) {
|
||||
}
|
||||
#endif // QT_NO_PROPERTIES
|
||||
}
|
||||
|
||||
QT_INIT_METAOBJECT const QMetaObject QwtWheel::staticMetaObject = { {
|
||||
QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
|
||||
qt_meta_stringdata_QwtWheel.data,
|
||||
qt_meta_data_QwtWheel,
|
||||
qt_static_metacall,
|
||||
nullptr,
|
||||
nullptr
|
||||
} };
|
||||
|
||||
|
||||
const QMetaObject *QwtWheel::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *QwtWheel::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return nullptr;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_QwtWheel.stringdata0))
|
||||
return static_cast<void*>(this);
|
||||
return QWidget::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int QwtWheel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QWidget::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
if (_id < 8)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 8;
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
if (_id < 8)
|
||||
*reinterpret_cast<int*>(_a[0]) = -1;
|
||||
_id -= 8;
|
||||
}
|
||||
#ifndef QT_NO_PROPERTIES
|
||||
else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
|
||||
|| _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 18;
|
||||
} else if (_c == QMetaObject::QueryPropertyDesignable) {
|
||||
_id -= 18;
|
||||
} else if (_c == QMetaObject::QueryPropertyScriptable) {
|
||||
_id -= 18;
|
||||
} else if (_c == QMetaObject::QueryPropertyStored) {
|
||||
_id -= 18;
|
||||
} else if (_c == QMetaObject::QueryPropertyEditable) {
|
||||
_id -= 18;
|
||||
} else if (_c == QMetaObject::QueryPropertyUser) {
|
||||
_id -= 18;
|
||||
}
|
||||
#endif // QT_NO_PROPERTIES
|
||||
return _id;
|
||||
}
|
||||
|
||||
// SIGNAL 0
|
||||
void QwtWheel::valueChanged(double _t1)
|
||||
{
|
||||
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 0, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 1
|
||||
void QwtWheel::wheelPressed()
|
||||
{
|
||||
QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
|
||||
}
|
||||
|
||||
// SIGNAL 2
|
||||
void QwtWheel::wheelReleased()
|
||||
{
|
||||
QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
|
||||
}
|
||||
|
||||
// SIGNAL 3
|
||||
void QwtWheel::wheelMoved(double _t1)
|
||||
{
|
||||
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 3, _a);
|
||||
}
|
||||
QT_WARNING_POP
|
||||
QT_END_MOC_NAMESPACE
|
||||
@@ -0,0 +1,23 @@
|
||||
QMAKE_CXX.QT_COMPILER_STDCXX = 199711L
|
||||
QMAKE_CXX.QMAKE_MSC_VER = 1951
|
||||
QMAKE_CXX.QMAKE_MSC_FULL_VER = 195136260
|
||||
QMAKE_CXX.COMPILER_MACROS = \
|
||||
QT_COMPILER_STDCXX \
|
||||
QMAKE_MSC_VER \
|
||||
QMAKE_MSC_FULL_VER
|
||||
QMAKE_CXX.INCDIRS = \
|
||||
"C:\\Program Files\\Microsoft Visual Studio\\18\\Community\\VC\\Tools\\MSVC\\14.51.36231\\include" \
|
||||
"C:\\Program Files\\Microsoft Visual Studio\\18\\Community\\VC\\Tools\\MSVC\\14.51.36231\\ATLMFC\\include" \
|
||||
"C:\\Program Files\\Microsoft Visual Studio\\18\\Community\\VC\\Auxiliary\\VS\\include" \
|
||||
"C:\\Program Files (x86)\\Windows Kits\\10\\include\\10.0.26100.0\\ucrt" \
|
||||
"C:\\Program Files (x86)\\Windows Kits\\10\\\\include\\10.0.26100.0\\\\um" \
|
||||
"C:\\Program Files (x86)\\Windows Kits\\10\\\\include\\10.0.26100.0\\\\shared" \
|
||||
"C:\\Program Files (x86)\\Windows Kits\\10\\\\include\\10.0.26100.0\\\\winrt" \
|
||||
"C:\\Program Files (x86)\\Windows Kits\\10\\\\include\\10.0.26100.0\\\\cppwinrt" \
|
||||
"C:\\Program Files (x86)\\Windows Kits\\NETFXSDK\\4.8\\include\\um"
|
||||
QMAKE_CXX.LIBDIRS = \
|
||||
"C:\\Program Files\\Microsoft Visual Studio\\18\\Community\\VC\\Tools\\MSVC\\14.51.36231\\ATLMFC\\lib\\x64" \
|
||||
"C:\\Program Files\\Microsoft Visual Studio\\18\\Community\\VC\\Tools\\MSVC\\14.51.36231\\lib\\x64" \
|
||||
"C:\\Program Files (x86)\\Windows Kits\\NETFXSDK\\4.8\\lib\\um\\x64" \
|
||||
"C:\\Program Files (x86)\\Windows Kits\\10\\lib\\10.0.26100.0\\ucrt\\x64" \
|
||||
"C:\\Program Files (x86)\\Windows Kits\\10\\\\lib\\10.0.26100.0\\\\um\\x64"
|
||||
@@ -0,0 +1,339 @@
|
||||
#############################################################################
|
||||
# Makefile for building: qwt
|
||||
# Generated by qmake (3.1) (Qt 5.15.2)
|
||||
# Project: ..\src\src.pro
|
||||
# Template: lib
|
||||
# Command: D:\util\qt-src\install\bin\qmake.exe -o Makefile ..\src\src.pro "CONFIG+=release" "CONFIG-=debug_and_release" "QMAKE_CXXFLAGS+=/FI\"D:\Code\cavity_LIBS_system-master\msvc-deps\compat\qt5_msvc_compat.h\""
|
||||
#############################################################################
|
||||
|
||||
MAKEFILE = Makefile
|
||||
|
||||
EQ = =
|
||||
|
||||
first: all
|
||||
install: release-debug-install
|
||||
uninstall: release-uninstall debug-uninstall
|
||||
QMAKE = D:\util\qt-src\install\bin\qmake.exe
|
||||
DEL_FILE = del
|
||||
CHK_DIR_EXISTS= if not exist
|
||||
MKDIR = mkdir
|
||||
COPY = copy /y
|
||||
COPY_FILE = copy /y
|
||||
COPY_DIR = xcopy /s /q /y /i
|
||||
INSTALL_FILE = copy /y
|
||||
INSTALL_PROGRAM = copy /y
|
||||
INSTALL_DIR = xcopy /s /q /y /i
|
||||
QINSTALL = D:\util\qt-src\install\bin\qmake.exe -install qinstall
|
||||
QINSTALL_PROGRAM = D:\util\qt-src\install\bin\qmake.exe -install qinstall -exe
|
||||
DEL_FILE = del
|
||||
SYMLINK = $(QMAKE) -install ln -f -s
|
||||
DEL_DIR = rmdir
|
||||
MOVE = move
|
||||
IDC = idc
|
||||
IDL = midl
|
||||
ZIP = zip -r -9
|
||||
DEF_FILE =
|
||||
RES_FILE =
|
||||
SED = $(QMAKE) -install sed
|
||||
MOVE = move
|
||||
SUBTARGETS = \
|
||||
release \
|
||||
debug
|
||||
|
||||
|
||||
release: $(MAKEFILE) FORCE
|
||||
@set MAKEFLAGS=$(MAKEFLAGS)
|
||||
$(MAKE) -f $(MAKEFILE).Release
|
||||
release-make_first: FORCE
|
||||
@set MAKEFLAGS=$(MAKEFLAGS)
|
||||
$(MAKE) -f $(MAKEFILE).Release
|
||||
release-all: FORCE
|
||||
@set MAKEFLAGS=$(MAKEFLAGS)
|
||||
$(MAKE) -f $(MAKEFILE).Release all
|
||||
release-clean: FORCE
|
||||
@set MAKEFLAGS=$(MAKEFLAGS)
|
||||
$(MAKE) -f $(MAKEFILE).Release clean
|
||||
release-distclean: FORCE
|
||||
@set MAKEFLAGS=$(MAKEFLAGS)
|
||||
$(MAKE) -f $(MAKEFILE).Release distclean
|
||||
release-install: FORCE
|
||||
@set MAKEFLAGS=$(MAKEFLAGS)
|
||||
$(MAKE) -f $(MAKEFILE).Release install
|
||||
release-uninstall: FORCE
|
||||
@set MAKEFLAGS=$(MAKEFLAGS)
|
||||
$(MAKE) -f $(MAKEFILE).Release uninstall
|
||||
debug: $(MAKEFILE) FORCE
|
||||
@set MAKEFLAGS=$(MAKEFLAGS)
|
||||
$(MAKE) -f $(MAKEFILE).Debug
|
||||
debug-make_first: FORCE
|
||||
@set MAKEFLAGS=$(MAKEFLAGS)
|
||||
$(MAKE) -f $(MAKEFILE).Debug
|
||||
debug-all: FORCE
|
||||
@set MAKEFLAGS=$(MAKEFLAGS)
|
||||
$(MAKE) -f $(MAKEFILE).Debug all
|
||||
debug-clean: FORCE
|
||||
@set MAKEFLAGS=$(MAKEFLAGS)
|
||||
$(MAKE) -f $(MAKEFILE).Debug clean
|
||||
debug-distclean: FORCE
|
||||
@set MAKEFLAGS=$(MAKEFLAGS)
|
||||
$(MAKE) -f $(MAKEFILE).Debug distclean
|
||||
debug-install: FORCE
|
||||
@set MAKEFLAGS=$(MAKEFLAGS)
|
||||
$(MAKE) -f $(MAKEFILE).Debug install
|
||||
debug-uninstall: FORCE
|
||||
@set MAKEFLAGS=$(MAKEFLAGS)
|
||||
$(MAKE) -f $(MAKEFILE).Debug uninstall
|
||||
|
||||
release-debug-install: FORCE
|
||||
@set MAKEFLAGS=$(MAKEFLAGS)
|
||||
$(MAKE) -f $(MAKEFILE).Release install
|
||||
@set MAKEFLAGS=$(MAKEFLAGS)
|
||||
$(MAKE) -f $(MAKEFILE).Debug install
|
||||
|
||||
Makefile: ..\src\src.pro D:\util\qt-src\install\mkspecs\win32-msvc\qmake.conf D:\util\qt-src\install\mkspecs\features\spec_pre.prf \
|
||||
D:\util\qt-src\install\mkspecs\common\angle.conf \
|
||||
D:\util\qt-src\install\mkspecs\common\windows-desktop.conf \
|
||||
D:\util\qt-src\install\mkspecs\features\win32\windows_vulkan_sdk.prf \
|
||||
D:\util\qt-src\install\mkspecs\common\windows-vulkan.conf \
|
||||
D:\util\qt-src\install\mkspecs\common\msvc-desktop.conf \
|
||||
D:\util\qt-src\install\mkspecs\qconfig.pri \
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_accessibility_support_private.pri \
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_axbase.pri \
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_axbase_private.pri \
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_axcontainer.pri \
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_axcontainer_private.pri \
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_axserver.pri \
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_axserver_private.pri \
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_bootstrap_private.pri \
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_concurrent.pri \
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_concurrent_private.pri \
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_core.pri \
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_core_private.pri \
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_dbus.pri \
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_dbus_private.pri \
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_devicediscovery_support_private.pri \
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_edid_support_private.pri \
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_eventdispatcher_support_private.pri \
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_fb_support_private.pri \
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_fontdatabase_support_private.pri \
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_gui.pri \
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_gui_private.pri \
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_network.pri \
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_network_private.pri \
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_networkauth.pri \
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_networkauth_private.pri \
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_opengl.pri \
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_opengl_private.pri \
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_openglextensions.pri \
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_openglextensions_private.pri \
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_platformcompositor_support_private.pri \
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_printsupport.pri \
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_printsupport_private.pri \
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_serialbus.pri \
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_serialbus_private.pri \
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_serialport.pri \
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_serialport_private.pri \
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_sql.pri \
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_sql_private.pri \
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_svg.pri \
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_svg_private.pri \
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_testlib.pri \
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_testlib_private.pri \
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_theme_support_private.pri \
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_widgets.pri \
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_widgets_private.pri \
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_windowsuiautomation_support_private.pri \
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_xml.pri \
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_xml_private.pri \
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_zlib_private.pri \
|
||||
D:\util\qt-src\install\mkspecs\features\qt_functions.prf \
|
||||
D:\util\qt-src\install\mkspecs\features\qt_config.prf \
|
||||
D:\util\qt-src\install\mkspecs\win32-msvc\qmake.conf \
|
||||
D:\util\qt-src\install\mkspecs\features\spec_post.prf \
|
||||
.qmake.stash \
|
||||
D:\util\qt-src\install\mkspecs\features\exclusive_builds.prf \
|
||||
D:\util\qt-src\install\mkspecs\common\msvc-version.conf \
|
||||
D:\util\qt-src\install\mkspecs\features\toolchain.prf \
|
||||
D:\util\qt-src\install\mkspecs\features\default_pre.prf \
|
||||
D:\util\qt-src\install\mkspecs\features\win32\default_pre.prf \
|
||||
..\qwtconfig.pri \
|
||||
..\qwtbuild.pri \
|
||||
..\qwtfunctions.pri \
|
||||
..\src\src.pri \
|
||||
D:\util\qt-src\install\mkspecs\features\resolve_config.prf \
|
||||
D:\util\qt-src\install\mkspecs\features\exclusive_builds_post.prf \
|
||||
D:\util\qt-src\install\mkspecs\features\default_post.prf \
|
||||
D:\util\qt-src\install\mkspecs\features\warn_on.prf \
|
||||
D:\util\qt-src\install\mkspecs\features\qt.prf \
|
||||
D:\util\qt-src\install\mkspecs\features\resources_functions.prf \
|
||||
D:\util\qt-src\install\mkspecs\features\resources.prf \
|
||||
D:\util\qt-src\install\mkspecs\features\moc.prf \
|
||||
D:\util\qt-src\install\mkspecs\features\win32\opengl.prf \
|
||||
D:\util\qt-src\install\mkspecs\features\uic.prf \
|
||||
D:\util\qt-src\install\mkspecs\features\precompile_header.prf \
|
||||
D:\util\qt-src\install\mkspecs\features\qmake_use.prf \
|
||||
D:\util\qt-src\install\mkspecs\features\file_copies.prf \
|
||||
D:\util\qt-src\install\mkspecs\features\win32\windows.prf \
|
||||
D:\util\qt-src\install\mkspecs\features\testcase_targets.prf \
|
||||
D:\util\qt-src\install\mkspecs\features\exceptions.prf \
|
||||
D:\util\qt-src\install\mkspecs\features\yacc.prf \
|
||||
D:\util\qt-src\install\mkspecs\features\lex.prf \
|
||||
D:\util\qt-src\install\mkspecs\features\silent.prf \
|
||||
..\src\src.pro \
|
||||
D:\util\qt-src\install\lib\Qt5PrintSupport.prl \
|
||||
D:\util\qt-src\install\lib\Qt5Svg.prl \
|
||||
D:\util\qt-src\install\lib\Qt5OpenGL.prl \
|
||||
D:\util\qt-src\install\lib\Qt5Widgets.prl \
|
||||
D:\util\qt-src\install\lib\Qt5Gui.prl \
|
||||
D:\util\qt-src\install\lib\Qt5Concurrent.prl \
|
||||
D:\util\qt-src\install\lib\Qt5Core.prl \
|
||||
D:\util\qt-src\install\mkspecs\features\build_pass.prf \
|
||||
D:\util\qt-src\install\lib\Qt5PrintSupportd.prl \
|
||||
D:\util\qt-src\install\lib\Qt5Svgd.prl \
|
||||
D:\util\qt-src\install\lib\Qt5OpenGLd.prl \
|
||||
D:\util\qt-src\install\lib\Qt5Widgetsd.prl \
|
||||
D:\util\qt-src\install\lib\Qt5Guid.prl \
|
||||
D:\util\qt-src\install\lib\Qt5Concurrentd.prl \
|
||||
D:\util\qt-src\install\lib\Qt5Cored.prl
|
||||
$(QMAKE) -o Makefile ..\src\src.pro "CONFIG+=release" "CONFIG-=debug_and_release" "QMAKE_CXXFLAGS+=/FI\"D:\Code\cavity_LIBS_system-master\msvc-deps\compat\qt5_msvc_compat.h\""
|
||||
D:\util\qt-src\install\mkspecs\features\spec_pre.prf:
|
||||
D:\util\qt-src\install\mkspecs\common\angle.conf:
|
||||
D:\util\qt-src\install\mkspecs\common\windows-desktop.conf:
|
||||
D:\util\qt-src\install\mkspecs\features\win32\windows_vulkan_sdk.prf:
|
||||
D:\util\qt-src\install\mkspecs\common\windows-vulkan.conf:
|
||||
D:\util\qt-src\install\mkspecs\common\msvc-desktop.conf:
|
||||
D:\util\qt-src\install\mkspecs\qconfig.pri:
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_accessibility_support_private.pri:
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_axbase.pri:
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_axbase_private.pri:
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_axcontainer.pri:
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_axcontainer_private.pri:
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_axserver.pri:
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_axserver_private.pri:
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_bootstrap_private.pri:
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_concurrent.pri:
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_concurrent_private.pri:
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_core.pri:
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_core_private.pri:
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_dbus.pri:
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_dbus_private.pri:
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_devicediscovery_support_private.pri:
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_edid_support_private.pri:
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_eventdispatcher_support_private.pri:
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_fb_support_private.pri:
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_fontdatabase_support_private.pri:
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_gui.pri:
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_gui_private.pri:
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_network.pri:
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_network_private.pri:
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_networkauth.pri:
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_networkauth_private.pri:
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_opengl.pri:
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_opengl_private.pri:
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_openglextensions.pri:
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_openglextensions_private.pri:
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_platformcompositor_support_private.pri:
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_printsupport.pri:
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_printsupport_private.pri:
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_serialbus.pri:
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_serialbus_private.pri:
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_serialport.pri:
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_serialport_private.pri:
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_sql.pri:
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_sql_private.pri:
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_svg.pri:
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_svg_private.pri:
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_testlib.pri:
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_testlib_private.pri:
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_theme_support_private.pri:
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_widgets.pri:
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_widgets_private.pri:
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_windowsuiautomation_support_private.pri:
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_xml.pri:
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_xml_private.pri:
|
||||
D:\util\qt-src\install\mkspecs\modules\qt_lib_zlib_private.pri:
|
||||
D:\util\qt-src\install\mkspecs\features\qt_functions.prf:
|
||||
D:\util\qt-src\install\mkspecs\features\qt_config.prf:
|
||||
D:\util\qt-src\install\mkspecs\win32-msvc\qmake.conf:
|
||||
D:\util\qt-src\install\mkspecs\features\spec_post.prf:
|
||||
.qmake.stash:
|
||||
D:\util\qt-src\install\mkspecs\features\exclusive_builds.prf:
|
||||
D:\util\qt-src\install\mkspecs\common\msvc-version.conf:
|
||||
D:\util\qt-src\install\mkspecs\features\toolchain.prf:
|
||||
D:\util\qt-src\install\mkspecs\features\default_pre.prf:
|
||||
D:\util\qt-src\install\mkspecs\features\win32\default_pre.prf:
|
||||
..\qwtconfig.pri:
|
||||
..\qwtbuild.pri:
|
||||
..\qwtfunctions.pri:
|
||||
..\src\src.pri:
|
||||
D:\util\qt-src\install\mkspecs\features\resolve_config.prf:
|
||||
D:\util\qt-src\install\mkspecs\features\exclusive_builds_post.prf:
|
||||
D:\util\qt-src\install\mkspecs\features\default_post.prf:
|
||||
D:\util\qt-src\install\mkspecs\features\warn_on.prf:
|
||||
D:\util\qt-src\install\mkspecs\features\qt.prf:
|
||||
D:\util\qt-src\install\mkspecs\features\resources_functions.prf:
|
||||
D:\util\qt-src\install\mkspecs\features\resources.prf:
|
||||
D:\util\qt-src\install\mkspecs\features\moc.prf:
|
||||
D:\util\qt-src\install\mkspecs\features\win32\opengl.prf:
|
||||
D:\util\qt-src\install\mkspecs\features\uic.prf:
|
||||
D:\util\qt-src\install\mkspecs\features\precompile_header.prf:
|
||||
D:\util\qt-src\install\mkspecs\features\qmake_use.prf:
|
||||
D:\util\qt-src\install\mkspecs\features\file_copies.prf:
|
||||
D:\util\qt-src\install\mkspecs\features\win32\windows.prf:
|
||||
D:\util\qt-src\install\mkspecs\features\testcase_targets.prf:
|
||||
D:\util\qt-src\install\mkspecs\features\exceptions.prf:
|
||||
D:\util\qt-src\install\mkspecs\features\yacc.prf:
|
||||
D:\util\qt-src\install\mkspecs\features\lex.prf:
|
||||
D:\util\qt-src\install\mkspecs\features\silent.prf:
|
||||
..\src\src.pro:
|
||||
D:\util\qt-src\install\lib\Qt5PrintSupport.prl:
|
||||
D:\util\qt-src\install\lib\Qt5Svg.prl:
|
||||
D:\util\qt-src\install\lib\Qt5OpenGL.prl:
|
||||
D:\util\qt-src\install\lib\Qt5Widgets.prl:
|
||||
D:\util\qt-src\install\lib\Qt5Gui.prl:
|
||||
D:\util\qt-src\install\lib\Qt5Concurrent.prl:
|
||||
D:\util\qt-src\install\lib\Qt5Core.prl:
|
||||
D:\util\qt-src\install\mkspecs\features\build_pass.prf:
|
||||
D:\util\qt-src\install\lib\Qt5PrintSupportd.prl:
|
||||
D:\util\qt-src\install\lib\Qt5Svgd.prl:
|
||||
D:\util\qt-src\install\lib\Qt5OpenGLd.prl:
|
||||
D:\util\qt-src\install\lib\Qt5Widgetsd.prl:
|
||||
D:\util\qt-src\install\lib\Qt5Guid.prl:
|
||||
D:\util\qt-src\install\lib\Qt5Concurrentd.prl:
|
||||
D:\util\qt-src\install\lib\Qt5Cored.prl:
|
||||
qmake: FORCE
|
||||
@$(QMAKE) -o Makefile ..\src\src.pro "CONFIG+=release" "CONFIG-=debug_and_release" "QMAKE_CXXFLAGS+=/FI\"D:\Code\cavity_LIBS_system-master\msvc-deps\compat\qt5_msvc_compat.h\""
|
||||
|
||||
qmake_all: FORCE
|
||||
|
||||
make_first: release-make_first debug-make_first FORCE
|
||||
all: release-all debug-all FORCE
|
||||
clean: release-clean debug-clean FORCE
|
||||
-$(DEL_FILE) ..\lib\qwt.exp
|
||||
distclean: release-distclean debug-distclean FORCE
|
||||
-$(DEL_FILE) Makefile
|
||||
-$(DEL_FILE) .qmake.stash ..\lib\qwt.lib
|
||||
|
||||
release-mocclean:
|
||||
@set MAKEFLAGS=$(MAKEFLAGS)
|
||||
$(MAKE) -f $(MAKEFILE).Release mocclean
|
||||
debug-mocclean:
|
||||
@set MAKEFLAGS=$(MAKEFLAGS)
|
||||
$(MAKE) -f $(MAKEFILE).Debug mocclean
|
||||
mocclean: release-mocclean debug-mocclean
|
||||
|
||||
release-mocables:
|
||||
@set MAKEFLAGS=$(MAKEFLAGS)
|
||||
$(MAKE) -f $(MAKEFILE).Release mocables
|
||||
debug-mocables:
|
||||
@set MAKEFLAGS=$(MAKEFLAGS)
|
||||
$(MAKE) -f $(MAKEFILE).Debug mocables
|
||||
mocables: release-mocables debug-mocables
|
||||
|
||||
check: first
|
||||
|
||||
benchmark: first
|
||||
FORCE:
|
||||
|
||||
$(MAKEFILE).Release: Makefile
|
||||
$(MAKEFILE).Debug: Makefile
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1,10 @@
|
||||
#define _MSC_VER 1951
|
||||
#define _MSC_FULL_VER 195136260
|
||||
#define _MSC_BUILD 0
|
||||
#define _M_AMD64 100
|
||||
#define _M_X64 100
|
||||
#define _WIN64
|
||||
#define _WIN32
|
||||
#define _CPPRTTI
|
||||
#define _MT
|
||||
#define _DLL
|
||||
@@ -0,0 +1,123 @@
|
||||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'qwt_abstract_legend.h'
|
||||
**
|
||||
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2)
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost!
|
||||
*****************************************************************************/
|
||||
|
||||
#include <memory>
|
||||
#include "../../src/qwt_abstract_legend.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#include <QtCore/QList>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'qwt_abstract_legend.h' doesn't include <QObject>."
|
||||
#elif Q_MOC_OUTPUT_REVISION != 67
|
||||
#error "This file was generated using the moc from 5.15.2. It"
|
||||
#error "cannot be used with the include files from this version of Qt."
|
||||
#error "(The moc has changed too much.)"
|
||||
#endif
|
||||
|
||||
QT_BEGIN_MOC_NAMESPACE
|
||||
QT_WARNING_PUSH
|
||||
QT_WARNING_DISABLE_DEPRECATED
|
||||
struct qt_meta_stringdata_QwtAbstractLegend_t {
|
||||
QByteArrayData data[6];
|
||||
char stringdata0[67];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_QwtAbstractLegend_t, stringdata0) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_QwtAbstractLegend_t qt_meta_stringdata_QwtAbstractLegend = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 17), // "QwtAbstractLegend"
|
||||
QT_MOC_LITERAL(1, 18, 12), // "updateLegend"
|
||||
QT_MOC_LITERAL(2, 31, 0), // ""
|
||||
QT_MOC_LITERAL(3, 32, 8), // "itemInfo"
|
||||
QT_MOC_LITERAL(4, 41, 20), // "QList<QwtLegendData>"
|
||||
QT_MOC_LITERAL(5, 62, 4) // "data"
|
||||
|
||||
},
|
||||
"QwtAbstractLegend\0updateLegend\0\0"
|
||||
"itemInfo\0QList<QwtLegendData>\0data"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_QwtAbstractLegend[] = {
|
||||
|
||||
// content:
|
||||
8, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
1, 14, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
0, // signalCount
|
||||
|
||||
// slots: name, argc, parameters, tag, flags
|
||||
1, 2, 19, 2, 0x0a /* Public */,
|
||||
|
||||
// slots: parameters
|
||||
QMetaType::Void, QMetaType::QVariant, 0x80000000 | 4, 3, 5,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void QwtAbstractLegend::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
auto *_t = static_cast<QwtAbstractLegend *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
switch (_id) {
|
||||
case 0: _t->updateLegend((*reinterpret_cast< const QVariant(*)>(_a[1])),(*reinterpret_cast< const QList<QwtLegendData>(*)>(_a[2]))); break;
|
||||
default: ;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
QT_INIT_METAOBJECT const QMetaObject QwtAbstractLegend::staticMetaObject = { {
|
||||
QMetaObject::SuperData::link<QFrame::staticMetaObject>(),
|
||||
qt_meta_stringdata_QwtAbstractLegend.data,
|
||||
qt_meta_data_QwtAbstractLegend,
|
||||
qt_static_metacall,
|
||||
nullptr,
|
||||
nullptr
|
||||
} };
|
||||
|
||||
|
||||
const QMetaObject *QwtAbstractLegend::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *QwtAbstractLegend::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return nullptr;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_QwtAbstractLegend.stringdata0))
|
||||
return static_cast<void*>(this);
|
||||
return QFrame::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int QwtAbstractLegend::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QFrame::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
if (_id < 1)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 1;
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
if (_id < 1)
|
||||
*reinterpret_cast<int*>(_a[0]) = -1;
|
||||
_id -= 1;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
QT_WARNING_POP
|
||||
QT_END_MOC_NAMESPACE
|
||||
@@ -0,0 +1,157 @@
|
||||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'qwt_abstract_scale.h'
|
||||
**
|
||||
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2)
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost!
|
||||
*****************************************************************************/
|
||||
|
||||
#include <memory>
|
||||
#include "../../src/qwt_abstract_scale.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'qwt_abstract_scale.h' doesn't include <QObject>."
|
||||
#elif Q_MOC_OUTPUT_REVISION != 67
|
||||
#error "This file was generated using the moc from 5.15.2. It"
|
||||
#error "cannot be used with the include files from this version of Qt."
|
||||
#error "(The moc has changed too much.)"
|
||||
#endif
|
||||
|
||||
QT_BEGIN_MOC_NAMESPACE
|
||||
QT_WARNING_PUSH
|
||||
QT_WARNING_DISABLE_DEPRECATED
|
||||
struct qt_meta_stringdata_QwtAbstractScale_t {
|
||||
QByteArrayData data[6];
|
||||
char stringdata0[81];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_QwtAbstractScale_t, stringdata0) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_QwtAbstractScale_t qt_meta_stringdata_QwtAbstractScale = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 16), // "QwtAbstractScale"
|
||||
QT_MOC_LITERAL(1, 17, 10), // "lowerBound"
|
||||
QT_MOC_LITERAL(2, 28, 10), // "upperBound"
|
||||
QT_MOC_LITERAL(3, 39, 13), // "scaleMaxMajor"
|
||||
QT_MOC_LITERAL(4, 53, 13), // "scaleMaxMinor"
|
||||
QT_MOC_LITERAL(5, 67, 13) // "scaleStepSize"
|
||||
|
||||
},
|
||||
"QwtAbstractScale\0lowerBound\0upperBound\0"
|
||||
"scaleMaxMajor\0scaleMaxMinor\0scaleStepSize"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_QwtAbstractScale[] = {
|
||||
|
||||
// content:
|
||||
8, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
0, 0, // methods
|
||||
5, 14, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
0, // signalCount
|
||||
|
||||
// properties: name, type, flags
|
||||
1, QMetaType::Double, 0x00095103,
|
||||
2, QMetaType::Double, 0x00095103,
|
||||
3, QMetaType::Int, 0x00095103,
|
||||
4, QMetaType::Int, 0x00095103,
|
||||
5, QMetaType::Double, 0x00095103,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void QwtAbstractScale::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
|
||||
#ifndef QT_NO_PROPERTIES
|
||||
if (_c == QMetaObject::ReadProperty) {
|
||||
auto *_t = static_cast<QwtAbstractScale *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
void *_v = _a[0];
|
||||
switch (_id) {
|
||||
case 0: *reinterpret_cast< double*>(_v) = _t->lowerBound(); break;
|
||||
case 1: *reinterpret_cast< double*>(_v) = _t->upperBound(); break;
|
||||
case 2: *reinterpret_cast< int*>(_v) = _t->scaleMaxMajor(); break;
|
||||
case 3: *reinterpret_cast< int*>(_v) = _t->scaleMaxMinor(); break;
|
||||
case 4: *reinterpret_cast< double*>(_v) = _t->scaleStepSize(); break;
|
||||
default: break;
|
||||
}
|
||||
} else if (_c == QMetaObject::WriteProperty) {
|
||||
auto *_t = static_cast<QwtAbstractScale *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
void *_v = _a[0];
|
||||
switch (_id) {
|
||||
case 0: _t->setLowerBound(*reinterpret_cast< double*>(_v)); break;
|
||||
case 1: _t->setUpperBound(*reinterpret_cast< double*>(_v)); break;
|
||||
case 2: _t->setScaleMaxMajor(*reinterpret_cast< int*>(_v)); break;
|
||||
case 3: _t->setScaleMaxMinor(*reinterpret_cast< int*>(_v)); break;
|
||||
case 4: _t->setScaleStepSize(*reinterpret_cast< double*>(_v)); break;
|
||||
default: break;
|
||||
}
|
||||
} else if (_c == QMetaObject::ResetProperty) {
|
||||
}
|
||||
#endif // QT_NO_PROPERTIES
|
||||
Q_UNUSED(_o);
|
||||
Q_UNUSED(_id);
|
||||
Q_UNUSED(_c);
|
||||
Q_UNUSED(_a);
|
||||
}
|
||||
|
||||
QT_INIT_METAOBJECT const QMetaObject QwtAbstractScale::staticMetaObject = { {
|
||||
QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
|
||||
qt_meta_stringdata_QwtAbstractScale.data,
|
||||
qt_meta_data_QwtAbstractScale,
|
||||
qt_static_metacall,
|
||||
nullptr,
|
||||
nullptr
|
||||
} };
|
||||
|
||||
|
||||
const QMetaObject *QwtAbstractScale::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *QwtAbstractScale::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return nullptr;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_QwtAbstractScale.stringdata0))
|
||||
return static_cast<void*>(this);
|
||||
return QWidget::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int QwtAbstractScale::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QWidget::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
|
||||
#ifndef QT_NO_PROPERTIES
|
||||
if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
|
||||
|| _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 5;
|
||||
} else if (_c == QMetaObject::QueryPropertyDesignable) {
|
||||
_id -= 5;
|
||||
} else if (_c == QMetaObject::QueryPropertyScriptable) {
|
||||
_id -= 5;
|
||||
} else if (_c == QMetaObject::QueryPropertyStored) {
|
||||
_id -= 5;
|
||||
} else if (_c == QMetaObject::QueryPropertyEditable) {
|
||||
_id -= 5;
|
||||
} else if (_c == QMetaObject::QueryPropertyUser) {
|
||||
_id -= 5;
|
||||
}
|
||||
#endif // QT_NO_PROPERTIES
|
||||
return _id;
|
||||
}
|
||||
QT_WARNING_POP
|
||||
QT_END_MOC_NAMESPACE
|
||||
@@ -0,0 +1,282 @@
|
||||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'qwt_abstract_slider.h'
|
||||
**
|
||||
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2)
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost!
|
||||
*****************************************************************************/
|
||||
|
||||
#include <memory>
|
||||
#include "../../src/qwt_abstract_slider.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'qwt_abstract_slider.h' doesn't include <QObject>."
|
||||
#elif Q_MOC_OUTPUT_REVISION != 67
|
||||
#error "This file was generated using the moc from 5.15.2. It"
|
||||
#error "cannot be used with the include files from this version of Qt."
|
||||
#error "(The moc has changed too much.)"
|
||||
#endif
|
||||
|
||||
QT_BEGIN_MOC_NAMESPACE
|
||||
QT_WARNING_PUSH
|
||||
QT_WARNING_DISABLE_DEPRECATED
|
||||
struct qt_meta_stringdata_QwtAbstractSlider_t {
|
||||
QByteArrayData data[16];
|
||||
char stringdata0[179];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_QwtAbstractSlider_t, stringdata0) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_QwtAbstractSlider_t qt_meta_stringdata_QwtAbstractSlider = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 17), // "QwtAbstractSlider"
|
||||
QT_MOC_LITERAL(1, 18, 12), // "valueChanged"
|
||||
QT_MOC_LITERAL(2, 31, 0), // ""
|
||||
QT_MOC_LITERAL(3, 32, 5), // "value"
|
||||
QT_MOC_LITERAL(4, 38, 13), // "sliderPressed"
|
||||
QT_MOC_LITERAL(5, 52, 14), // "sliderReleased"
|
||||
QT_MOC_LITERAL(6, 67, 11), // "sliderMoved"
|
||||
QT_MOC_LITERAL(7, 79, 8), // "setValue"
|
||||
QT_MOC_LITERAL(8, 88, 10), // "totalSteps"
|
||||
QT_MOC_LITERAL(9, 99, 11), // "singleSteps"
|
||||
QT_MOC_LITERAL(10, 111, 9), // "pageSteps"
|
||||
QT_MOC_LITERAL(11, 121, 13), // "stepAlignment"
|
||||
QT_MOC_LITERAL(12, 135, 8), // "readOnly"
|
||||
QT_MOC_LITERAL(13, 144, 8), // "tracking"
|
||||
QT_MOC_LITERAL(14, 153, 8), // "wrapping"
|
||||
QT_MOC_LITERAL(15, 162, 16) // "invertedControls"
|
||||
|
||||
},
|
||||
"QwtAbstractSlider\0valueChanged\0\0value\0"
|
||||
"sliderPressed\0sliderReleased\0sliderMoved\0"
|
||||
"setValue\0totalSteps\0singleSteps\0"
|
||||
"pageSteps\0stepAlignment\0readOnly\0"
|
||||
"tracking\0wrapping\0invertedControls"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_QwtAbstractSlider[] = {
|
||||
|
||||
// content:
|
||||
8, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
5, 14, // methods
|
||||
9, 50, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
4, // signalCount
|
||||
|
||||
// signals: name, argc, parameters, tag, flags
|
||||
1, 1, 39, 2, 0x06 /* Public */,
|
||||
4, 0, 42, 2, 0x06 /* Public */,
|
||||
5, 0, 43, 2, 0x06 /* Public */,
|
||||
6, 1, 44, 2, 0x06 /* Public */,
|
||||
|
||||
// slots: name, argc, parameters, tag, flags
|
||||
7, 1, 47, 2, 0x0a /* Public */,
|
||||
|
||||
// signals: parameters
|
||||
QMetaType::Void, QMetaType::Double, 3,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void, QMetaType::Double, 3,
|
||||
|
||||
// slots: parameters
|
||||
QMetaType::Void, QMetaType::Double, 3,
|
||||
|
||||
// properties: name, type, flags
|
||||
3, QMetaType::Double, 0x00595103,
|
||||
8, QMetaType::UInt, 0x00095103,
|
||||
9, QMetaType::UInt, 0x00095103,
|
||||
10, QMetaType::UInt, 0x00095103,
|
||||
11, QMetaType::Bool, 0x00095103,
|
||||
12, QMetaType::Bool, 0x00095103,
|
||||
13, QMetaType::Bool, 0x00095103,
|
||||
14, QMetaType::Bool, 0x00095103,
|
||||
15, QMetaType::Bool, 0x00095103,
|
||||
|
||||
// properties: notify_signal_id
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void QwtAbstractSlider::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
auto *_t = static_cast<QwtAbstractSlider *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
switch (_id) {
|
||||
case 0: _t->valueChanged((*reinterpret_cast< double(*)>(_a[1]))); break;
|
||||
case 1: _t->sliderPressed(); break;
|
||||
case 2: _t->sliderReleased(); break;
|
||||
case 3: _t->sliderMoved((*reinterpret_cast< double(*)>(_a[1]))); break;
|
||||
case 4: _t->setValue((*reinterpret_cast< double(*)>(_a[1]))); break;
|
||||
default: ;
|
||||
}
|
||||
} else if (_c == QMetaObject::IndexOfMethod) {
|
||||
int *result = reinterpret_cast<int *>(_a[0]);
|
||||
{
|
||||
using _t = void (QwtAbstractSlider::*)(double );
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QwtAbstractSlider::valueChanged)) {
|
||||
*result = 0;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
using _t = void (QwtAbstractSlider::*)();
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QwtAbstractSlider::sliderPressed)) {
|
||||
*result = 1;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
using _t = void (QwtAbstractSlider::*)();
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QwtAbstractSlider::sliderReleased)) {
|
||||
*result = 2;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
using _t = void (QwtAbstractSlider::*)(double );
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QwtAbstractSlider::sliderMoved)) {
|
||||
*result = 3;
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
#ifndef QT_NO_PROPERTIES
|
||||
else if (_c == QMetaObject::ReadProperty) {
|
||||
auto *_t = static_cast<QwtAbstractSlider *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
void *_v = _a[0];
|
||||
switch (_id) {
|
||||
case 0: *reinterpret_cast< double*>(_v) = _t->value(); break;
|
||||
case 1: *reinterpret_cast< uint*>(_v) = _t->totalSteps(); break;
|
||||
case 2: *reinterpret_cast< uint*>(_v) = _t->singleSteps(); break;
|
||||
case 3: *reinterpret_cast< uint*>(_v) = _t->pageSteps(); break;
|
||||
case 4: *reinterpret_cast< bool*>(_v) = _t->stepAlignment(); break;
|
||||
case 5: *reinterpret_cast< bool*>(_v) = _t->isReadOnly(); break;
|
||||
case 6: *reinterpret_cast< bool*>(_v) = _t->isTracking(); break;
|
||||
case 7: *reinterpret_cast< bool*>(_v) = _t->wrapping(); break;
|
||||
case 8: *reinterpret_cast< bool*>(_v) = _t->invertedControls(); break;
|
||||
default: break;
|
||||
}
|
||||
} else if (_c == QMetaObject::WriteProperty) {
|
||||
auto *_t = static_cast<QwtAbstractSlider *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
void *_v = _a[0];
|
||||
switch (_id) {
|
||||
case 0: _t->setValue(*reinterpret_cast< double*>(_v)); break;
|
||||
case 1: _t->setTotalSteps(*reinterpret_cast< uint*>(_v)); break;
|
||||
case 2: _t->setSingleSteps(*reinterpret_cast< uint*>(_v)); break;
|
||||
case 3: _t->setPageSteps(*reinterpret_cast< uint*>(_v)); break;
|
||||
case 4: _t->setStepAlignment(*reinterpret_cast< bool*>(_v)); break;
|
||||
case 5: _t->setReadOnly(*reinterpret_cast< bool*>(_v)); break;
|
||||
case 6: _t->setTracking(*reinterpret_cast< bool*>(_v)); break;
|
||||
case 7: _t->setWrapping(*reinterpret_cast< bool*>(_v)); break;
|
||||
case 8: _t->setInvertedControls(*reinterpret_cast< bool*>(_v)); break;
|
||||
default: break;
|
||||
}
|
||||
} else if (_c == QMetaObject::ResetProperty) {
|
||||
}
|
||||
#endif // QT_NO_PROPERTIES
|
||||
}
|
||||
|
||||
QT_INIT_METAOBJECT const QMetaObject QwtAbstractSlider::staticMetaObject = { {
|
||||
QMetaObject::SuperData::link<QwtAbstractScale::staticMetaObject>(),
|
||||
qt_meta_stringdata_QwtAbstractSlider.data,
|
||||
qt_meta_data_QwtAbstractSlider,
|
||||
qt_static_metacall,
|
||||
nullptr,
|
||||
nullptr
|
||||
} };
|
||||
|
||||
|
||||
const QMetaObject *QwtAbstractSlider::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *QwtAbstractSlider::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return nullptr;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_QwtAbstractSlider.stringdata0))
|
||||
return static_cast<void*>(this);
|
||||
return QwtAbstractScale::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int QwtAbstractSlider::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QwtAbstractScale::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
if (_id < 5)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 5;
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
if (_id < 5)
|
||||
*reinterpret_cast<int*>(_a[0]) = -1;
|
||||
_id -= 5;
|
||||
}
|
||||
#ifndef QT_NO_PROPERTIES
|
||||
else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
|
||||
|| _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 9;
|
||||
} else if (_c == QMetaObject::QueryPropertyDesignable) {
|
||||
_id -= 9;
|
||||
} else if (_c == QMetaObject::QueryPropertyScriptable) {
|
||||
_id -= 9;
|
||||
} else if (_c == QMetaObject::QueryPropertyStored) {
|
||||
_id -= 9;
|
||||
} else if (_c == QMetaObject::QueryPropertyEditable) {
|
||||
_id -= 9;
|
||||
} else if (_c == QMetaObject::QueryPropertyUser) {
|
||||
_id -= 9;
|
||||
}
|
||||
#endif // QT_NO_PROPERTIES
|
||||
return _id;
|
||||
}
|
||||
|
||||
// SIGNAL 0
|
||||
void QwtAbstractSlider::valueChanged(double _t1)
|
||||
{
|
||||
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 0, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 1
|
||||
void QwtAbstractSlider::sliderPressed()
|
||||
{
|
||||
QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
|
||||
}
|
||||
|
||||
// SIGNAL 2
|
||||
void QwtAbstractSlider::sliderReleased()
|
||||
{
|
||||
QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
|
||||
}
|
||||
|
||||
// SIGNAL 3
|
||||
void QwtAbstractSlider::sliderMoved(double _t1)
|
||||
{
|
||||
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 3, _a);
|
||||
}
|
||||
QT_WARNING_POP
|
||||
QT_END_MOC_NAMESPACE
|
||||
@@ -0,0 +1,122 @@
|
||||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'qwt_analog_clock.h'
|
||||
**
|
||||
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2)
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost!
|
||||
*****************************************************************************/
|
||||
|
||||
#include <memory>
|
||||
#include "../../src/qwt_analog_clock.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'qwt_analog_clock.h' doesn't include <QObject>."
|
||||
#elif Q_MOC_OUTPUT_REVISION != 67
|
||||
#error "This file was generated using the moc from 5.15.2. It"
|
||||
#error "cannot be used with the include files from this version of Qt."
|
||||
#error "(The moc has changed too much.)"
|
||||
#endif
|
||||
|
||||
QT_BEGIN_MOC_NAMESPACE
|
||||
QT_WARNING_PUSH
|
||||
QT_WARNING_DISABLE_DEPRECATED
|
||||
struct qt_meta_stringdata_QwtAnalogClock_t {
|
||||
QByteArrayData data[4];
|
||||
char stringdata0[39];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_QwtAnalogClock_t, stringdata0) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_QwtAnalogClock_t qt_meta_stringdata_QwtAnalogClock = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 14), // "QwtAnalogClock"
|
||||
QT_MOC_LITERAL(1, 15, 14), // "setCurrentTime"
|
||||
QT_MOC_LITERAL(2, 30, 0), // ""
|
||||
QT_MOC_LITERAL(3, 31, 7) // "setTime"
|
||||
|
||||
},
|
||||
"QwtAnalogClock\0setCurrentTime\0\0setTime"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_QwtAnalogClock[] = {
|
||||
|
||||
// content:
|
||||
8, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
2, 14, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
0, // signalCount
|
||||
|
||||
// slots: name, argc, parameters, tag, flags
|
||||
1, 0, 24, 2, 0x0a /* Public */,
|
||||
3, 1, 25, 2, 0x0a /* Public */,
|
||||
|
||||
// slots: parameters
|
||||
QMetaType::Void,
|
||||
QMetaType::Void, QMetaType::QTime, 2,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void QwtAnalogClock::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
auto *_t = static_cast<QwtAnalogClock *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
switch (_id) {
|
||||
case 0: _t->setCurrentTime(); break;
|
||||
case 1: _t->setTime((*reinterpret_cast< const QTime(*)>(_a[1]))); break;
|
||||
default: ;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
QT_INIT_METAOBJECT const QMetaObject QwtAnalogClock::staticMetaObject = { {
|
||||
QMetaObject::SuperData::link<QwtDial::staticMetaObject>(),
|
||||
qt_meta_stringdata_QwtAnalogClock.data,
|
||||
qt_meta_data_QwtAnalogClock,
|
||||
qt_static_metacall,
|
||||
nullptr,
|
||||
nullptr
|
||||
} };
|
||||
|
||||
|
||||
const QMetaObject *QwtAnalogClock::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *QwtAnalogClock::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return nullptr;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_QwtAnalogClock.stringdata0))
|
||||
return static_cast<void*>(this);
|
||||
return QwtDial::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int QwtAnalogClock::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QwtDial::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
if (_id < 2)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 2;
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
if (_id < 2)
|
||||
*reinterpret_cast<int*>(_a[0]) = -1;
|
||||
_id -= 2;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
QT_WARNING_POP
|
||||
QT_END_MOC_NAMESPACE
|
||||
@@ -0,0 +1,95 @@
|
||||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'qwt_compass.h'
|
||||
**
|
||||
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2)
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost!
|
||||
*****************************************************************************/
|
||||
|
||||
#include <memory>
|
||||
#include "../../src/qwt_compass.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'qwt_compass.h' doesn't include <QObject>."
|
||||
#elif Q_MOC_OUTPUT_REVISION != 67
|
||||
#error "This file was generated using the moc from 5.15.2. It"
|
||||
#error "cannot be used with the include files from this version of Qt."
|
||||
#error "(The moc has changed too much.)"
|
||||
#endif
|
||||
|
||||
QT_BEGIN_MOC_NAMESPACE
|
||||
QT_WARNING_PUSH
|
||||
QT_WARNING_DISABLE_DEPRECATED
|
||||
struct qt_meta_stringdata_QwtCompass_t {
|
||||
QByteArrayData data[1];
|
||||
char stringdata0[11];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_QwtCompass_t, stringdata0) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_QwtCompass_t qt_meta_stringdata_QwtCompass = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 10) // "QwtCompass"
|
||||
|
||||
},
|
||||
"QwtCompass"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_QwtCompass[] = {
|
||||
|
||||
// content:
|
||||
8, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
0, 0, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
0, // signalCount
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void QwtCompass::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
Q_UNUSED(_o);
|
||||
Q_UNUSED(_id);
|
||||
Q_UNUSED(_c);
|
||||
Q_UNUSED(_a);
|
||||
}
|
||||
|
||||
QT_INIT_METAOBJECT const QMetaObject QwtCompass::staticMetaObject = { {
|
||||
QMetaObject::SuperData::link<QwtDial::staticMetaObject>(),
|
||||
qt_meta_stringdata_QwtCompass.data,
|
||||
qt_meta_data_QwtCompass,
|
||||
qt_static_metacall,
|
||||
nullptr,
|
||||
nullptr
|
||||
} };
|
||||
|
||||
|
||||
const QMetaObject *QwtCompass::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *QwtCompass::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return nullptr;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_QwtCompass.stringdata0))
|
||||
return static_cast<void*>(this);
|
||||
return QwtDial::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int QwtCompass::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QwtDial::qt_metacall(_c, _id, _a);
|
||||
return _id;
|
||||
}
|
||||
QT_WARNING_POP
|
||||
QT_END_MOC_NAMESPACE
|
||||
@@ -0,0 +1,266 @@
|
||||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'qwt_counter.h'
|
||||
**
|
||||
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2)
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost!
|
||||
*****************************************************************************/
|
||||
|
||||
#include <memory>
|
||||
#include "../../src/qwt_counter.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'qwt_counter.h' doesn't include <QObject>."
|
||||
#elif Q_MOC_OUTPUT_REVISION != 67
|
||||
#error "This file was generated using the moc from 5.15.2. It"
|
||||
#error "cannot be used with the include files from this version of Qt."
|
||||
#error "(The moc has changed too much.)"
|
||||
#endif
|
||||
|
||||
QT_BEGIN_MOC_NAMESPACE
|
||||
QT_WARNING_PUSH
|
||||
QT_WARNING_DISABLE_DEPRECATED
|
||||
struct qt_meta_stringdata_QwtCounter_t {
|
||||
QByteArrayData data[18];
|
||||
char stringdata0[182];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_QwtCounter_t, stringdata0) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_QwtCounter_t qt_meta_stringdata_QwtCounter = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 10), // "QwtCounter"
|
||||
QT_MOC_LITERAL(1, 11, 14), // "buttonReleased"
|
||||
QT_MOC_LITERAL(2, 26, 0), // ""
|
||||
QT_MOC_LITERAL(3, 27, 5), // "value"
|
||||
QT_MOC_LITERAL(4, 33, 12), // "valueChanged"
|
||||
QT_MOC_LITERAL(5, 46, 8), // "setValue"
|
||||
QT_MOC_LITERAL(6, 55, 11), // "btnReleased"
|
||||
QT_MOC_LITERAL(7, 67, 10), // "btnClicked"
|
||||
QT_MOC_LITERAL(8, 78, 11), // "textChanged"
|
||||
QT_MOC_LITERAL(9, 90, 7), // "minimum"
|
||||
QT_MOC_LITERAL(10, 98, 7), // "maximum"
|
||||
QT_MOC_LITERAL(11, 106, 10), // "singleStep"
|
||||
QT_MOC_LITERAL(12, 117, 10), // "numButtons"
|
||||
QT_MOC_LITERAL(13, 128, 11), // "stepButton1"
|
||||
QT_MOC_LITERAL(14, 140, 11), // "stepButton2"
|
||||
QT_MOC_LITERAL(15, 152, 11), // "stepButton3"
|
||||
QT_MOC_LITERAL(16, 164, 8), // "readOnly"
|
||||
QT_MOC_LITERAL(17, 173, 8) // "wrapping"
|
||||
|
||||
},
|
||||
"QwtCounter\0buttonReleased\0\0value\0"
|
||||
"valueChanged\0setValue\0btnReleased\0"
|
||||
"btnClicked\0textChanged\0minimum\0maximum\0"
|
||||
"singleStep\0numButtons\0stepButton1\0"
|
||||
"stepButton2\0stepButton3\0readOnly\0"
|
||||
"wrapping"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_QwtCounter[] = {
|
||||
|
||||
// content:
|
||||
8, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
6, 14, // methods
|
||||
10, 56, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
2, // signalCount
|
||||
|
||||
// signals: name, argc, parameters, tag, flags
|
||||
1, 1, 44, 2, 0x06 /* Public */,
|
||||
4, 1, 47, 2, 0x06 /* Public */,
|
||||
|
||||
// slots: name, argc, parameters, tag, flags
|
||||
5, 1, 50, 2, 0x0a /* Public */,
|
||||
6, 0, 53, 2, 0x08 /* Private */,
|
||||
7, 0, 54, 2, 0x08 /* Private */,
|
||||
8, 0, 55, 2, 0x08 /* Private */,
|
||||
|
||||
// signals: parameters
|
||||
QMetaType::Void, QMetaType::Double, 3,
|
||||
QMetaType::Void, QMetaType::Double, 3,
|
||||
|
||||
// slots: parameters
|
||||
QMetaType::Void, QMetaType::Double, 2,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
|
||||
// properties: name, type, flags
|
||||
3, QMetaType::Double, 0x00595103,
|
||||
9, QMetaType::Double, 0x00095103,
|
||||
10, QMetaType::Double, 0x00095103,
|
||||
11, QMetaType::Double, 0x00095103,
|
||||
12, QMetaType::Int, 0x00095103,
|
||||
13, QMetaType::Int, 0x00095103,
|
||||
14, QMetaType::Int, 0x00095103,
|
||||
15, QMetaType::Int, 0x00095103,
|
||||
16, QMetaType::Bool, 0x00095103,
|
||||
17, QMetaType::Bool, 0x00095103,
|
||||
|
||||
// properties: notify_signal_id
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void QwtCounter::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
auto *_t = static_cast<QwtCounter *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
switch (_id) {
|
||||
case 0: _t->buttonReleased((*reinterpret_cast< double(*)>(_a[1]))); break;
|
||||
case 1: _t->valueChanged((*reinterpret_cast< double(*)>(_a[1]))); break;
|
||||
case 2: _t->setValue((*reinterpret_cast< double(*)>(_a[1]))); break;
|
||||
case 3: _t->btnReleased(); break;
|
||||
case 4: _t->btnClicked(); break;
|
||||
case 5: _t->textChanged(); break;
|
||||
default: ;
|
||||
}
|
||||
} else if (_c == QMetaObject::IndexOfMethod) {
|
||||
int *result = reinterpret_cast<int *>(_a[0]);
|
||||
{
|
||||
using _t = void (QwtCounter::*)(double );
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QwtCounter::buttonReleased)) {
|
||||
*result = 0;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
using _t = void (QwtCounter::*)(double );
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QwtCounter::valueChanged)) {
|
||||
*result = 1;
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
#ifndef QT_NO_PROPERTIES
|
||||
else if (_c == QMetaObject::ReadProperty) {
|
||||
auto *_t = static_cast<QwtCounter *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
void *_v = _a[0];
|
||||
switch (_id) {
|
||||
case 0: *reinterpret_cast< double*>(_v) = _t->value(); break;
|
||||
case 1: *reinterpret_cast< double*>(_v) = _t->minimum(); break;
|
||||
case 2: *reinterpret_cast< double*>(_v) = _t->maximum(); break;
|
||||
case 3: *reinterpret_cast< double*>(_v) = _t->singleStep(); break;
|
||||
case 4: *reinterpret_cast< int*>(_v) = _t->numButtons(); break;
|
||||
case 5: *reinterpret_cast< int*>(_v) = _t->stepButton1(); break;
|
||||
case 6: *reinterpret_cast< int*>(_v) = _t->stepButton2(); break;
|
||||
case 7: *reinterpret_cast< int*>(_v) = _t->stepButton3(); break;
|
||||
case 8: *reinterpret_cast< bool*>(_v) = _t->isReadOnly(); break;
|
||||
case 9: *reinterpret_cast< bool*>(_v) = _t->wrapping(); break;
|
||||
default: break;
|
||||
}
|
||||
} else if (_c == QMetaObject::WriteProperty) {
|
||||
auto *_t = static_cast<QwtCounter *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
void *_v = _a[0];
|
||||
switch (_id) {
|
||||
case 0: _t->setValue(*reinterpret_cast< double*>(_v)); break;
|
||||
case 1: _t->setMinimum(*reinterpret_cast< double*>(_v)); break;
|
||||
case 2: _t->setMaximum(*reinterpret_cast< double*>(_v)); break;
|
||||
case 3: _t->setSingleStep(*reinterpret_cast< double*>(_v)); break;
|
||||
case 4: _t->setNumButtons(*reinterpret_cast< int*>(_v)); break;
|
||||
case 5: _t->setStepButton1(*reinterpret_cast< int*>(_v)); break;
|
||||
case 6: _t->setStepButton2(*reinterpret_cast< int*>(_v)); break;
|
||||
case 7: _t->setStepButton3(*reinterpret_cast< int*>(_v)); break;
|
||||
case 8: _t->setReadOnly(*reinterpret_cast< bool*>(_v)); break;
|
||||
case 9: _t->setWrapping(*reinterpret_cast< bool*>(_v)); break;
|
||||
default: break;
|
||||
}
|
||||
} else if (_c == QMetaObject::ResetProperty) {
|
||||
}
|
||||
#endif // QT_NO_PROPERTIES
|
||||
}
|
||||
|
||||
QT_INIT_METAOBJECT const QMetaObject QwtCounter::staticMetaObject = { {
|
||||
QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
|
||||
qt_meta_stringdata_QwtCounter.data,
|
||||
qt_meta_data_QwtCounter,
|
||||
qt_static_metacall,
|
||||
nullptr,
|
||||
nullptr
|
||||
} };
|
||||
|
||||
|
||||
const QMetaObject *QwtCounter::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *QwtCounter::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return nullptr;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_QwtCounter.stringdata0))
|
||||
return static_cast<void*>(this);
|
||||
return QWidget::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int QwtCounter::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QWidget::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
if (_id < 6)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 6;
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
if (_id < 6)
|
||||
*reinterpret_cast<int*>(_a[0]) = -1;
|
||||
_id -= 6;
|
||||
}
|
||||
#ifndef QT_NO_PROPERTIES
|
||||
else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
|
||||
|| _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 10;
|
||||
} else if (_c == QMetaObject::QueryPropertyDesignable) {
|
||||
_id -= 10;
|
||||
} else if (_c == QMetaObject::QueryPropertyScriptable) {
|
||||
_id -= 10;
|
||||
} else if (_c == QMetaObject::QueryPropertyStored) {
|
||||
_id -= 10;
|
||||
} else if (_c == QMetaObject::QueryPropertyEditable) {
|
||||
_id -= 10;
|
||||
} else if (_c == QMetaObject::QueryPropertyUser) {
|
||||
_id -= 10;
|
||||
}
|
||||
#endif // QT_NO_PROPERTIES
|
||||
return _id;
|
||||
}
|
||||
|
||||
// SIGNAL 0
|
||||
void QwtCounter::buttonReleased(double _t1)
|
||||
{
|
||||
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 0, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 1
|
||||
void QwtCounter::valueChanged(double _t1)
|
||||
{
|
||||
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 1, _a);
|
||||
}
|
||||
QT_WARNING_POP
|
||||
QT_END_MOC_NAMESPACE
|
||||
@@ -0,0 +1,181 @@
|
||||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'qwt_dial.h'
|
||||
**
|
||||
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2)
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost!
|
||||
*****************************************************************************/
|
||||
|
||||
#include <memory>
|
||||
#include "../../src/qwt_dial.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'qwt_dial.h' doesn't include <QObject>."
|
||||
#elif Q_MOC_OUTPUT_REVISION != 67
|
||||
#error "This file was generated using the moc from 5.15.2. It"
|
||||
#error "cannot be used with the include files from this version of Qt."
|
||||
#error "(The moc has changed too much.)"
|
||||
#endif
|
||||
|
||||
QT_BEGIN_MOC_NAMESPACE
|
||||
QT_WARNING_PUSH
|
||||
QT_WARNING_DISABLE_DEPRECATED
|
||||
struct qt_meta_stringdata_QwtDial_t {
|
||||
QByteArrayData data[14];
|
||||
char stringdata0[123];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_QwtDial_t, stringdata0) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_QwtDial_t qt_meta_stringdata_QwtDial = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 7), // "QwtDial"
|
||||
QT_MOC_LITERAL(1, 8, 9), // "lineWidth"
|
||||
QT_MOC_LITERAL(2, 18, 11), // "frameShadow"
|
||||
QT_MOC_LITERAL(3, 30, 6), // "Shadow"
|
||||
QT_MOC_LITERAL(4, 37, 4), // "mode"
|
||||
QT_MOC_LITERAL(5, 42, 4), // "Mode"
|
||||
QT_MOC_LITERAL(6, 47, 6), // "origin"
|
||||
QT_MOC_LITERAL(7, 54, 11), // "minScaleArc"
|
||||
QT_MOC_LITERAL(8, 66, 11), // "maxScaleArc"
|
||||
QT_MOC_LITERAL(9, 78, 5), // "Plain"
|
||||
QT_MOC_LITERAL(10, 84, 6), // "Raised"
|
||||
QT_MOC_LITERAL(11, 91, 6), // "Sunken"
|
||||
QT_MOC_LITERAL(12, 98, 12), // "RotateNeedle"
|
||||
QT_MOC_LITERAL(13, 111, 11) // "RotateScale"
|
||||
|
||||
},
|
||||
"QwtDial\0lineWidth\0frameShadow\0Shadow\0"
|
||||
"mode\0Mode\0origin\0minScaleArc\0maxScaleArc\0"
|
||||
"Plain\0Raised\0Sunken\0RotateNeedle\0"
|
||||
"RotateScale"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_QwtDial[] = {
|
||||
|
||||
// content:
|
||||
8, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
0, 0, // methods
|
||||
6, 14, // properties
|
||||
2, 32, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
0, // signalCount
|
||||
|
||||
// properties: name, type, flags
|
||||
1, QMetaType::Int, 0x00095103,
|
||||
2, 0x80000000 | 3, 0x0009510b,
|
||||
4, 0x80000000 | 5, 0x0009510b,
|
||||
6, QMetaType::Double, 0x00095103,
|
||||
7, QMetaType::Double, 0x00095103,
|
||||
8, QMetaType::Double, 0x00095103,
|
||||
|
||||
// enums: name, alias, flags, count, data
|
||||
3, 3, 0x0, 3, 42,
|
||||
5, 5, 0x0, 2, 48,
|
||||
|
||||
// enum data: key, value
|
||||
9, uint(QwtDial::Plain),
|
||||
10, uint(QwtDial::Raised),
|
||||
11, uint(QwtDial::Sunken),
|
||||
12, uint(QwtDial::RotateNeedle),
|
||||
13, uint(QwtDial::RotateScale),
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void QwtDial::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
|
||||
#ifndef QT_NO_PROPERTIES
|
||||
if (_c == QMetaObject::ReadProperty) {
|
||||
auto *_t = static_cast<QwtDial *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
void *_v = _a[0];
|
||||
switch (_id) {
|
||||
case 0: *reinterpret_cast< int*>(_v) = _t->lineWidth(); break;
|
||||
case 1: *reinterpret_cast< Shadow*>(_v) = _t->frameShadow(); break;
|
||||
case 2: *reinterpret_cast< Mode*>(_v) = _t->mode(); break;
|
||||
case 3: *reinterpret_cast< double*>(_v) = _t->origin(); break;
|
||||
case 4: *reinterpret_cast< double*>(_v) = _t->minScaleArc(); break;
|
||||
case 5: *reinterpret_cast< double*>(_v) = _t->maxScaleArc(); break;
|
||||
default: break;
|
||||
}
|
||||
} else if (_c == QMetaObject::WriteProperty) {
|
||||
auto *_t = static_cast<QwtDial *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
void *_v = _a[0];
|
||||
switch (_id) {
|
||||
case 0: _t->setLineWidth(*reinterpret_cast< int*>(_v)); break;
|
||||
case 1: _t->setFrameShadow(*reinterpret_cast< Shadow*>(_v)); break;
|
||||
case 2: _t->setMode(*reinterpret_cast< Mode*>(_v)); break;
|
||||
case 3: _t->setOrigin(*reinterpret_cast< double*>(_v)); break;
|
||||
case 4: _t->setMinScaleArc(*reinterpret_cast< double*>(_v)); break;
|
||||
case 5: _t->setMaxScaleArc(*reinterpret_cast< double*>(_v)); break;
|
||||
default: break;
|
||||
}
|
||||
} else if (_c == QMetaObject::ResetProperty) {
|
||||
}
|
||||
#endif // QT_NO_PROPERTIES
|
||||
Q_UNUSED(_o);
|
||||
Q_UNUSED(_id);
|
||||
Q_UNUSED(_c);
|
||||
Q_UNUSED(_a);
|
||||
}
|
||||
|
||||
QT_INIT_METAOBJECT const QMetaObject QwtDial::staticMetaObject = { {
|
||||
QMetaObject::SuperData::link<QwtAbstractSlider::staticMetaObject>(),
|
||||
qt_meta_stringdata_QwtDial.data,
|
||||
qt_meta_data_QwtDial,
|
||||
qt_static_metacall,
|
||||
nullptr,
|
||||
nullptr
|
||||
} };
|
||||
|
||||
|
||||
const QMetaObject *QwtDial::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *QwtDial::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return nullptr;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_QwtDial.stringdata0))
|
||||
return static_cast<void*>(this);
|
||||
return QwtAbstractSlider::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int QwtDial::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QwtAbstractSlider::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
|
||||
#ifndef QT_NO_PROPERTIES
|
||||
if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
|
||||
|| _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 6;
|
||||
} else if (_c == QMetaObject::QueryPropertyDesignable) {
|
||||
_id -= 6;
|
||||
} else if (_c == QMetaObject::QueryPropertyScriptable) {
|
||||
_id -= 6;
|
||||
} else if (_c == QMetaObject::QueryPropertyStored) {
|
||||
_id -= 6;
|
||||
} else if (_c == QMetaObject::QueryPropertyEditable) {
|
||||
_id -= 6;
|
||||
} else if (_c == QMetaObject::QueryPropertyUser) {
|
||||
_id -= 6;
|
||||
}
|
||||
#endif // QT_NO_PROPERTIES
|
||||
return _id;
|
||||
}
|
||||
QT_WARNING_POP
|
||||
QT_END_MOC_NAMESPACE
|
||||
@@ -0,0 +1,95 @@
|
||||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'qwt_dyngrid_layout.h'
|
||||
**
|
||||
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2)
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost!
|
||||
*****************************************************************************/
|
||||
|
||||
#include <memory>
|
||||
#include "../../src/qwt_dyngrid_layout.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'qwt_dyngrid_layout.h' doesn't include <QObject>."
|
||||
#elif Q_MOC_OUTPUT_REVISION != 67
|
||||
#error "This file was generated using the moc from 5.15.2. It"
|
||||
#error "cannot be used with the include files from this version of Qt."
|
||||
#error "(The moc has changed too much.)"
|
||||
#endif
|
||||
|
||||
QT_BEGIN_MOC_NAMESPACE
|
||||
QT_WARNING_PUSH
|
||||
QT_WARNING_DISABLE_DEPRECATED
|
||||
struct qt_meta_stringdata_QwtDynGridLayout_t {
|
||||
QByteArrayData data[1];
|
||||
char stringdata0[17];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_QwtDynGridLayout_t, stringdata0) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_QwtDynGridLayout_t qt_meta_stringdata_QwtDynGridLayout = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 16) // "QwtDynGridLayout"
|
||||
|
||||
},
|
||||
"QwtDynGridLayout"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_QwtDynGridLayout[] = {
|
||||
|
||||
// content:
|
||||
8, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
0, 0, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
0, // signalCount
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void QwtDynGridLayout::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
Q_UNUSED(_o);
|
||||
Q_UNUSED(_id);
|
||||
Q_UNUSED(_c);
|
||||
Q_UNUSED(_a);
|
||||
}
|
||||
|
||||
QT_INIT_METAOBJECT const QMetaObject QwtDynGridLayout::staticMetaObject = { {
|
||||
QMetaObject::SuperData::link<QLayout::staticMetaObject>(),
|
||||
qt_meta_stringdata_QwtDynGridLayout.data,
|
||||
qt_meta_data_QwtDynGridLayout,
|
||||
qt_static_metacall,
|
||||
nullptr,
|
||||
nullptr
|
||||
} };
|
||||
|
||||
|
||||
const QMetaObject *QwtDynGridLayout::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *QwtDynGridLayout::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return nullptr;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_QwtDynGridLayout.stringdata0))
|
||||
return static_cast<void*>(this);
|
||||
return QLayout::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int QwtDynGridLayout::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QLayout::qt_metacall(_c, _id, _a);
|
||||
return _id;
|
||||
}
|
||||
QT_WARNING_POP
|
||||
QT_END_MOC_NAMESPACE
|
||||
@@ -0,0 +1,202 @@
|
||||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'qwt_knob.h'
|
||||
**
|
||||
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2)
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost!
|
||||
*****************************************************************************/
|
||||
|
||||
#include <memory>
|
||||
#include "../../src/qwt_knob.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'qwt_knob.h' doesn't include <QObject>."
|
||||
#elif Q_MOC_OUTPUT_REVISION != 67
|
||||
#error "This file was generated using the moc from 5.15.2. It"
|
||||
#error "cannot be used with the include files from this version of Qt."
|
||||
#error "(The moc has changed too much.)"
|
||||
#endif
|
||||
|
||||
QT_BEGIN_MOC_NAMESPACE
|
||||
QT_WARNING_PUSH
|
||||
QT_WARNING_DISABLE_DEPRECATED
|
||||
struct qt_meta_stringdata_QwtKnob_t {
|
||||
QByteArrayData data[22];
|
||||
char stringdata0[192];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_QwtKnob_t, stringdata0) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_QwtKnob_t qt_meta_stringdata_QwtKnob = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 7), // "QwtKnob"
|
||||
QT_MOC_LITERAL(1, 8, 9), // "knobStyle"
|
||||
QT_MOC_LITERAL(2, 18, 9), // "KnobStyle"
|
||||
QT_MOC_LITERAL(3, 28, 9), // "knobWidth"
|
||||
QT_MOC_LITERAL(4, 38, 9), // "alignment"
|
||||
QT_MOC_LITERAL(5, 48, 13), // "Qt::Alignment"
|
||||
QT_MOC_LITERAL(6, 62, 10), // "totalAngle"
|
||||
QT_MOC_LITERAL(7, 73, 8), // "numTurns"
|
||||
QT_MOC_LITERAL(8, 82, 11), // "markerStyle"
|
||||
QT_MOC_LITERAL(9, 94, 11), // "MarkerStyle"
|
||||
QT_MOC_LITERAL(10, 106, 10), // "markerSize"
|
||||
QT_MOC_LITERAL(11, 117, 11), // "borderWidth"
|
||||
QT_MOC_LITERAL(12, 129, 4), // "Flat"
|
||||
QT_MOC_LITERAL(13, 134, 6), // "Raised"
|
||||
QT_MOC_LITERAL(14, 141, 6), // "Sunken"
|
||||
QT_MOC_LITERAL(15, 148, 6), // "Styled"
|
||||
QT_MOC_LITERAL(16, 155, 8), // "NoMarker"
|
||||
QT_MOC_LITERAL(17, 164, 4), // "Tick"
|
||||
QT_MOC_LITERAL(18, 169, 8), // "Triangle"
|
||||
QT_MOC_LITERAL(19, 178, 3), // "Dot"
|
||||
QT_MOC_LITERAL(20, 182, 3), // "Nub"
|
||||
QT_MOC_LITERAL(21, 186, 5) // "Notch"
|
||||
|
||||
},
|
||||
"QwtKnob\0knobStyle\0KnobStyle\0knobWidth\0"
|
||||
"alignment\0Qt::Alignment\0totalAngle\0"
|
||||
"numTurns\0markerStyle\0MarkerStyle\0"
|
||||
"markerSize\0borderWidth\0Flat\0Raised\0"
|
||||
"Sunken\0Styled\0NoMarker\0Tick\0Triangle\0"
|
||||
"Dot\0Nub\0Notch"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_QwtKnob[] = {
|
||||
|
||||
// content:
|
||||
8, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
0, 0, // methods
|
||||
8, 14, // properties
|
||||
2, 38, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
0, // signalCount
|
||||
|
||||
// properties: name, type, flags
|
||||
1, 0x80000000 | 2, 0x0009510b,
|
||||
3, QMetaType::Int, 0x00095103,
|
||||
4, 0x80000000 | 5, 0x0009510b,
|
||||
6, QMetaType::Double, 0x00095103,
|
||||
7, QMetaType::Int, 0x00095103,
|
||||
8, 0x80000000 | 9, 0x0009510b,
|
||||
10, QMetaType::Int, 0x00095103,
|
||||
11, QMetaType::Int, 0x00095103,
|
||||
|
||||
// enums: name, alias, flags, count, data
|
||||
2, 2, 0x0, 4, 48,
|
||||
9, 9, 0x0, 6, 56,
|
||||
|
||||
// enum data: key, value
|
||||
12, uint(QwtKnob::Flat),
|
||||
13, uint(QwtKnob::Raised),
|
||||
14, uint(QwtKnob::Sunken),
|
||||
15, uint(QwtKnob::Styled),
|
||||
16, uint(QwtKnob::NoMarker),
|
||||
17, uint(QwtKnob::Tick),
|
||||
18, uint(QwtKnob::Triangle),
|
||||
19, uint(QwtKnob::Dot),
|
||||
20, uint(QwtKnob::Nub),
|
||||
21, uint(QwtKnob::Notch),
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void QwtKnob::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
|
||||
#ifndef QT_NO_PROPERTIES
|
||||
if (_c == QMetaObject::ReadProperty) {
|
||||
auto *_t = static_cast<QwtKnob *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
void *_v = _a[0];
|
||||
switch (_id) {
|
||||
case 0: *reinterpret_cast< KnobStyle*>(_v) = _t->knobStyle(); break;
|
||||
case 1: *reinterpret_cast< int*>(_v) = _t->knobWidth(); break;
|
||||
case 2: *reinterpret_cast< Qt::Alignment*>(_v) = _t->alignment(); break;
|
||||
case 3: *reinterpret_cast< double*>(_v) = _t->totalAngle(); break;
|
||||
case 4: *reinterpret_cast< int*>(_v) = _t->numTurns(); break;
|
||||
case 5: *reinterpret_cast< MarkerStyle*>(_v) = _t->markerStyle(); break;
|
||||
case 6: *reinterpret_cast< int*>(_v) = _t->markerSize(); break;
|
||||
case 7: *reinterpret_cast< int*>(_v) = _t->borderWidth(); break;
|
||||
default: break;
|
||||
}
|
||||
} else if (_c == QMetaObject::WriteProperty) {
|
||||
auto *_t = static_cast<QwtKnob *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
void *_v = _a[0];
|
||||
switch (_id) {
|
||||
case 0: _t->setKnobStyle(*reinterpret_cast< KnobStyle*>(_v)); break;
|
||||
case 1: _t->setKnobWidth(*reinterpret_cast< int*>(_v)); break;
|
||||
case 2: _t->setAlignment(*reinterpret_cast< Qt::Alignment*>(_v)); break;
|
||||
case 3: _t->setTotalAngle(*reinterpret_cast< double*>(_v)); break;
|
||||
case 4: _t->setNumTurns(*reinterpret_cast< int*>(_v)); break;
|
||||
case 5: _t->setMarkerStyle(*reinterpret_cast< MarkerStyle*>(_v)); break;
|
||||
case 6: _t->setMarkerSize(*reinterpret_cast< int*>(_v)); break;
|
||||
case 7: _t->setBorderWidth(*reinterpret_cast< int*>(_v)); break;
|
||||
default: break;
|
||||
}
|
||||
} else if (_c == QMetaObject::ResetProperty) {
|
||||
}
|
||||
#endif // QT_NO_PROPERTIES
|
||||
Q_UNUSED(_o);
|
||||
Q_UNUSED(_id);
|
||||
Q_UNUSED(_c);
|
||||
Q_UNUSED(_a);
|
||||
}
|
||||
|
||||
QT_INIT_METAOBJECT const QMetaObject QwtKnob::staticMetaObject = { {
|
||||
QMetaObject::SuperData::link<QwtAbstractSlider::staticMetaObject>(),
|
||||
qt_meta_stringdata_QwtKnob.data,
|
||||
qt_meta_data_QwtKnob,
|
||||
qt_static_metacall,
|
||||
nullptr,
|
||||
nullptr
|
||||
} };
|
||||
|
||||
|
||||
const QMetaObject *QwtKnob::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *QwtKnob::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return nullptr;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_QwtKnob.stringdata0))
|
||||
return static_cast<void*>(this);
|
||||
return QwtAbstractSlider::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int QwtKnob::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QwtAbstractSlider::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
|
||||
#ifndef QT_NO_PROPERTIES
|
||||
if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
|
||||
|| _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 8;
|
||||
} else if (_c == QMetaObject::QueryPropertyDesignable) {
|
||||
_id -= 8;
|
||||
} else if (_c == QMetaObject::QueryPropertyScriptable) {
|
||||
_id -= 8;
|
||||
} else if (_c == QMetaObject::QueryPropertyStored) {
|
||||
_id -= 8;
|
||||
} else if (_c == QMetaObject::QueryPropertyEditable) {
|
||||
_id -= 8;
|
||||
} else if (_c == QMetaObject::QueryPropertyUser) {
|
||||
_id -= 8;
|
||||
}
|
||||
#endif // QT_NO_PROPERTIES
|
||||
return _id;
|
||||
}
|
||||
QT_WARNING_POP
|
||||
QT_END_MOC_NAMESPACE
|
||||
@@ -0,0 +1,175 @@
|
||||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'qwt_legend.h'
|
||||
**
|
||||
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2)
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost!
|
||||
*****************************************************************************/
|
||||
|
||||
#include <memory>
|
||||
#include "../../src/qwt_legend.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#include <QtCore/QList>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'qwt_legend.h' doesn't include <QObject>."
|
||||
#elif Q_MOC_OUTPUT_REVISION != 67
|
||||
#error "This file was generated using the moc from 5.15.2. It"
|
||||
#error "cannot be used with the include files from this version of Qt."
|
||||
#error "(The moc has changed too much.)"
|
||||
#endif
|
||||
|
||||
QT_BEGIN_MOC_NAMESPACE
|
||||
QT_WARNING_PUSH
|
||||
QT_WARNING_DISABLE_DEPRECATED
|
||||
struct qt_meta_stringdata_QwtLegend_t {
|
||||
QByteArrayData data[11];
|
||||
char stringdata0[103];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_QwtLegend_t, stringdata0) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_QwtLegend_t qt_meta_stringdata_QwtLegend = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 9), // "QwtLegend"
|
||||
QT_MOC_LITERAL(1, 10, 7), // "clicked"
|
||||
QT_MOC_LITERAL(2, 18, 0), // ""
|
||||
QT_MOC_LITERAL(3, 19, 8), // "itemInfo"
|
||||
QT_MOC_LITERAL(4, 28, 5), // "index"
|
||||
QT_MOC_LITERAL(5, 34, 7), // "checked"
|
||||
QT_MOC_LITERAL(6, 42, 2), // "on"
|
||||
QT_MOC_LITERAL(7, 45, 12), // "updateLegend"
|
||||
QT_MOC_LITERAL(8, 58, 20), // "QList<QwtLegendData>"
|
||||
QT_MOC_LITERAL(9, 79, 11), // "itemClicked"
|
||||
QT_MOC_LITERAL(10, 91, 11) // "itemChecked"
|
||||
|
||||
},
|
||||
"QwtLegend\0clicked\0\0itemInfo\0index\0"
|
||||
"checked\0on\0updateLegend\0QList<QwtLegendData>\0"
|
||||
"itemClicked\0itemChecked"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_QwtLegend[] = {
|
||||
|
||||
// content:
|
||||
8, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
5, 14, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
2, // signalCount
|
||||
|
||||
// signals: name, argc, parameters, tag, flags
|
||||
1, 2, 39, 2, 0x06 /* Public */,
|
||||
5, 3, 44, 2, 0x06 /* Public */,
|
||||
|
||||
// slots: name, argc, parameters, tag, flags
|
||||
7, 2, 51, 2, 0x0a /* Public */,
|
||||
9, 0, 56, 2, 0x09 /* Protected */,
|
||||
10, 1, 57, 2, 0x09 /* Protected */,
|
||||
|
||||
// signals: parameters
|
||||
QMetaType::Void, QMetaType::QVariant, QMetaType::Int, 3, 4,
|
||||
QMetaType::Void, QMetaType::QVariant, QMetaType::Bool, QMetaType::Int, 3, 6, 4,
|
||||
|
||||
// slots: parameters
|
||||
QMetaType::Void, QMetaType::QVariant, 0x80000000 | 8, 2, 2,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void, QMetaType::Bool, 2,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void QwtLegend::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
auto *_t = static_cast<QwtLegend *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
switch (_id) {
|
||||
case 0: _t->clicked((*reinterpret_cast< const QVariant(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
|
||||
case 1: _t->checked((*reinterpret_cast< const QVariant(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
|
||||
case 2: _t->updateLegend((*reinterpret_cast< const QVariant(*)>(_a[1])),(*reinterpret_cast< const QList<QwtLegendData>(*)>(_a[2]))); break;
|
||||
case 3: _t->itemClicked(); break;
|
||||
case 4: _t->itemChecked((*reinterpret_cast< bool(*)>(_a[1]))); break;
|
||||
default: ;
|
||||
}
|
||||
} else if (_c == QMetaObject::IndexOfMethod) {
|
||||
int *result = reinterpret_cast<int *>(_a[0]);
|
||||
{
|
||||
using _t = void (QwtLegend::*)(const QVariant & , int );
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QwtLegend::clicked)) {
|
||||
*result = 0;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
using _t = void (QwtLegend::*)(const QVariant & , bool , int );
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QwtLegend::checked)) {
|
||||
*result = 1;
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
QT_INIT_METAOBJECT const QMetaObject QwtLegend::staticMetaObject = { {
|
||||
QMetaObject::SuperData::link<QwtAbstractLegend::staticMetaObject>(),
|
||||
qt_meta_stringdata_QwtLegend.data,
|
||||
qt_meta_data_QwtLegend,
|
||||
qt_static_metacall,
|
||||
nullptr,
|
||||
nullptr
|
||||
} };
|
||||
|
||||
|
||||
const QMetaObject *QwtLegend::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *QwtLegend::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return nullptr;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_QwtLegend.stringdata0))
|
||||
return static_cast<void*>(this);
|
||||
return QwtAbstractLegend::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int QwtLegend::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QwtAbstractLegend::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
if (_id < 5)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 5;
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
if (_id < 5)
|
||||
*reinterpret_cast<int*>(_a[0]) = -1;
|
||||
_id -= 5;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
|
||||
// SIGNAL 0
|
||||
void QwtLegend::clicked(const QVariant & _t1, int _t2)
|
||||
{
|
||||
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 0, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 1
|
||||
void QwtLegend::checked(const QVariant & _t1, bool _t2, int _t3)
|
||||
{
|
||||
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t3))) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 1, _a);
|
||||
}
|
||||
QT_WARNING_POP
|
||||
QT_END_MOC_NAMESPACE
|
||||
@@ -0,0 +1,195 @@
|
||||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'qwt_legend_label.h'
|
||||
**
|
||||
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2)
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost!
|
||||
*****************************************************************************/
|
||||
|
||||
#include <memory>
|
||||
#include "../../src/qwt_legend_label.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'qwt_legend_label.h' doesn't include <QObject>."
|
||||
#elif Q_MOC_OUTPUT_REVISION != 67
|
||||
#error "This file was generated using the moc from 5.15.2. It"
|
||||
#error "cannot be used with the include files from this version of Qt."
|
||||
#error "(The moc has changed too much.)"
|
||||
#endif
|
||||
|
||||
QT_BEGIN_MOC_NAMESPACE
|
||||
QT_WARNING_PUSH
|
||||
QT_WARNING_DISABLE_DEPRECATED
|
||||
struct qt_meta_stringdata_QwtLegendLabel_t {
|
||||
QByteArrayData data[8];
|
||||
char stringdata0[63];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_QwtLegendLabel_t, stringdata0) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_QwtLegendLabel_t qt_meta_stringdata_QwtLegendLabel = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 14), // "QwtLegendLabel"
|
||||
QT_MOC_LITERAL(1, 15, 7), // "clicked"
|
||||
QT_MOC_LITERAL(2, 23, 0), // ""
|
||||
QT_MOC_LITERAL(3, 24, 7), // "pressed"
|
||||
QT_MOC_LITERAL(4, 32, 8), // "released"
|
||||
QT_MOC_LITERAL(5, 41, 7), // "checked"
|
||||
QT_MOC_LITERAL(6, 49, 10), // "setChecked"
|
||||
QT_MOC_LITERAL(7, 60, 2) // "on"
|
||||
|
||||
},
|
||||
"QwtLegendLabel\0clicked\0\0pressed\0"
|
||||
"released\0checked\0setChecked\0on"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_QwtLegendLabel[] = {
|
||||
|
||||
// content:
|
||||
8, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
5, 14, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
4, // signalCount
|
||||
|
||||
// signals: name, argc, parameters, tag, flags
|
||||
1, 0, 39, 2, 0x06 /* Public */,
|
||||
3, 0, 40, 2, 0x06 /* Public */,
|
||||
4, 0, 41, 2, 0x06 /* Public */,
|
||||
5, 1, 42, 2, 0x06 /* Public */,
|
||||
|
||||
// slots: name, argc, parameters, tag, flags
|
||||
6, 1, 45, 2, 0x0a /* Public */,
|
||||
|
||||
// signals: parameters
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void, QMetaType::Bool, 2,
|
||||
|
||||
// slots: parameters
|
||||
QMetaType::Void, QMetaType::Bool, 7,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void QwtLegendLabel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
auto *_t = static_cast<QwtLegendLabel *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
switch (_id) {
|
||||
case 0: _t->clicked(); break;
|
||||
case 1: _t->pressed(); break;
|
||||
case 2: _t->released(); break;
|
||||
case 3: _t->checked((*reinterpret_cast< bool(*)>(_a[1]))); break;
|
||||
case 4: _t->setChecked((*reinterpret_cast< bool(*)>(_a[1]))); break;
|
||||
default: ;
|
||||
}
|
||||
} else if (_c == QMetaObject::IndexOfMethod) {
|
||||
int *result = reinterpret_cast<int *>(_a[0]);
|
||||
{
|
||||
using _t = void (QwtLegendLabel::*)();
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QwtLegendLabel::clicked)) {
|
||||
*result = 0;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
using _t = void (QwtLegendLabel::*)();
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QwtLegendLabel::pressed)) {
|
||||
*result = 1;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
using _t = void (QwtLegendLabel::*)();
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QwtLegendLabel::released)) {
|
||||
*result = 2;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
using _t = void (QwtLegendLabel::*)(bool );
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QwtLegendLabel::checked)) {
|
||||
*result = 3;
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
QT_INIT_METAOBJECT const QMetaObject QwtLegendLabel::staticMetaObject = { {
|
||||
QMetaObject::SuperData::link<QwtTextLabel::staticMetaObject>(),
|
||||
qt_meta_stringdata_QwtLegendLabel.data,
|
||||
qt_meta_data_QwtLegendLabel,
|
||||
qt_static_metacall,
|
||||
nullptr,
|
||||
nullptr
|
||||
} };
|
||||
|
||||
|
||||
const QMetaObject *QwtLegendLabel::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *QwtLegendLabel::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return nullptr;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_QwtLegendLabel.stringdata0))
|
||||
return static_cast<void*>(this);
|
||||
return QwtTextLabel::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int QwtLegendLabel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QwtTextLabel::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
if (_id < 5)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 5;
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
if (_id < 5)
|
||||
*reinterpret_cast<int*>(_a[0]) = -1;
|
||||
_id -= 5;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
|
||||
// SIGNAL 0
|
||||
void QwtLegendLabel::clicked()
|
||||
{
|
||||
QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
|
||||
}
|
||||
|
||||
// SIGNAL 1
|
||||
void QwtLegendLabel::pressed()
|
||||
{
|
||||
QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
|
||||
}
|
||||
|
||||
// SIGNAL 2
|
||||
void QwtLegendLabel::released()
|
||||
{
|
||||
QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
|
||||
}
|
||||
|
||||
// SIGNAL 3
|
||||
void QwtLegendLabel::checked(bool _t1)
|
||||
{
|
||||
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 3, _a);
|
||||
}
|
||||
QT_WARNING_POP
|
||||
QT_END_MOC_NAMESPACE
|
||||
@@ -0,0 +1,95 @@
|
||||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'qwt_magnifier.h'
|
||||
**
|
||||
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2)
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost!
|
||||
*****************************************************************************/
|
||||
|
||||
#include <memory>
|
||||
#include "../../src/qwt_magnifier.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'qwt_magnifier.h' doesn't include <QObject>."
|
||||
#elif Q_MOC_OUTPUT_REVISION != 67
|
||||
#error "This file was generated using the moc from 5.15.2. It"
|
||||
#error "cannot be used with the include files from this version of Qt."
|
||||
#error "(The moc has changed too much.)"
|
||||
#endif
|
||||
|
||||
QT_BEGIN_MOC_NAMESPACE
|
||||
QT_WARNING_PUSH
|
||||
QT_WARNING_DISABLE_DEPRECATED
|
||||
struct qt_meta_stringdata_QwtMagnifier_t {
|
||||
QByteArrayData data[1];
|
||||
char stringdata0[13];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_QwtMagnifier_t, stringdata0) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_QwtMagnifier_t qt_meta_stringdata_QwtMagnifier = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 12) // "QwtMagnifier"
|
||||
|
||||
},
|
||||
"QwtMagnifier"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_QwtMagnifier[] = {
|
||||
|
||||
// content:
|
||||
8, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
0, 0, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
0, // signalCount
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void QwtMagnifier::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
Q_UNUSED(_o);
|
||||
Q_UNUSED(_id);
|
||||
Q_UNUSED(_c);
|
||||
Q_UNUSED(_a);
|
||||
}
|
||||
|
||||
QT_INIT_METAOBJECT const QMetaObject QwtMagnifier::staticMetaObject = { {
|
||||
QMetaObject::SuperData::link<QObject::staticMetaObject>(),
|
||||
qt_meta_stringdata_QwtMagnifier.data,
|
||||
qt_meta_data_QwtMagnifier,
|
||||
qt_static_metacall,
|
||||
nullptr,
|
||||
nullptr
|
||||
} };
|
||||
|
||||
|
||||
const QMetaObject *QwtMagnifier::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *QwtMagnifier::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return nullptr;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_QwtMagnifier.stringdata0))
|
||||
return static_cast<void*>(this);
|
||||
return QObject::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int QwtMagnifier::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QObject::qt_metacall(_c, _id, _a);
|
||||
return _id;
|
||||
}
|
||||
QT_WARNING_POP
|
||||
QT_END_MOC_NAMESPACE
|
||||
@@ -0,0 +1,154 @@
|
||||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'qwt_panner.h'
|
||||
**
|
||||
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2)
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost!
|
||||
*****************************************************************************/
|
||||
|
||||
#include <memory>
|
||||
#include "../../src/qwt_panner.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'qwt_panner.h' doesn't include <QObject>."
|
||||
#elif Q_MOC_OUTPUT_REVISION != 67
|
||||
#error "This file was generated using the moc from 5.15.2. It"
|
||||
#error "cannot be used with the include files from this version of Qt."
|
||||
#error "(The moc has changed too much.)"
|
||||
#endif
|
||||
|
||||
QT_BEGIN_MOC_NAMESPACE
|
||||
QT_WARNING_PUSH
|
||||
QT_WARNING_DISABLE_DEPRECATED
|
||||
struct qt_meta_stringdata_QwtPanner_t {
|
||||
QByteArrayData data[6];
|
||||
char stringdata0[30];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_QwtPanner_t, stringdata0) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_QwtPanner_t qt_meta_stringdata_QwtPanner = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 9), // "QwtPanner"
|
||||
QT_MOC_LITERAL(1, 10, 6), // "panned"
|
||||
QT_MOC_LITERAL(2, 17, 0), // ""
|
||||
QT_MOC_LITERAL(3, 18, 2), // "dx"
|
||||
QT_MOC_LITERAL(4, 21, 2), // "dy"
|
||||
QT_MOC_LITERAL(5, 24, 5) // "moved"
|
||||
|
||||
},
|
||||
"QwtPanner\0panned\0\0dx\0dy\0moved"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_QwtPanner[] = {
|
||||
|
||||
// content:
|
||||
8, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
2, 14, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
2, // signalCount
|
||||
|
||||
// signals: name, argc, parameters, tag, flags
|
||||
1, 2, 24, 2, 0x06 /* Public */,
|
||||
5, 2, 29, 2, 0x06 /* Public */,
|
||||
|
||||
// signals: parameters
|
||||
QMetaType::Void, QMetaType::Int, QMetaType::Int, 3, 4,
|
||||
QMetaType::Void, QMetaType::Int, QMetaType::Int, 3, 4,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void QwtPanner::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
auto *_t = static_cast<QwtPanner *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
switch (_id) {
|
||||
case 0: _t->panned((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
|
||||
case 1: _t->moved((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
|
||||
default: ;
|
||||
}
|
||||
} else if (_c == QMetaObject::IndexOfMethod) {
|
||||
int *result = reinterpret_cast<int *>(_a[0]);
|
||||
{
|
||||
using _t = void (QwtPanner::*)(int , int );
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QwtPanner::panned)) {
|
||||
*result = 0;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
using _t = void (QwtPanner::*)(int , int );
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QwtPanner::moved)) {
|
||||
*result = 1;
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
QT_INIT_METAOBJECT const QMetaObject QwtPanner::staticMetaObject = { {
|
||||
QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
|
||||
qt_meta_stringdata_QwtPanner.data,
|
||||
qt_meta_data_QwtPanner,
|
||||
qt_static_metacall,
|
||||
nullptr,
|
||||
nullptr
|
||||
} };
|
||||
|
||||
|
||||
const QMetaObject *QwtPanner::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *QwtPanner::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return nullptr;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_QwtPanner.stringdata0))
|
||||
return static_cast<void*>(this);
|
||||
return QWidget::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int QwtPanner::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QWidget::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
if (_id < 2)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 2;
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
if (_id < 2)
|
||||
*reinterpret_cast<int*>(_a[0]) = -1;
|
||||
_id -= 2;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
|
||||
// SIGNAL 0
|
||||
void QwtPanner::panned(int _t1, int _t2)
|
||||
{
|
||||
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 0, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 1
|
||||
void QwtPanner::moved(int _t1, int _t2)
|
||||
{
|
||||
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 1, _a);
|
||||
}
|
||||
QT_WARNING_POP
|
||||
QT_END_MOC_NAMESPACE
|
||||
@@ -0,0 +1,350 @@
|
||||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'qwt_picker.h'
|
||||
**
|
||||
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2)
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost!
|
||||
*****************************************************************************/
|
||||
|
||||
#include <memory>
|
||||
#include "../../src/qwt_picker.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'qwt_picker.h' doesn't include <QObject>."
|
||||
#elif Q_MOC_OUTPUT_REVISION != 67
|
||||
#error "This file was generated using the moc from 5.15.2. It"
|
||||
#error "cannot be used with the include files from this version of Qt."
|
||||
#error "(The moc has changed too much.)"
|
||||
#endif
|
||||
|
||||
QT_BEGIN_MOC_NAMESPACE
|
||||
QT_WARNING_PUSH
|
||||
QT_WARNING_DISABLE_DEPRECATED
|
||||
struct qt_meta_stringdata_QwtPicker_t {
|
||||
QByteArrayData data[36];
|
||||
char stringdata0[386];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_QwtPicker_t, stringdata0) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_QwtPicker_t qt_meta_stringdata_QwtPicker = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 9), // "QwtPicker"
|
||||
QT_MOC_LITERAL(1, 10, 9), // "activated"
|
||||
QT_MOC_LITERAL(2, 20, 0), // ""
|
||||
QT_MOC_LITERAL(3, 21, 2), // "on"
|
||||
QT_MOC_LITERAL(4, 24, 8), // "selected"
|
||||
QT_MOC_LITERAL(5, 33, 7), // "polygon"
|
||||
QT_MOC_LITERAL(6, 41, 8), // "appended"
|
||||
QT_MOC_LITERAL(7, 50, 3), // "pos"
|
||||
QT_MOC_LITERAL(8, 54, 5), // "moved"
|
||||
QT_MOC_LITERAL(9, 60, 7), // "removed"
|
||||
QT_MOC_LITERAL(10, 68, 7), // "changed"
|
||||
QT_MOC_LITERAL(11, 76, 9), // "selection"
|
||||
QT_MOC_LITERAL(12, 86, 10), // "setEnabled"
|
||||
QT_MOC_LITERAL(13, 97, 9), // "isEnabled"
|
||||
QT_MOC_LITERAL(14, 107, 10), // "resizeMode"
|
||||
QT_MOC_LITERAL(15, 118, 10), // "ResizeMode"
|
||||
QT_MOC_LITERAL(16, 129, 11), // "trackerMode"
|
||||
QT_MOC_LITERAL(17, 141, 11), // "DisplayMode"
|
||||
QT_MOC_LITERAL(18, 153, 10), // "trackerPen"
|
||||
QT_MOC_LITERAL(19, 164, 11), // "trackerFont"
|
||||
QT_MOC_LITERAL(20, 176, 10), // "rubberBand"
|
||||
QT_MOC_LITERAL(21, 187, 10), // "RubberBand"
|
||||
QT_MOC_LITERAL(22, 198, 13), // "rubberBandPen"
|
||||
QT_MOC_LITERAL(23, 212, 12), // "NoRubberBand"
|
||||
QT_MOC_LITERAL(24, 225, 15), // "HLineRubberBand"
|
||||
QT_MOC_LITERAL(25, 241, 15), // "VLineRubberBand"
|
||||
QT_MOC_LITERAL(26, 257, 15), // "CrossRubberBand"
|
||||
QT_MOC_LITERAL(27, 273, 14), // "RectRubberBand"
|
||||
QT_MOC_LITERAL(28, 288, 17), // "EllipseRubberBand"
|
||||
QT_MOC_LITERAL(29, 306, 17), // "PolygonRubberBand"
|
||||
QT_MOC_LITERAL(30, 324, 14), // "UserRubberBand"
|
||||
QT_MOC_LITERAL(31, 339, 9), // "AlwaysOff"
|
||||
QT_MOC_LITERAL(32, 349, 8), // "AlwaysOn"
|
||||
QT_MOC_LITERAL(33, 358, 10), // "ActiveOnly"
|
||||
QT_MOC_LITERAL(34, 369, 7), // "Stretch"
|
||||
QT_MOC_LITERAL(35, 377, 8) // "KeepSize"
|
||||
|
||||
},
|
||||
"QwtPicker\0activated\0\0on\0selected\0"
|
||||
"polygon\0appended\0pos\0moved\0removed\0"
|
||||
"changed\0selection\0setEnabled\0isEnabled\0"
|
||||
"resizeMode\0ResizeMode\0trackerMode\0"
|
||||
"DisplayMode\0trackerPen\0trackerFont\0"
|
||||
"rubberBand\0RubberBand\0rubberBandPen\0"
|
||||
"NoRubberBand\0HLineRubberBand\0"
|
||||
"VLineRubberBand\0CrossRubberBand\0"
|
||||
"RectRubberBand\0EllipseRubberBand\0"
|
||||
"PolygonRubberBand\0UserRubberBand\0"
|
||||
"AlwaysOff\0AlwaysOn\0ActiveOnly\0Stretch\0"
|
||||
"KeepSize"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_QwtPicker[] = {
|
||||
|
||||
// content:
|
||||
8, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
7, 14, // methods
|
||||
7, 70, // properties
|
||||
3, 91, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
6, // signalCount
|
||||
|
||||
// signals: name, argc, parameters, tag, flags
|
||||
1, 1, 49, 2, 0x06 /* Public */,
|
||||
4, 1, 52, 2, 0x06 /* Public */,
|
||||
6, 1, 55, 2, 0x06 /* Public */,
|
||||
8, 1, 58, 2, 0x06 /* Public */,
|
||||
9, 1, 61, 2, 0x06 /* Public */,
|
||||
10, 1, 64, 2, 0x06 /* Public */,
|
||||
|
||||
// slots: name, argc, parameters, tag, flags
|
||||
12, 1, 67, 2, 0x0a /* Public */,
|
||||
|
||||
// signals: parameters
|
||||
QMetaType::Void, QMetaType::Bool, 3,
|
||||
QMetaType::Void, QMetaType::QPolygon, 5,
|
||||
QMetaType::Void, QMetaType::QPoint, 7,
|
||||
QMetaType::Void, QMetaType::QPoint, 7,
|
||||
QMetaType::Void, QMetaType::QPoint, 7,
|
||||
QMetaType::Void, QMetaType::QPolygon, 11,
|
||||
|
||||
// slots: parameters
|
||||
QMetaType::Void, QMetaType::Bool, 2,
|
||||
|
||||
// properties: name, type, flags
|
||||
13, QMetaType::Bool, 0x00095003,
|
||||
14, 0x80000000 | 15, 0x0009510b,
|
||||
16, 0x80000000 | 17, 0x0009510b,
|
||||
18, QMetaType::QPen, 0x00095103,
|
||||
19, QMetaType::QFont, 0x00095103,
|
||||
20, 0x80000000 | 21, 0x0009510b,
|
||||
22, QMetaType::QPen, 0x00095103,
|
||||
|
||||
// enums: name, alias, flags, count, data
|
||||
21, 21, 0x0, 8, 106,
|
||||
17, 17, 0x0, 3, 122,
|
||||
15, 15, 0x0, 2, 128,
|
||||
|
||||
// enum data: key, value
|
||||
23, uint(QwtPicker::NoRubberBand),
|
||||
24, uint(QwtPicker::HLineRubberBand),
|
||||
25, uint(QwtPicker::VLineRubberBand),
|
||||
26, uint(QwtPicker::CrossRubberBand),
|
||||
27, uint(QwtPicker::RectRubberBand),
|
||||
28, uint(QwtPicker::EllipseRubberBand),
|
||||
29, uint(QwtPicker::PolygonRubberBand),
|
||||
30, uint(QwtPicker::UserRubberBand),
|
||||
31, uint(QwtPicker::AlwaysOff),
|
||||
32, uint(QwtPicker::AlwaysOn),
|
||||
33, uint(QwtPicker::ActiveOnly),
|
||||
34, uint(QwtPicker::Stretch),
|
||||
35, uint(QwtPicker::KeepSize),
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void QwtPicker::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
auto *_t = static_cast<QwtPicker *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
switch (_id) {
|
||||
case 0: _t->activated((*reinterpret_cast< bool(*)>(_a[1]))); break;
|
||||
case 1: _t->selected((*reinterpret_cast< const QPolygon(*)>(_a[1]))); break;
|
||||
case 2: _t->appended((*reinterpret_cast< const QPoint(*)>(_a[1]))); break;
|
||||
case 3: _t->moved((*reinterpret_cast< const QPoint(*)>(_a[1]))); break;
|
||||
case 4: _t->removed((*reinterpret_cast< const QPoint(*)>(_a[1]))); break;
|
||||
case 5: _t->changed((*reinterpret_cast< const QPolygon(*)>(_a[1]))); break;
|
||||
case 6: _t->setEnabled((*reinterpret_cast< bool(*)>(_a[1]))); break;
|
||||
default: ;
|
||||
}
|
||||
} else if (_c == QMetaObject::IndexOfMethod) {
|
||||
int *result = reinterpret_cast<int *>(_a[0]);
|
||||
{
|
||||
using _t = void (QwtPicker::*)(bool );
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QwtPicker::activated)) {
|
||||
*result = 0;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
using _t = void (QwtPicker::*)(const QPolygon & );
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QwtPicker::selected)) {
|
||||
*result = 1;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
using _t = void (QwtPicker::*)(const QPoint & );
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QwtPicker::appended)) {
|
||||
*result = 2;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
using _t = void (QwtPicker::*)(const QPoint & );
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QwtPicker::moved)) {
|
||||
*result = 3;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
using _t = void (QwtPicker::*)(const QPoint & );
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QwtPicker::removed)) {
|
||||
*result = 4;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
using _t = void (QwtPicker::*)(const QPolygon & );
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QwtPicker::changed)) {
|
||||
*result = 5;
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
#ifndef QT_NO_PROPERTIES
|
||||
else if (_c == QMetaObject::ReadProperty) {
|
||||
auto *_t = static_cast<QwtPicker *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
void *_v = _a[0];
|
||||
switch (_id) {
|
||||
case 0: *reinterpret_cast< bool*>(_v) = _t->isEnabled(); break;
|
||||
case 1: *reinterpret_cast< ResizeMode*>(_v) = _t->resizeMode(); break;
|
||||
case 2: *reinterpret_cast< DisplayMode*>(_v) = _t->trackerMode(); break;
|
||||
case 3: *reinterpret_cast< QPen*>(_v) = _t->trackerPen(); break;
|
||||
case 4: *reinterpret_cast< QFont*>(_v) = _t->trackerFont(); break;
|
||||
case 5: *reinterpret_cast< RubberBand*>(_v) = _t->rubberBand(); break;
|
||||
case 6: *reinterpret_cast< QPen*>(_v) = _t->rubberBandPen(); break;
|
||||
default: break;
|
||||
}
|
||||
} else if (_c == QMetaObject::WriteProperty) {
|
||||
auto *_t = static_cast<QwtPicker *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
void *_v = _a[0];
|
||||
switch (_id) {
|
||||
case 0: _t->setEnabled(*reinterpret_cast< bool*>(_v)); break;
|
||||
case 1: _t->setResizeMode(*reinterpret_cast< ResizeMode*>(_v)); break;
|
||||
case 2: _t->setTrackerMode(*reinterpret_cast< DisplayMode*>(_v)); break;
|
||||
case 3: _t->setTrackerPen(*reinterpret_cast< QPen*>(_v)); break;
|
||||
case 4: _t->setTrackerFont(*reinterpret_cast< QFont*>(_v)); break;
|
||||
case 5: _t->setRubberBand(*reinterpret_cast< RubberBand*>(_v)); break;
|
||||
case 6: _t->setRubberBandPen(*reinterpret_cast< QPen*>(_v)); break;
|
||||
default: break;
|
||||
}
|
||||
} else if (_c == QMetaObject::ResetProperty) {
|
||||
}
|
||||
#endif // QT_NO_PROPERTIES
|
||||
}
|
||||
|
||||
QT_INIT_METAOBJECT const QMetaObject QwtPicker::staticMetaObject = { {
|
||||
QMetaObject::SuperData::link<QObject::staticMetaObject>(),
|
||||
qt_meta_stringdata_QwtPicker.data,
|
||||
qt_meta_data_QwtPicker,
|
||||
qt_static_metacall,
|
||||
nullptr,
|
||||
nullptr
|
||||
} };
|
||||
|
||||
|
||||
const QMetaObject *QwtPicker::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *QwtPicker::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return nullptr;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_QwtPicker.stringdata0))
|
||||
return static_cast<void*>(this);
|
||||
if (!strcmp(_clname, "QwtEventPattern"))
|
||||
return static_cast< QwtEventPattern*>(this);
|
||||
return QObject::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int QwtPicker::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QObject::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
if (_id < 7)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 7;
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
if (_id < 7)
|
||||
*reinterpret_cast<int*>(_a[0]) = -1;
|
||||
_id -= 7;
|
||||
}
|
||||
#ifndef QT_NO_PROPERTIES
|
||||
else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
|
||||
|| _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 7;
|
||||
} else if (_c == QMetaObject::QueryPropertyDesignable) {
|
||||
_id -= 7;
|
||||
} else if (_c == QMetaObject::QueryPropertyScriptable) {
|
||||
_id -= 7;
|
||||
} else if (_c == QMetaObject::QueryPropertyStored) {
|
||||
_id -= 7;
|
||||
} else if (_c == QMetaObject::QueryPropertyEditable) {
|
||||
_id -= 7;
|
||||
} else if (_c == QMetaObject::QueryPropertyUser) {
|
||||
_id -= 7;
|
||||
}
|
||||
#endif // QT_NO_PROPERTIES
|
||||
return _id;
|
||||
}
|
||||
|
||||
// SIGNAL 0
|
||||
void QwtPicker::activated(bool _t1)
|
||||
{
|
||||
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 0, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 1
|
||||
void QwtPicker::selected(const QPolygon & _t1)
|
||||
{
|
||||
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 1, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 2
|
||||
void QwtPicker::appended(const QPoint & _t1)
|
||||
{
|
||||
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 2, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 3
|
||||
void QwtPicker::moved(const QPoint & _t1)
|
||||
{
|
||||
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 3, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 4
|
||||
void QwtPicker::removed(const QPoint & _t1)
|
||||
{
|
||||
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 4, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 5
|
||||
void QwtPicker::changed(const QPolygon & _t1)
|
||||
{
|
||||
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 5, _a);
|
||||
}
|
||||
QT_WARNING_POP
|
||||
QT_END_MOC_NAMESPACE
|
||||
@@ -0,0 +1,238 @@
|
||||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'qwt_plot.h'
|
||||
**
|
||||
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2)
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost!
|
||||
*****************************************************************************/
|
||||
|
||||
#include <memory>
|
||||
#include "../../src/qwt_plot.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#include <QtCore/QList>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'qwt_plot.h' doesn't include <QObject>."
|
||||
#elif Q_MOC_OUTPUT_REVISION != 67
|
||||
#error "This file was generated using the moc from 5.15.2. It"
|
||||
#error "cannot be used with the include files from this version of Qt."
|
||||
#error "(The moc has changed too much.)"
|
||||
#endif
|
||||
|
||||
QT_BEGIN_MOC_NAMESPACE
|
||||
QT_WARNING_PUSH
|
||||
QT_WARNING_DISABLE_DEPRECATED
|
||||
struct qt_meta_stringdata_QwtPlot_t {
|
||||
QByteArrayData data[16];
|
||||
char stringdata0[176];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_QwtPlot_t, stringdata0) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_QwtPlot_t qt_meta_stringdata_QwtPlot = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 7), // "QwtPlot"
|
||||
QT_MOC_LITERAL(1, 8, 12), // "itemAttached"
|
||||
QT_MOC_LITERAL(2, 21, 0), // ""
|
||||
QT_MOC_LITERAL(3, 22, 12), // "QwtPlotItem*"
|
||||
QT_MOC_LITERAL(4, 35, 8), // "plotItem"
|
||||
QT_MOC_LITERAL(5, 44, 2), // "on"
|
||||
QT_MOC_LITERAL(6, 47, 17), // "legendDataChanged"
|
||||
QT_MOC_LITERAL(7, 65, 8), // "itemInfo"
|
||||
QT_MOC_LITERAL(8, 74, 20), // "QList<QwtLegendData>"
|
||||
QT_MOC_LITERAL(9, 95, 4), // "data"
|
||||
QT_MOC_LITERAL(10, 100, 6), // "replot"
|
||||
QT_MOC_LITERAL(11, 107, 11), // "autoRefresh"
|
||||
QT_MOC_LITERAL(12, 119, 17), // "updateLegendItems"
|
||||
QT_MOC_LITERAL(13, 137, 10), // "legendData"
|
||||
QT_MOC_LITERAL(14, 148, 16), // "canvasBackground"
|
||||
QT_MOC_LITERAL(15, 165, 10) // "autoReplot"
|
||||
|
||||
},
|
||||
"QwtPlot\0itemAttached\0\0QwtPlotItem*\0"
|
||||
"plotItem\0on\0legendDataChanged\0itemInfo\0"
|
||||
"QList<QwtLegendData>\0data\0replot\0"
|
||||
"autoRefresh\0updateLegendItems\0legendData\0"
|
||||
"canvasBackground\0autoReplot"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_QwtPlot[] = {
|
||||
|
||||
// content:
|
||||
8, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
5, 14, // methods
|
||||
2, 56, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
2, // signalCount
|
||||
|
||||
// signals: name, argc, parameters, tag, flags
|
||||
1, 2, 39, 2, 0x06 /* Public */,
|
||||
6, 2, 44, 2, 0x06 /* Public */,
|
||||
|
||||
// slots: name, argc, parameters, tag, flags
|
||||
10, 0, 49, 2, 0x0a /* Public */,
|
||||
11, 0, 50, 2, 0x0a /* Public */,
|
||||
12, 2, 51, 2, 0x08 /* Private */,
|
||||
|
||||
// signals: parameters
|
||||
QMetaType::Void, 0x80000000 | 3, QMetaType::Bool, 4, 5,
|
||||
QMetaType::Void, QMetaType::QVariant, 0x80000000 | 8, 7, 9,
|
||||
|
||||
// slots: parameters
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void, QMetaType::QVariant, 0x80000000 | 8, 7, 13,
|
||||
|
||||
// properties: name, type, flags
|
||||
14, QMetaType::QBrush, 0x00095103,
|
||||
15, QMetaType::Bool, 0x00095103,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void QwtPlot::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
auto *_t = static_cast<QwtPlot *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
switch (_id) {
|
||||
case 0: _t->itemAttached((*reinterpret_cast< QwtPlotItem*(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
|
||||
case 1: _t->legendDataChanged((*reinterpret_cast< const QVariant(*)>(_a[1])),(*reinterpret_cast< const QList<QwtLegendData>(*)>(_a[2]))); break;
|
||||
case 2: _t->replot(); break;
|
||||
case 3: _t->autoRefresh(); break;
|
||||
case 4: _t->updateLegendItems((*reinterpret_cast< const QVariant(*)>(_a[1])),(*reinterpret_cast< const QList<QwtLegendData>(*)>(_a[2]))); break;
|
||||
default: ;
|
||||
}
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
switch (_id) {
|
||||
default: *reinterpret_cast<int*>(_a[0]) = -1; break;
|
||||
case 0:
|
||||
switch (*reinterpret_cast<int*>(_a[1])) {
|
||||
default: *reinterpret_cast<int*>(_a[0]) = -1; break;
|
||||
case 0:
|
||||
*reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QwtPlotItem* >(); break;
|
||||
}
|
||||
break;
|
||||
}
|
||||
} else if (_c == QMetaObject::IndexOfMethod) {
|
||||
int *result = reinterpret_cast<int *>(_a[0]);
|
||||
{
|
||||
using _t = void (QwtPlot::*)(QwtPlotItem * , bool );
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QwtPlot::itemAttached)) {
|
||||
*result = 0;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
using _t = void (QwtPlot::*)(const QVariant & , const QList<QwtLegendData> & );
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QwtPlot::legendDataChanged)) {
|
||||
*result = 1;
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
#ifndef QT_NO_PROPERTIES
|
||||
else if (_c == QMetaObject::ReadProperty) {
|
||||
auto *_t = static_cast<QwtPlot *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
void *_v = _a[0];
|
||||
switch (_id) {
|
||||
case 0: *reinterpret_cast< QBrush*>(_v) = _t->canvasBackground(); break;
|
||||
case 1: *reinterpret_cast< bool*>(_v) = _t->autoReplot(); break;
|
||||
default: break;
|
||||
}
|
||||
} else if (_c == QMetaObject::WriteProperty) {
|
||||
auto *_t = static_cast<QwtPlot *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
void *_v = _a[0];
|
||||
switch (_id) {
|
||||
case 0: _t->setCanvasBackground(*reinterpret_cast< QBrush*>(_v)); break;
|
||||
case 1: _t->setAutoReplot(*reinterpret_cast< bool*>(_v)); break;
|
||||
default: break;
|
||||
}
|
||||
} else if (_c == QMetaObject::ResetProperty) {
|
||||
}
|
||||
#endif // QT_NO_PROPERTIES
|
||||
}
|
||||
|
||||
QT_INIT_METAOBJECT const QMetaObject QwtPlot::staticMetaObject = { {
|
||||
QMetaObject::SuperData::link<QFrame::staticMetaObject>(),
|
||||
qt_meta_stringdata_QwtPlot.data,
|
||||
qt_meta_data_QwtPlot,
|
||||
qt_static_metacall,
|
||||
nullptr,
|
||||
nullptr
|
||||
} };
|
||||
|
||||
|
||||
const QMetaObject *QwtPlot::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *QwtPlot::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return nullptr;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_QwtPlot.stringdata0))
|
||||
return static_cast<void*>(this);
|
||||
if (!strcmp(_clname, "QwtPlotDict"))
|
||||
return static_cast< QwtPlotDict*>(this);
|
||||
return QFrame::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int QwtPlot::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QFrame::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
if (_id < 5)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 5;
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
if (_id < 5)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 5;
|
||||
}
|
||||
#ifndef QT_NO_PROPERTIES
|
||||
else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
|
||||
|| _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 2;
|
||||
} else if (_c == QMetaObject::QueryPropertyDesignable) {
|
||||
_id -= 2;
|
||||
} else if (_c == QMetaObject::QueryPropertyScriptable) {
|
||||
_id -= 2;
|
||||
} else if (_c == QMetaObject::QueryPropertyStored) {
|
||||
_id -= 2;
|
||||
} else if (_c == QMetaObject::QueryPropertyEditable) {
|
||||
_id -= 2;
|
||||
} else if (_c == QMetaObject::QueryPropertyUser) {
|
||||
_id -= 2;
|
||||
}
|
||||
#endif // QT_NO_PROPERTIES
|
||||
return _id;
|
||||
}
|
||||
|
||||
// SIGNAL 0
|
||||
void QwtPlot::itemAttached(QwtPlotItem * _t1, bool _t2)
|
||||
{
|
||||
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 0, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 1
|
||||
void QwtPlot::legendDataChanged(const QVariant & _t1, const QList<QwtLegendData> & _t2)
|
||||
{
|
||||
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 1, _a);
|
||||
}
|
||||
QT_WARNING_POP
|
||||
QT_END_MOC_NAMESPACE
|
||||
@@ -0,0 +1,176 @@
|
||||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'qwt_plot_canvas.h'
|
||||
**
|
||||
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2)
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost!
|
||||
*****************************************************************************/
|
||||
|
||||
#include <memory>
|
||||
#include "../../src/qwt_plot_canvas.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'qwt_plot_canvas.h' doesn't include <QObject>."
|
||||
#elif Q_MOC_OUTPUT_REVISION != 67
|
||||
#error "This file was generated using the moc from 5.15.2. It"
|
||||
#error "cannot be used with the include files from this version of Qt."
|
||||
#error "(The moc has changed too much.)"
|
||||
#endif
|
||||
|
||||
QT_BEGIN_MOC_NAMESPACE
|
||||
QT_WARNING_PUSH
|
||||
QT_WARNING_DISABLE_DEPRECATED
|
||||
struct qt_meta_stringdata_QwtPlotCanvas_t {
|
||||
QByteArrayData data[7];
|
||||
char stringdata0[82];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_QwtPlotCanvas_t, stringdata0) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_QwtPlotCanvas_t qt_meta_stringdata_QwtPlotCanvas = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 13), // "QwtPlotCanvas"
|
||||
QT_MOC_LITERAL(1, 14, 6), // "replot"
|
||||
QT_MOC_LITERAL(2, 21, 0), // ""
|
||||
QT_MOC_LITERAL(3, 22, 22), // "invalidateBackingStore"
|
||||
QT_MOC_LITERAL(4, 45, 10), // "borderPath"
|
||||
QT_MOC_LITERAL(5, 56, 12), // "QPainterPath"
|
||||
QT_MOC_LITERAL(6, 69, 12) // "borderRadius"
|
||||
|
||||
},
|
||||
"QwtPlotCanvas\0replot\0\0invalidateBackingStore\0"
|
||||
"borderPath\0QPainterPath\0borderRadius"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_QwtPlotCanvas[] = {
|
||||
|
||||
// content:
|
||||
8, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
3, 14, // methods
|
||||
1, 34, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
0, // signalCount
|
||||
|
||||
// slots: name, argc, parameters, tag, flags
|
||||
1, 0, 29, 2, 0x0a /* Public */,
|
||||
|
||||
// methods: name, argc, parameters, tag, flags
|
||||
3, 0, 30, 2, 0x02 /* Public */,
|
||||
4, 1, 31, 2, 0x02 /* Public */,
|
||||
|
||||
// slots: parameters
|
||||
QMetaType::Void,
|
||||
|
||||
// methods: parameters
|
||||
QMetaType::Void,
|
||||
0x80000000 | 5, QMetaType::QRect, 2,
|
||||
|
||||
// properties: name, type, flags
|
||||
6, QMetaType::Double, 0x00095103,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void QwtPlotCanvas::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
auto *_t = static_cast<QwtPlotCanvas *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
switch (_id) {
|
||||
case 0: _t->replot(); break;
|
||||
case 1: _t->invalidateBackingStore(); break;
|
||||
case 2: { QPainterPath _r = _t->borderPath((*reinterpret_cast< const QRect(*)>(_a[1])));
|
||||
if (_a[0]) *reinterpret_cast< QPainterPath*>(_a[0]) = std::move(_r); } break;
|
||||
default: ;
|
||||
}
|
||||
}
|
||||
#ifndef QT_NO_PROPERTIES
|
||||
else if (_c == QMetaObject::ReadProperty) {
|
||||
auto *_t = static_cast<QwtPlotCanvas *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
void *_v = _a[0];
|
||||
switch (_id) {
|
||||
case 0: *reinterpret_cast< double*>(_v) = _t->borderRadius(); break;
|
||||
default: break;
|
||||
}
|
||||
} else if (_c == QMetaObject::WriteProperty) {
|
||||
auto *_t = static_cast<QwtPlotCanvas *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
void *_v = _a[0];
|
||||
switch (_id) {
|
||||
case 0: _t->setBorderRadius(*reinterpret_cast< double*>(_v)); break;
|
||||
default: break;
|
||||
}
|
||||
} else if (_c == QMetaObject::ResetProperty) {
|
||||
}
|
||||
#endif // QT_NO_PROPERTIES
|
||||
}
|
||||
|
||||
QT_INIT_METAOBJECT const QMetaObject QwtPlotCanvas::staticMetaObject = { {
|
||||
QMetaObject::SuperData::link<QFrame::staticMetaObject>(),
|
||||
qt_meta_stringdata_QwtPlotCanvas.data,
|
||||
qt_meta_data_QwtPlotCanvas,
|
||||
qt_static_metacall,
|
||||
nullptr,
|
||||
nullptr
|
||||
} };
|
||||
|
||||
|
||||
const QMetaObject *QwtPlotCanvas::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *QwtPlotCanvas::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return nullptr;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_QwtPlotCanvas.stringdata0))
|
||||
return static_cast<void*>(this);
|
||||
if (!strcmp(_clname, "QwtPlotAbstractCanvas"))
|
||||
return static_cast< QwtPlotAbstractCanvas*>(this);
|
||||
return QFrame::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int QwtPlotCanvas::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QFrame::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
if (_id < 3)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 3;
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
if (_id < 3)
|
||||
*reinterpret_cast<int*>(_a[0]) = -1;
|
||||
_id -= 3;
|
||||
}
|
||||
#ifndef QT_NO_PROPERTIES
|
||||
else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
|
||||
|| _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 1;
|
||||
} else if (_c == QMetaObject::QueryPropertyDesignable) {
|
||||
_id -= 1;
|
||||
} else if (_c == QMetaObject::QueryPropertyScriptable) {
|
||||
_id -= 1;
|
||||
} else if (_c == QMetaObject::QueryPropertyStored) {
|
||||
_id -= 1;
|
||||
} else if (_c == QMetaObject::QueryPropertyEditable) {
|
||||
_id -= 1;
|
||||
} else if (_c == QMetaObject::QueryPropertyUser) {
|
||||
_id -= 1;
|
||||
}
|
||||
#endif // QT_NO_PROPERTIES
|
||||
return _id;
|
||||
}
|
||||
QT_WARNING_POP
|
||||
QT_END_MOC_NAMESPACE
|
||||
@@ -0,0 +1,208 @@
|
||||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'qwt_plot_glcanvas.h'
|
||||
**
|
||||
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2)
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost!
|
||||
*****************************************************************************/
|
||||
|
||||
#include <memory>
|
||||
#include "../../src/qwt_plot_glcanvas.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'qwt_plot_glcanvas.h' doesn't include <QObject>."
|
||||
#elif Q_MOC_OUTPUT_REVISION != 67
|
||||
#error "This file was generated using the moc from 5.15.2. It"
|
||||
#error "cannot be used with the include files from this version of Qt."
|
||||
#error "(The moc has changed too much.)"
|
||||
#endif
|
||||
|
||||
QT_BEGIN_MOC_NAMESPACE
|
||||
QT_WARNING_PUSH
|
||||
QT_WARNING_DISABLE_DEPRECATED
|
||||
struct qt_meta_stringdata_QwtPlotGLCanvas_t {
|
||||
QByteArrayData data[15];
|
||||
char stringdata0[180];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_QwtPlotGLCanvas_t, stringdata0) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_QwtPlotGLCanvas_t qt_meta_stringdata_QwtPlotGLCanvas = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 15), // "QwtPlotGLCanvas"
|
||||
QT_MOC_LITERAL(1, 16, 6), // "replot"
|
||||
QT_MOC_LITERAL(2, 23, 0), // ""
|
||||
QT_MOC_LITERAL(3, 24, 22), // "invalidateBackingStore"
|
||||
QT_MOC_LITERAL(4, 47, 10), // "borderPath"
|
||||
QT_MOC_LITERAL(5, 58, 12), // "QPainterPath"
|
||||
QT_MOC_LITERAL(6, 71, 11), // "frameShadow"
|
||||
QT_MOC_LITERAL(7, 83, 14), // "QFrame::Shadow"
|
||||
QT_MOC_LITERAL(8, 98, 10), // "frameShape"
|
||||
QT_MOC_LITERAL(9, 109, 13), // "QFrame::Shape"
|
||||
QT_MOC_LITERAL(10, 123, 9), // "lineWidth"
|
||||
QT_MOC_LITERAL(11, 133, 12), // "midLineWidth"
|
||||
QT_MOC_LITERAL(12, 146, 10), // "frameWidth"
|
||||
QT_MOC_LITERAL(13, 157, 9), // "frameRect"
|
||||
QT_MOC_LITERAL(14, 167, 12) // "borderRadius"
|
||||
|
||||
},
|
||||
"QwtPlotGLCanvas\0replot\0\0invalidateBackingStore\0"
|
||||
"borderPath\0QPainterPath\0frameShadow\0"
|
||||
"QFrame::Shadow\0frameShape\0QFrame::Shape\0"
|
||||
"lineWidth\0midLineWidth\0frameWidth\0"
|
||||
"frameRect\0borderRadius"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_QwtPlotGLCanvas[] = {
|
||||
|
||||
// content:
|
||||
8, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
3, 14, // methods
|
||||
7, 34, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
0, // signalCount
|
||||
|
||||
// slots: name, argc, parameters, tag, flags
|
||||
1, 0, 29, 2, 0x0a /* Public */,
|
||||
|
||||
// methods: name, argc, parameters, tag, flags
|
||||
3, 0, 30, 2, 0x02 /* Public */,
|
||||
4, 1, 31, 2, 0x02 /* Public */,
|
||||
|
||||
// slots: parameters
|
||||
QMetaType::Void,
|
||||
|
||||
// methods: parameters
|
||||
QMetaType::Void,
|
||||
0x80000000 | 5, QMetaType::QRect, 2,
|
||||
|
||||
// properties: name, type, flags
|
||||
6, 0x80000000 | 7, 0x0009510b,
|
||||
8, 0x80000000 | 9, 0x0009510b,
|
||||
10, QMetaType::Int, 0x00095103,
|
||||
11, QMetaType::Int, 0x00095103,
|
||||
12, QMetaType::Int, 0x00095001,
|
||||
13, QMetaType::QRect, 0x00094001,
|
||||
14, QMetaType::Double, 0x00095103,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void QwtPlotGLCanvas::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
auto *_t = static_cast<QwtPlotGLCanvas *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
switch (_id) {
|
||||
case 0: _t->replot(); break;
|
||||
case 1: _t->invalidateBackingStore(); break;
|
||||
case 2: { QPainterPath _r = _t->borderPath((*reinterpret_cast< const QRect(*)>(_a[1])));
|
||||
if (_a[0]) *reinterpret_cast< QPainterPath*>(_a[0]) = std::move(_r); } break;
|
||||
default: ;
|
||||
}
|
||||
}
|
||||
#ifndef QT_NO_PROPERTIES
|
||||
else if (_c == QMetaObject::ReadProperty) {
|
||||
auto *_t = static_cast<QwtPlotGLCanvas *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
void *_v = _a[0];
|
||||
switch (_id) {
|
||||
case 0: *reinterpret_cast< QFrame::Shadow*>(_v) = _t->frameShadow(); break;
|
||||
case 1: *reinterpret_cast< QFrame::Shape*>(_v) = _t->frameShape(); break;
|
||||
case 2: *reinterpret_cast< int*>(_v) = _t->lineWidth(); break;
|
||||
case 3: *reinterpret_cast< int*>(_v) = _t->midLineWidth(); break;
|
||||
case 4: *reinterpret_cast< int*>(_v) = _t->frameWidth(); break;
|
||||
case 5: *reinterpret_cast< QRect*>(_v) = _t->frameRect(); break;
|
||||
case 6: *reinterpret_cast< double*>(_v) = _t->borderRadius(); break;
|
||||
default: break;
|
||||
}
|
||||
} else if (_c == QMetaObject::WriteProperty) {
|
||||
auto *_t = static_cast<QwtPlotGLCanvas *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
void *_v = _a[0];
|
||||
switch (_id) {
|
||||
case 0: _t->setFrameShadow(*reinterpret_cast< QFrame::Shadow*>(_v)); break;
|
||||
case 1: _t->setFrameShape(*reinterpret_cast< QFrame::Shape*>(_v)); break;
|
||||
case 2: _t->setLineWidth(*reinterpret_cast< int*>(_v)); break;
|
||||
case 3: _t->setMidLineWidth(*reinterpret_cast< int*>(_v)); break;
|
||||
case 6: _t->setBorderRadius(*reinterpret_cast< double*>(_v)); break;
|
||||
default: break;
|
||||
}
|
||||
} else if (_c == QMetaObject::ResetProperty) {
|
||||
}
|
||||
#endif // QT_NO_PROPERTIES
|
||||
}
|
||||
|
||||
static const QMetaObject::SuperData qt_meta_extradata_QwtPlotGLCanvas[] = {
|
||||
QMetaObject::SuperData::link<QFrame::staticMetaObject>(),
|
||||
nullptr
|
||||
};
|
||||
|
||||
QT_INIT_METAOBJECT const QMetaObject QwtPlotGLCanvas::staticMetaObject = { {
|
||||
QMetaObject::SuperData::link<QGLWidget::staticMetaObject>(),
|
||||
qt_meta_stringdata_QwtPlotGLCanvas.data,
|
||||
qt_meta_data_QwtPlotGLCanvas,
|
||||
qt_static_metacall,
|
||||
qt_meta_extradata_QwtPlotGLCanvas,
|
||||
nullptr
|
||||
} };
|
||||
|
||||
|
||||
const QMetaObject *QwtPlotGLCanvas::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *QwtPlotGLCanvas::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return nullptr;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_QwtPlotGLCanvas.stringdata0))
|
||||
return static_cast<void*>(this);
|
||||
if (!strcmp(_clname, "QwtPlotAbstractGLCanvas"))
|
||||
return static_cast< QwtPlotAbstractGLCanvas*>(this);
|
||||
return QGLWidget::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int QwtPlotGLCanvas::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QGLWidget::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
if (_id < 3)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 3;
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
if (_id < 3)
|
||||
*reinterpret_cast<int*>(_a[0]) = -1;
|
||||
_id -= 3;
|
||||
}
|
||||
#ifndef QT_NO_PROPERTIES
|
||||
else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
|
||||
|| _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 7;
|
||||
} else if (_c == QMetaObject::QueryPropertyDesignable) {
|
||||
_id -= 7;
|
||||
} else if (_c == QMetaObject::QueryPropertyScriptable) {
|
||||
_id -= 7;
|
||||
} else if (_c == QMetaObject::QueryPropertyStored) {
|
||||
_id -= 7;
|
||||
} else if (_c == QMetaObject::QueryPropertyEditable) {
|
||||
_id -= 7;
|
||||
} else if (_c == QMetaObject::QueryPropertyUser) {
|
||||
_id -= 7;
|
||||
}
|
||||
#endif // QT_NO_PROPERTIES
|
||||
return _id;
|
||||
}
|
||||
QT_WARNING_POP
|
||||
QT_END_MOC_NAMESPACE
|
||||
@@ -0,0 +1,119 @@
|
||||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'qwt_plot_magnifier.h'
|
||||
**
|
||||
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2)
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost!
|
||||
*****************************************************************************/
|
||||
|
||||
#include <memory>
|
||||
#include "../../src/qwt_plot_magnifier.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'qwt_plot_magnifier.h' doesn't include <QObject>."
|
||||
#elif Q_MOC_OUTPUT_REVISION != 67
|
||||
#error "This file was generated using the moc from 5.15.2. It"
|
||||
#error "cannot be used with the include files from this version of Qt."
|
||||
#error "(The moc has changed too much.)"
|
||||
#endif
|
||||
|
||||
QT_BEGIN_MOC_NAMESPACE
|
||||
QT_WARNING_PUSH
|
||||
QT_WARNING_DISABLE_DEPRECATED
|
||||
struct qt_meta_stringdata_QwtPlotMagnifier_t {
|
||||
QByteArrayData data[4];
|
||||
char stringdata0[33];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_QwtPlotMagnifier_t, stringdata0) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_QwtPlotMagnifier_t qt_meta_stringdata_QwtPlotMagnifier = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 16), // "QwtPlotMagnifier"
|
||||
QT_MOC_LITERAL(1, 17, 7), // "rescale"
|
||||
QT_MOC_LITERAL(2, 25, 0), // ""
|
||||
QT_MOC_LITERAL(3, 26, 6) // "factor"
|
||||
|
||||
},
|
||||
"QwtPlotMagnifier\0rescale\0\0factor"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_QwtPlotMagnifier[] = {
|
||||
|
||||
// content:
|
||||
8, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
1, 14, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
0, // signalCount
|
||||
|
||||
// slots: name, argc, parameters, tag, flags
|
||||
1, 1, 19, 2, 0x0a /* Public */,
|
||||
|
||||
// slots: parameters
|
||||
QMetaType::Void, QMetaType::Double, 3,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void QwtPlotMagnifier::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
auto *_t = static_cast<QwtPlotMagnifier *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
switch (_id) {
|
||||
case 0: _t->rescale((*reinterpret_cast< double(*)>(_a[1]))); break;
|
||||
default: ;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
QT_INIT_METAOBJECT const QMetaObject QwtPlotMagnifier::staticMetaObject = { {
|
||||
QMetaObject::SuperData::link<QwtMagnifier::staticMetaObject>(),
|
||||
qt_meta_stringdata_QwtPlotMagnifier.data,
|
||||
qt_meta_data_QwtPlotMagnifier,
|
||||
qt_static_metacall,
|
||||
nullptr,
|
||||
nullptr
|
||||
} };
|
||||
|
||||
|
||||
const QMetaObject *QwtPlotMagnifier::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *QwtPlotMagnifier::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return nullptr;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_QwtPlotMagnifier.stringdata0))
|
||||
return static_cast<void*>(this);
|
||||
return QwtMagnifier::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int QwtPlotMagnifier::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QwtMagnifier::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
if (_id < 1)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 1;
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
if (_id < 1)
|
||||
*reinterpret_cast<int*>(_a[0]) = -1;
|
||||
_id -= 1;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
QT_WARNING_POP
|
||||
QT_END_MOC_NAMESPACE
|
||||
@@ -0,0 +1,209 @@
|
||||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'qwt_plot_opengl_canvas.h'
|
||||
**
|
||||
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2)
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost!
|
||||
*****************************************************************************/
|
||||
|
||||
#include <memory>
|
||||
#include "../../src/qwt_plot_opengl_canvas.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'qwt_plot_opengl_canvas.h' doesn't include <QObject>."
|
||||
#elif Q_MOC_OUTPUT_REVISION != 67
|
||||
#error "This file was generated using the moc from 5.15.2. It"
|
||||
#error "cannot be used with the include files from this version of Qt."
|
||||
#error "(The moc has changed too much.)"
|
||||
#endif
|
||||
|
||||
QT_BEGIN_MOC_NAMESPACE
|
||||
QT_WARNING_PUSH
|
||||
QT_WARNING_DISABLE_DEPRECATED
|
||||
struct qt_meta_stringdata_QwtPlotOpenGLCanvas_t {
|
||||
QByteArrayData data[15];
|
||||
char stringdata0[184];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_QwtPlotOpenGLCanvas_t, stringdata0) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_QwtPlotOpenGLCanvas_t qt_meta_stringdata_QwtPlotOpenGLCanvas = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 19), // "QwtPlotOpenGLCanvas"
|
||||
QT_MOC_LITERAL(1, 20, 6), // "replot"
|
||||
QT_MOC_LITERAL(2, 27, 0), // ""
|
||||
QT_MOC_LITERAL(3, 28, 22), // "invalidateBackingStore"
|
||||
QT_MOC_LITERAL(4, 51, 10), // "borderPath"
|
||||
QT_MOC_LITERAL(5, 62, 12), // "QPainterPath"
|
||||
QT_MOC_LITERAL(6, 75, 11), // "frameShadow"
|
||||
QT_MOC_LITERAL(7, 87, 14), // "QFrame::Shadow"
|
||||
QT_MOC_LITERAL(8, 102, 10), // "frameShape"
|
||||
QT_MOC_LITERAL(9, 113, 13), // "QFrame::Shape"
|
||||
QT_MOC_LITERAL(10, 127, 9), // "lineWidth"
|
||||
QT_MOC_LITERAL(11, 137, 12), // "midLineWidth"
|
||||
QT_MOC_LITERAL(12, 150, 10), // "frameWidth"
|
||||
QT_MOC_LITERAL(13, 161, 9), // "frameRect"
|
||||
QT_MOC_LITERAL(14, 171, 12) // "borderRadius"
|
||||
|
||||
},
|
||||
"QwtPlotOpenGLCanvas\0replot\0\0"
|
||||
"invalidateBackingStore\0borderPath\0"
|
||||
"QPainterPath\0frameShadow\0QFrame::Shadow\0"
|
||||
"frameShape\0QFrame::Shape\0lineWidth\0"
|
||||
"midLineWidth\0frameWidth\0frameRect\0"
|
||||
"borderRadius"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_QwtPlotOpenGLCanvas[] = {
|
||||
|
||||
// content:
|
||||
8, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
3, 14, // methods
|
||||
7, 34, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
0, // signalCount
|
||||
|
||||
// slots: name, argc, parameters, tag, flags
|
||||
1, 0, 29, 2, 0x0a /* Public */,
|
||||
|
||||
// methods: name, argc, parameters, tag, flags
|
||||
3, 0, 30, 2, 0x02 /* Public */,
|
||||
4, 1, 31, 2, 0x02 /* Public */,
|
||||
|
||||
// slots: parameters
|
||||
QMetaType::Void,
|
||||
|
||||
// methods: parameters
|
||||
QMetaType::Void,
|
||||
0x80000000 | 5, QMetaType::QRect, 2,
|
||||
|
||||
// properties: name, type, flags
|
||||
6, 0x80000000 | 7, 0x0009510b,
|
||||
8, 0x80000000 | 9, 0x0009510b,
|
||||
10, QMetaType::Int, 0x00095103,
|
||||
11, QMetaType::Int, 0x00095103,
|
||||
12, QMetaType::Int, 0x00095001,
|
||||
13, QMetaType::QRect, 0x00094001,
|
||||
14, QMetaType::Double, 0x00095103,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void QwtPlotOpenGLCanvas::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
auto *_t = static_cast<QwtPlotOpenGLCanvas *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
switch (_id) {
|
||||
case 0: _t->replot(); break;
|
||||
case 1: _t->invalidateBackingStore(); break;
|
||||
case 2: { QPainterPath _r = _t->borderPath((*reinterpret_cast< const QRect(*)>(_a[1])));
|
||||
if (_a[0]) *reinterpret_cast< QPainterPath*>(_a[0]) = std::move(_r); } break;
|
||||
default: ;
|
||||
}
|
||||
}
|
||||
#ifndef QT_NO_PROPERTIES
|
||||
else if (_c == QMetaObject::ReadProperty) {
|
||||
auto *_t = static_cast<QwtPlotOpenGLCanvas *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
void *_v = _a[0];
|
||||
switch (_id) {
|
||||
case 0: *reinterpret_cast< QFrame::Shadow*>(_v) = _t->frameShadow(); break;
|
||||
case 1: *reinterpret_cast< QFrame::Shape*>(_v) = _t->frameShape(); break;
|
||||
case 2: *reinterpret_cast< int*>(_v) = _t->lineWidth(); break;
|
||||
case 3: *reinterpret_cast< int*>(_v) = _t->midLineWidth(); break;
|
||||
case 4: *reinterpret_cast< int*>(_v) = _t->frameWidth(); break;
|
||||
case 5: *reinterpret_cast< QRect*>(_v) = _t->frameRect(); break;
|
||||
case 6: *reinterpret_cast< double*>(_v) = _t->borderRadius(); break;
|
||||
default: break;
|
||||
}
|
||||
} else if (_c == QMetaObject::WriteProperty) {
|
||||
auto *_t = static_cast<QwtPlotOpenGLCanvas *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
void *_v = _a[0];
|
||||
switch (_id) {
|
||||
case 0: _t->setFrameShadow(*reinterpret_cast< QFrame::Shadow*>(_v)); break;
|
||||
case 1: _t->setFrameShape(*reinterpret_cast< QFrame::Shape*>(_v)); break;
|
||||
case 2: _t->setLineWidth(*reinterpret_cast< int*>(_v)); break;
|
||||
case 3: _t->setMidLineWidth(*reinterpret_cast< int*>(_v)); break;
|
||||
case 6: _t->setBorderRadius(*reinterpret_cast< double*>(_v)); break;
|
||||
default: break;
|
||||
}
|
||||
} else if (_c == QMetaObject::ResetProperty) {
|
||||
}
|
||||
#endif // QT_NO_PROPERTIES
|
||||
}
|
||||
|
||||
static const QMetaObject::SuperData qt_meta_extradata_QwtPlotOpenGLCanvas[] = {
|
||||
QMetaObject::SuperData::link<QFrame::staticMetaObject>(),
|
||||
nullptr
|
||||
};
|
||||
|
||||
QT_INIT_METAOBJECT const QMetaObject QwtPlotOpenGLCanvas::staticMetaObject = { {
|
||||
QMetaObject::SuperData::link<QOpenGLWidget::staticMetaObject>(),
|
||||
qt_meta_stringdata_QwtPlotOpenGLCanvas.data,
|
||||
qt_meta_data_QwtPlotOpenGLCanvas,
|
||||
qt_static_metacall,
|
||||
qt_meta_extradata_QwtPlotOpenGLCanvas,
|
||||
nullptr
|
||||
} };
|
||||
|
||||
|
||||
const QMetaObject *QwtPlotOpenGLCanvas::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *QwtPlotOpenGLCanvas::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return nullptr;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_QwtPlotOpenGLCanvas.stringdata0))
|
||||
return static_cast<void*>(this);
|
||||
if (!strcmp(_clname, "QwtPlotAbstractGLCanvas"))
|
||||
return static_cast< QwtPlotAbstractGLCanvas*>(this);
|
||||
return QOpenGLWidget::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int QwtPlotOpenGLCanvas::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QOpenGLWidget::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
if (_id < 3)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 3;
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
if (_id < 3)
|
||||
*reinterpret_cast<int*>(_a[0]) = -1;
|
||||
_id -= 3;
|
||||
}
|
||||
#ifndef QT_NO_PROPERTIES
|
||||
else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
|
||||
|| _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 7;
|
||||
} else if (_c == QMetaObject::QueryPropertyDesignable) {
|
||||
_id -= 7;
|
||||
} else if (_c == QMetaObject::QueryPropertyScriptable) {
|
||||
_id -= 7;
|
||||
} else if (_c == QMetaObject::QueryPropertyStored) {
|
||||
_id -= 7;
|
||||
} else if (_c == QMetaObject::QueryPropertyEditable) {
|
||||
_id -= 7;
|
||||
} else if (_c == QMetaObject::QueryPropertyUser) {
|
||||
_id -= 7;
|
||||
}
|
||||
#endif // QT_NO_PROPERTIES
|
||||
return _id;
|
||||
}
|
||||
QT_WARNING_POP
|
||||
QT_END_MOC_NAMESPACE
|
||||
@@ -0,0 +1,120 @@
|
||||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'qwt_plot_panner.h'
|
||||
**
|
||||
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2)
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost!
|
||||
*****************************************************************************/
|
||||
|
||||
#include <memory>
|
||||
#include "../../src/qwt_plot_panner.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'qwt_plot_panner.h' doesn't include <QObject>."
|
||||
#elif Q_MOC_OUTPUT_REVISION != 67
|
||||
#error "This file was generated using the moc from 5.15.2. It"
|
||||
#error "cannot be used with the include files from this version of Qt."
|
||||
#error "(The moc has changed too much.)"
|
||||
#endif
|
||||
|
||||
QT_BEGIN_MOC_NAMESPACE
|
||||
QT_WARNING_PUSH
|
||||
QT_WARNING_DISABLE_DEPRECATED
|
||||
struct qt_meta_stringdata_QwtPlotPanner_t {
|
||||
QByteArrayData data[5];
|
||||
char stringdata0[32];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_QwtPlotPanner_t, stringdata0) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_QwtPlotPanner_t qt_meta_stringdata_QwtPlotPanner = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 13), // "QwtPlotPanner"
|
||||
QT_MOC_LITERAL(1, 14, 10), // "moveCanvas"
|
||||
QT_MOC_LITERAL(2, 25, 0), // ""
|
||||
QT_MOC_LITERAL(3, 26, 2), // "dx"
|
||||
QT_MOC_LITERAL(4, 29, 2) // "dy"
|
||||
|
||||
},
|
||||
"QwtPlotPanner\0moveCanvas\0\0dx\0dy"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_QwtPlotPanner[] = {
|
||||
|
||||
// content:
|
||||
8, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
1, 14, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
0, // signalCount
|
||||
|
||||
// slots: name, argc, parameters, tag, flags
|
||||
1, 2, 19, 2, 0x0a /* Public */,
|
||||
|
||||
// slots: parameters
|
||||
QMetaType::Void, QMetaType::Int, QMetaType::Int, 3, 4,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void QwtPlotPanner::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
auto *_t = static_cast<QwtPlotPanner *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
switch (_id) {
|
||||
case 0: _t->moveCanvas((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
|
||||
default: ;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
QT_INIT_METAOBJECT const QMetaObject QwtPlotPanner::staticMetaObject = { {
|
||||
QMetaObject::SuperData::link<QwtPanner::staticMetaObject>(),
|
||||
qt_meta_stringdata_QwtPlotPanner.data,
|
||||
qt_meta_data_QwtPlotPanner,
|
||||
qt_static_metacall,
|
||||
nullptr,
|
||||
nullptr
|
||||
} };
|
||||
|
||||
|
||||
const QMetaObject *QwtPlotPanner::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *QwtPlotPanner::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return nullptr;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_QwtPlotPanner.stringdata0))
|
||||
return static_cast<void*>(this);
|
||||
return QwtPanner::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int QwtPlotPanner::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QwtPanner::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
if (_id < 1)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 1;
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
if (_id < 1)
|
||||
*reinterpret_cast<int*>(_a[0]) = -1;
|
||||
_id -= 1;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
QT_WARNING_POP
|
||||
QT_END_MOC_NAMESPACE
|
||||
@@ -0,0 +1,221 @@
|
||||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'qwt_plot_picker.h'
|
||||
**
|
||||
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2)
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost!
|
||||
*****************************************************************************/
|
||||
|
||||
#include <memory>
|
||||
#include "../../src/qwt_plot_picker.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#include <QtCore/QVector>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'qwt_plot_picker.h' doesn't include <QObject>."
|
||||
#elif Q_MOC_OUTPUT_REVISION != 67
|
||||
#error "This file was generated using the moc from 5.15.2. It"
|
||||
#error "cannot be used with the include files from this version of Qt."
|
||||
#error "(The moc has changed too much.)"
|
||||
#endif
|
||||
|
||||
QT_BEGIN_MOC_NAMESPACE
|
||||
QT_WARNING_PUSH
|
||||
QT_WARNING_DISABLE_DEPRECATED
|
||||
struct qt_meta_stringdata_QwtPlotPicker_t {
|
||||
QByteArrayData data[9];
|
||||
char stringdata0[68];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_QwtPlotPicker_t, stringdata0) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_QwtPlotPicker_t qt_meta_stringdata_QwtPlotPicker = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 13), // "QwtPlotPicker"
|
||||
QT_MOC_LITERAL(1, 14, 8), // "selected"
|
||||
QT_MOC_LITERAL(2, 23, 0), // ""
|
||||
QT_MOC_LITERAL(3, 24, 3), // "pos"
|
||||
QT_MOC_LITERAL(4, 28, 4), // "rect"
|
||||
QT_MOC_LITERAL(5, 33, 16), // "QVector<QPointF>"
|
||||
QT_MOC_LITERAL(6, 50, 2), // "pa"
|
||||
QT_MOC_LITERAL(7, 53, 8), // "appended"
|
||||
QT_MOC_LITERAL(8, 62, 5) // "moved"
|
||||
|
||||
},
|
||||
"QwtPlotPicker\0selected\0\0pos\0rect\0"
|
||||
"QVector<QPointF>\0pa\0appended\0moved"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_QwtPlotPicker[] = {
|
||||
|
||||
// content:
|
||||
8, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
5, 14, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
5, // signalCount
|
||||
|
||||
// signals: name, argc, parameters, tag, flags
|
||||
1, 1, 39, 2, 0x06 /* Public */,
|
||||
1, 1, 42, 2, 0x06 /* Public */,
|
||||
1, 1, 45, 2, 0x06 /* Public */,
|
||||
7, 1, 48, 2, 0x06 /* Public */,
|
||||
8, 1, 51, 2, 0x06 /* Public */,
|
||||
|
||||
// signals: parameters
|
||||
QMetaType::Void, QMetaType::QPointF, 3,
|
||||
QMetaType::Void, QMetaType::QRectF, 4,
|
||||
QMetaType::Void, 0x80000000 | 5, 6,
|
||||
QMetaType::Void, QMetaType::QPointF, 3,
|
||||
QMetaType::Void, QMetaType::QPointF, 3,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void QwtPlotPicker::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
auto *_t = static_cast<QwtPlotPicker *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
switch (_id) {
|
||||
case 0: _t->selected((*reinterpret_cast< const QPointF(*)>(_a[1]))); break;
|
||||
case 1: _t->selected((*reinterpret_cast< const QRectF(*)>(_a[1]))); break;
|
||||
case 2: _t->selected((*reinterpret_cast< const QVector<QPointF>(*)>(_a[1]))); break;
|
||||
case 3: _t->appended((*reinterpret_cast< const QPointF(*)>(_a[1]))); break;
|
||||
case 4: _t->moved((*reinterpret_cast< const QPointF(*)>(_a[1]))); break;
|
||||
default: ;
|
||||
}
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
switch (_id) {
|
||||
default: *reinterpret_cast<int*>(_a[0]) = -1; break;
|
||||
case 2:
|
||||
switch (*reinterpret_cast<int*>(_a[1])) {
|
||||
default: *reinterpret_cast<int*>(_a[0]) = -1; break;
|
||||
case 0:
|
||||
*reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QVector<QPointF> >(); break;
|
||||
}
|
||||
break;
|
||||
}
|
||||
} else if (_c == QMetaObject::IndexOfMethod) {
|
||||
int *result = reinterpret_cast<int *>(_a[0]);
|
||||
{
|
||||
using _t = void (QwtPlotPicker::*)(const QPointF & );
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QwtPlotPicker::selected)) {
|
||||
*result = 0;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
using _t = void (QwtPlotPicker::*)(const QRectF & );
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QwtPlotPicker::selected)) {
|
||||
*result = 1;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
using _t = void (QwtPlotPicker::*)(const QVector<QPointF> & );
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QwtPlotPicker::selected)) {
|
||||
*result = 2;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
using _t = void (QwtPlotPicker::*)(const QPointF & );
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QwtPlotPicker::appended)) {
|
||||
*result = 3;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
using _t = void (QwtPlotPicker::*)(const QPointF & );
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QwtPlotPicker::moved)) {
|
||||
*result = 4;
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
QT_INIT_METAOBJECT const QMetaObject QwtPlotPicker::staticMetaObject = { {
|
||||
QMetaObject::SuperData::link<QwtPicker::staticMetaObject>(),
|
||||
qt_meta_stringdata_QwtPlotPicker.data,
|
||||
qt_meta_data_QwtPlotPicker,
|
||||
qt_static_metacall,
|
||||
nullptr,
|
||||
nullptr
|
||||
} };
|
||||
|
||||
|
||||
const QMetaObject *QwtPlotPicker::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *QwtPlotPicker::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return nullptr;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_QwtPlotPicker.stringdata0))
|
||||
return static_cast<void*>(this);
|
||||
return QwtPicker::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int QwtPlotPicker::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QwtPicker::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
if (_id < 5)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 5;
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
if (_id < 5)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 5;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
|
||||
// SIGNAL 0
|
||||
void QwtPlotPicker::selected(const QPointF & _t1)
|
||||
{
|
||||
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 0, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 1
|
||||
void QwtPlotPicker::selected(const QRectF & _t1)
|
||||
{
|
||||
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 1, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 2
|
||||
void QwtPlotPicker::selected(const QVector<QPointF> & _t1)
|
||||
{
|
||||
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 2, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 3
|
||||
void QwtPlotPicker::appended(const QPointF & _t1)
|
||||
{
|
||||
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 3, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 4
|
||||
void QwtPlotPicker::moved(const QPointF & _t1)
|
||||
{
|
||||
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 4, _a);
|
||||
}
|
||||
QT_WARNING_POP
|
||||
QT_END_MOC_NAMESPACE
|
||||
@@ -0,0 +1,95 @@
|
||||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'qwt_plot_renderer.h'
|
||||
**
|
||||
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2)
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost!
|
||||
*****************************************************************************/
|
||||
|
||||
#include <memory>
|
||||
#include "../../src/qwt_plot_renderer.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'qwt_plot_renderer.h' doesn't include <QObject>."
|
||||
#elif Q_MOC_OUTPUT_REVISION != 67
|
||||
#error "This file was generated using the moc from 5.15.2. It"
|
||||
#error "cannot be used with the include files from this version of Qt."
|
||||
#error "(The moc has changed too much.)"
|
||||
#endif
|
||||
|
||||
QT_BEGIN_MOC_NAMESPACE
|
||||
QT_WARNING_PUSH
|
||||
QT_WARNING_DISABLE_DEPRECATED
|
||||
struct qt_meta_stringdata_QwtPlotRenderer_t {
|
||||
QByteArrayData data[1];
|
||||
char stringdata0[16];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_QwtPlotRenderer_t, stringdata0) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_QwtPlotRenderer_t qt_meta_stringdata_QwtPlotRenderer = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 15) // "QwtPlotRenderer"
|
||||
|
||||
},
|
||||
"QwtPlotRenderer"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_QwtPlotRenderer[] = {
|
||||
|
||||
// content:
|
||||
8, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
0, 0, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
0, // signalCount
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void QwtPlotRenderer::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
Q_UNUSED(_o);
|
||||
Q_UNUSED(_id);
|
||||
Q_UNUSED(_c);
|
||||
Q_UNUSED(_a);
|
||||
}
|
||||
|
||||
QT_INIT_METAOBJECT const QMetaObject QwtPlotRenderer::staticMetaObject = { {
|
||||
QMetaObject::SuperData::link<QObject::staticMetaObject>(),
|
||||
qt_meta_stringdata_QwtPlotRenderer.data,
|
||||
qt_meta_data_QwtPlotRenderer,
|
||||
qt_static_metacall,
|
||||
nullptr,
|
||||
nullptr
|
||||
} };
|
||||
|
||||
|
||||
const QMetaObject *QwtPlotRenderer::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *QwtPlotRenderer::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return nullptr;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_QwtPlotRenderer.stringdata0))
|
||||
return static_cast<void*>(this);
|
||||
return QObject::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int QwtPlotRenderer::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QObject::qt_metacall(_c, _id, _a);
|
||||
return _id;
|
||||
}
|
||||
QT_WARNING_POP
|
||||
QT_END_MOC_NAMESPACE
|
||||
@@ -0,0 +1,95 @@
|
||||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'qwt_plot_rescaler.h'
|
||||
**
|
||||
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2)
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost!
|
||||
*****************************************************************************/
|
||||
|
||||
#include <memory>
|
||||
#include "../../src/qwt_plot_rescaler.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'qwt_plot_rescaler.h' doesn't include <QObject>."
|
||||
#elif Q_MOC_OUTPUT_REVISION != 67
|
||||
#error "This file was generated using the moc from 5.15.2. It"
|
||||
#error "cannot be used with the include files from this version of Qt."
|
||||
#error "(The moc has changed too much.)"
|
||||
#endif
|
||||
|
||||
QT_BEGIN_MOC_NAMESPACE
|
||||
QT_WARNING_PUSH
|
||||
QT_WARNING_DISABLE_DEPRECATED
|
||||
struct qt_meta_stringdata_QwtPlotRescaler_t {
|
||||
QByteArrayData data[1];
|
||||
char stringdata0[16];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_QwtPlotRescaler_t, stringdata0) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_QwtPlotRescaler_t qt_meta_stringdata_QwtPlotRescaler = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 15) // "QwtPlotRescaler"
|
||||
|
||||
},
|
||||
"QwtPlotRescaler"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_QwtPlotRescaler[] = {
|
||||
|
||||
// content:
|
||||
8, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
0, 0, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
0, // signalCount
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void QwtPlotRescaler::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
Q_UNUSED(_o);
|
||||
Q_UNUSED(_id);
|
||||
Q_UNUSED(_c);
|
||||
Q_UNUSED(_a);
|
||||
}
|
||||
|
||||
QT_INIT_METAOBJECT const QMetaObject QwtPlotRescaler::staticMetaObject = { {
|
||||
QMetaObject::SuperData::link<QObject::staticMetaObject>(),
|
||||
qt_meta_stringdata_QwtPlotRescaler.data,
|
||||
qt_meta_data_QwtPlotRescaler,
|
||||
qt_static_metacall,
|
||||
nullptr,
|
||||
nullptr
|
||||
} };
|
||||
|
||||
|
||||
const QMetaObject *QwtPlotRescaler::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *QwtPlotRescaler::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return nullptr;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_QwtPlotRescaler.stringdata0))
|
||||
return static_cast<void*>(this);
|
||||
return QObject::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int QwtPlotRescaler::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QObject::qt_metacall(_c, _id, _a);
|
||||
return _id;
|
||||
}
|
||||
QT_WARNING_POP
|
||||
QT_END_MOC_NAMESPACE
|
||||
@@ -0,0 +1,158 @@
|
||||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'qwt_plot_zoomer.h'
|
||||
**
|
||||
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2)
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost!
|
||||
*****************************************************************************/
|
||||
|
||||
#include <memory>
|
||||
#include "../../src/qwt_plot_zoomer.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'qwt_plot_zoomer.h' doesn't include <QObject>."
|
||||
#elif Q_MOC_OUTPUT_REVISION != 67
|
||||
#error "This file was generated using the moc from 5.15.2. It"
|
||||
#error "cannot be used with the include files from this version of Qt."
|
||||
#error "(The moc has changed too much.)"
|
||||
#endif
|
||||
|
||||
QT_BEGIN_MOC_NAMESPACE
|
||||
QT_WARNING_PUSH
|
||||
QT_WARNING_DISABLE_DEPRECATED
|
||||
struct qt_meta_stringdata_QwtPlotZoomer_t {
|
||||
QByteArrayData data[10];
|
||||
char stringdata0[59];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_QwtPlotZoomer_t, stringdata0) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_QwtPlotZoomer_t qt_meta_stringdata_QwtPlotZoomer = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 13), // "QwtPlotZoomer"
|
||||
QT_MOC_LITERAL(1, 14, 6), // "zoomed"
|
||||
QT_MOC_LITERAL(2, 21, 0), // ""
|
||||
QT_MOC_LITERAL(3, 22, 4), // "rect"
|
||||
QT_MOC_LITERAL(4, 27, 6), // "moveBy"
|
||||
QT_MOC_LITERAL(5, 34, 2), // "dx"
|
||||
QT_MOC_LITERAL(6, 37, 2), // "dy"
|
||||
QT_MOC_LITERAL(7, 40, 6), // "moveTo"
|
||||
QT_MOC_LITERAL(8, 47, 4), // "zoom"
|
||||
QT_MOC_LITERAL(9, 52, 6) // "offset"
|
||||
|
||||
},
|
||||
"QwtPlotZoomer\0zoomed\0\0rect\0moveBy\0dx\0"
|
||||
"dy\0moveTo\0zoom\0offset"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_QwtPlotZoomer[] = {
|
||||
|
||||
// content:
|
||||
8, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
5, 14, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
1, // signalCount
|
||||
|
||||
// signals: name, argc, parameters, tag, flags
|
||||
1, 1, 39, 2, 0x06 /* Public */,
|
||||
|
||||
// slots: name, argc, parameters, tag, flags
|
||||
4, 2, 42, 2, 0x0a /* Public */,
|
||||
7, 1, 47, 2, 0x0a /* Public */,
|
||||
8, 1, 50, 2, 0x0a /* Public */,
|
||||
8, 1, 53, 2, 0x0a /* Public */,
|
||||
|
||||
// signals: parameters
|
||||
QMetaType::Void, QMetaType::QRectF, 3,
|
||||
|
||||
// slots: parameters
|
||||
QMetaType::Void, QMetaType::Double, QMetaType::Double, 5, 6,
|
||||
QMetaType::Void, QMetaType::QPointF, 2,
|
||||
QMetaType::Void, QMetaType::QRectF, 2,
|
||||
QMetaType::Void, QMetaType::Int, 9,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void QwtPlotZoomer::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
auto *_t = static_cast<QwtPlotZoomer *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
switch (_id) {
|
||||
case 0: _t->zoomed((*reinterpret_cast< const QRectF(*)>(_a[1]))); break;
|
||||
case 1: _t->moveBy((*reinterpret_cast< double(*)>(_a[1])),(*reinterpret_cast< double(*)>(_a[2]))); break;
|
||||
case 2: _t->moveTo((*reinterpret_cast< const QPointF(*)>(_a[1]))); break;
|
||||
case 3: _t->zoom((*reinterpret_cast< const QRectF(*)>(_a[1]))); break;
|
||||
case 4: _t->zoom((*reinterpret_cast< int(*)>(_a[1]))); break;
|
||||
default: ;
|
||||
}
|
||||
} else if (_c == QMetaObject::IndexOfMethod) {
|
||||
int *result = reinterpret_cast<int *>(_a[0]);
|
||||
{
|
||||
using _t = void (QwtPlotZoomer::*)(const QRectF & );
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QwtPlotZoomer::zoomed)) {
|
||||
*result = 0;
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
QT_INIT_METAOBJECT const QMetaObject QwtPlotZoomer::staticMetaObject = { {
|
||||
QMetaObject::SuperData::link<QwtPlotPicker::staticMetaObject>(),
|
||||
qt_meta_stringdata_QwtPlotZoomer.data,
|
||||
qt_meta_data_QwtPlotZoomer,
|
||||
qt_static_metacall,
|
||||
nullptr,
|
||||
nullptr
|
||||
} };
|
||||
|
||||
|
||||
const QMetaObject *QwtPlotZoomer::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *QwtPlotZoomer::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return nullptr;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_QwtPlotZoomer.stringdata0))
|
||||
return static_cast<void*>(this);
|
||||
return QwtPlotPicker::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int QwtPlotZoomer::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QwtPlotPicker::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
if (_id < 5)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 5;
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
if (_id < 5)
|
||||
*reinterpret_cast<int*>(_a[0]) = -1;
|
||||
_id -= 5;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
|
||||
// SIGNAL 0
|
||||
void QwtPlotZoomer::zoomed(const QRectF & _t1)
|
||||
{
|
||||
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 0, _a);
|
||||
}
|
||||
QT_WARNING_POP
|
||||
QT_END_MOC_NAMESPACE
|
||||
@@ -0,0 +1,95 @@
|
||||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'qwt_polar_canvas.h'
|
||||
**
|
||||
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2)
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost!
|
||||
*****************************************************************************/
|
||||
|
||||
#include <memory>
|
||||
#include "../../src/qwt_polar_canvas.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'qwt_polar_canvas.h' doesn't include <QObject>."
|
||||
#elif Q_MOC_OUTPUT_REVISION != 67
|
||||
#error "This file was generated using the moc from 5.15.2. It"
|
||||
#error "cannot be used with the include files from this version of Qt."
|
||||
#error "(The moc has changed too much.)"
|
||||
#endif
|
||||
|
||||
QT_BEGIN_MOC_NAMESPACE
|
||||
QT_WARNING_PUSH
|
||||
QT_WARNING_DISABLE_DEPRECATED
|
||||
struct qt_meta_stringdata_QwtPolarCanvas_t {
|
||||
QByteArrayData data[1];
|
||||
char stringdata0[15];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_QwtPolarCanvas_t, stringdata0) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_QwtPolarCanvas_t qt_meta_stringdata_QwtPolarCanvas = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 14) // "QwtPolarCanvas"
|
||||
|
||||
},
|
||||
"QwtPolarCanvas"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_QwtPolarCanvas[] = {
|
||||
|
||||
// content:
|
||||
8, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
0, 0, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
0, // signalCount
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void QwtPolarCanvas::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
Q_UNUSED(_o);
|
||||
Q_UNUSED(_id);
|
||||
Q_UNUSED(_c);
|
||||
Q_UNUSED(_a);
|
||||
}
|
||||
|
||||
QT_INIT_METAOBJECT const QMetaObject QwtPolarCanvas::staticMetaObject = { {
|
||||
QMetaObject::SuperData::link<QFrame::staticMetaObject>(),
|
||||
qt_meta_stringdata_QwtPolarCanvas.data,
|
||||
qt_meta_data_QwtPolarCanvas,
|
||||
qt_static_metacall,
|
||||
nullptr,
|
||||
nullptr
|
||||
} };
|
||||
|
||||
|
||||
const QMetaObject *QwtPolarCanvas::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *QwtPolarCanvas::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return nullptr;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_QwtPolarCanvas.stringdata0))
|
||||
return static_cast<void*>(this);
|
||||
return QFrame::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int QwtPolarCanvas::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QFrame::qt_metacall(_c, _id, _a);
|
||||
return _id;
|
||||
}
|
||||
QT_WARNING_POP
|
||||
QT_END_MOC_NAMESPACE
|
||||
@@ -0,0 +1,124 @@
|
||||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'qwt_polar_magnifier.h'
|
||||
**
|
||||
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2)
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost!
|
||||
*****************************************************************************/
|
||||
|
||||
#include <memory>
|
||||
#include "../../src/qwt_polar_magnifier.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'qwt_polar_magnifier.h' doesn't include <QObject>."
|
||||
#elif Q_MOC_OUTPUT_REVISION != 67
|
||||
#error "This file was generated using the moc from 5.15.2. It"
|
||||
#error "cannot be used with the include files from this version of Qt."
|
||||
#error "(The moc has changed too much.)"
|
||||
#endif
|
||||
|
||||
QT_BEGIN_MOC_NAMESPACE
|
||||
QT_WARNING_PUSH
|
||||
QT_WARNING_DISABLE_DEPRECATED
|
||||
struct qt_meta_stringdata_QwtPolarMagnifier_t {
|
||||
QByteArrayData data[5];
|
||||
char stringdata0[41];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_QwtPolarMagnifier_t, stringdata0) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_QwtPolarMagnifier_t qt_meta_stringdata_QwtPolarMagnifier = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 17), // "QwtPolarMagnifier"
|
||||
QT_MOC_LITERAL(1, 18, 7), // "rescale"
|
||||
QT_MOC_LITERAL(2, 26, 0), // ""
|
||||
QT_MOC_LITERAL(3, 27, 6), // "factor"
|
||||
QT_MOC_LITERAL(4, 34, 6) // "unzoom"
|
||||
|
||||
},
|
||||
"QwtPolarMagnifier\0rescale\0\0factor\0"
|
||||
"unzoom"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_QwtPolarMagnifier[] = {
|
||||
|
||||
// content:
|
||||
8, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
2, 14, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
0, // signalCount
|
||||
|
||||
// slots: name, argc, parameters, tag, flags
|
||||
1, 1, 24, 2, 0x0a /* Public */,
|
||||
4, 0, 27, 2, 0x0a /* Public */,
|
||||
|
||||
// slots: parameters
|
||||
QMetaType::Void, QMetaType::Double, 3,
|
||||
QMetaType::Void,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void QwtPolarMagnifier::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
auto *_t = static_cast<QwtPolarMagnifier *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
switch (_id) {
|
||||
case 0: _t->rescale((*reinterpret_cast< double(*)>(_a[1]))); break;
|
||||
case 1: _t->unzoom(); break;
|
||||
default: ;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
QT_INIT_METAOBJECT const QMetaObject QwtPolarMagnifier::staticMetaObject = { {
|
||||
QMetaObject::SuperData::link<QwtMagnifier::staticMetaObject>(),
|
||||
qt_meta_stringdata_QwtPolarMagnifier.data,
|
||||
qt_meta_data_QwtPolarMagnifier,
|
||||
qt_static_metacall,
|
||||
nullptr,
|
||||
nullptr
|
||||
} };
|
||||
|
||||
|
||||
const QMetaObject *QwtPolarMagnifier::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *QwtPolarMagnifier::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return nullptr;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_QwtPolarMagnifier.stringdata0))
|
||||
return static_cast<void*>(this);
|
||||
return QwtMagnifier::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int QwtPolarMagnifier::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QwtMagnifier::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
if (_id < 2)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 2;
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
if (_id < 2)
|
||||
*reinterpret_cast<int*>(_a[0]) = -1;
|
||||
_id -= 2;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
QT_WARNING_POP
|
||||
QT_END_MOC_NAMESPACE
|
||||
@@ -0,0 +1,120 @@
|
||||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'qwt_polar_panner.h'
|
||||
**
|
||||
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2)
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost!
|
||||
*****************************************************************************/
|
||||
|
||||
#include <memory>
|
||||
#include "../../src/qwt_polar_panner.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'qwt_polar_panner.h' doesn't include <QObject>."
|
||||
#elif Q_MOC_OUTPUT_REVISION != 67
|
||||
#error "This file was generated using the moc from 5.15.2. It"
|
||||
#error "cannot be used with the include files from this version of Qt."
|
||||
#error "(The moc has changed too much.)"
|
||||
#endif
|
||||
|
||||
QT_BEGIN_MOC_NAMESPACE
|
||||
QT_WARNING_PUSH
|
||||
QT_WARNING_DISABLE_DEPRECATED
|
||||
struct qt_meta_stringdata_QwtPolarPanner_t {
|
||||
QByteArrayData data[5];
|
||||
char stringdata0[31];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_QwtPolarPanner_t, stringdata0) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_QwtPolarPanner_t qt_meta_stringdata_QwtPolarPanner = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 14), // "QwtPolarPanner"
|
||||
QT_MOC_LITERAL(1, 15, 8), // "movePlot"
|
||||
QT_MOC_LITERAL(2, 24, 0), // ""
|
||||
QT_MOC_LITERAL(3, 25, 2), // "dx"
|
||||
QT_MOC_LITERAL(4, 28, 2) // "dy"
|
||||
|
||||
},
|
||||
"QwtPolarPanner\0movePlot\0\0dx\0dy"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_QwtPolarPanner[] = {
|
||||
|
||||
// content:
|
||||
8, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
1, 14, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
0, // signalCount
|
||||
|
||||
// slots: name, argc, parameters, tag, flags
|
||||
1, 2, 19, 2, 0x0a /* Public */,
|
||||
|
||||
// slots: parameters
|
||||
QMetaType::Void, QMetaType::Int, QMetaType::Int, 3, 4,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void QwtPolarPanner::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
auto *_t = static_cast<QwtPolarPanner *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
switch (_id) {
|
||||
case 0: _t->movePlot((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
|
||||
default: ;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
QT_INIT_METAOBJECT const QMetaObject QwtPolarPanner::staticMetaObject = { {
|
||||
QMetaObject::SuperData::link<QwtPanner::staticMetaObject>(),
|
||||
qt_meta_stringdata_QwtPolarPanner.data,
|
||||
qt_meta_data_QwtPolarPanner,
|
||||
qt_static_metacall,
|
||||
nullptr,
|
||||
nullptr
|
||||
} };
|
||||
|
||||
|
||||
const QMetaObject *QwtPolarPanner::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *QwtPolarPanner::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return nullptr;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_QwtPolarPanner.stringdata0))
|
||||
return static_cast<void*>(this);
|
||||
return QwtPanner::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int QwtPolarPanner::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QwtPanner::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
if (_id < 1)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 1;
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
if (_id < 1)
|
||||
*reinterpret_cast<int*>(_a[0]) = -1;
|
||||
_id -= 1;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
QT_WARNING_POP
|
||||
QT_END_MOC_NAMESPACE
|
||||
@@ -0,0 +1,194 @@
|
||||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'qwt_polar_picker.h'
|
||||
**
|
||||
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2)
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost!
|
||||
*****************************************************************************/
|
||||
|
||||
#include <memory>
|
||||
#include "../../src/qwt_polar_picker.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#include <QtCore/QVector>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'qwt_polar_picker.h' doesn't include <QObject>."
|
||||
#elif Q_MOC_OUTPUT_REVISION != 67
|
||||
#error "This file was generated using the moc from 5.15.2. It"
|
||||
#error "cannot be used with the include files from this version of Qt."
|
||||
#error "(The moc has changed too much.)"
|
||||
#endif
|
||||
|
||||
QT_BEGIN_MOC_NAMESPACE
|
||||
QT_WARNING_PUSH
|
||||
QT_WARNING_DISABLE_DEPRECATED
|
||||
struct qt_meta_stringdata_QwtPolarPicker_t {
|
||||
QByteArrayData data[9];
|
||||
char stringdata0[88];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_QwtPolarPicker_t, stringdata0) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_QwtPolarPicker_t qt_meta_stringdata_QwtPolarPicker = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 14), // "QwtPolarPicker"
|
||||
QT_MOC_LITERAL(1, 15, 8), // "selected"
|
||||
QT_MOC_LITERAL(2, 24, 0), // ""
|
||||
QT_MOC_LITERAL(3, 25, 13), // "QwtPointPolar"
|
||||
QT_MOC_LITERAL(4, 39, 3), // "pos"
|
||||
QT_MOC_LITERAL(5, 43, 22), // "QVector<QwtPointPolar>"
|
||||
QT_MOC_LITERAL(6, 66, 6), // "points"
|
||||
QT_MOC_LITERAL(7, 73, 8), // "appended"
|
||||
QT_MOC_LITERAL(8, 82, 5) // "moved"
|
||||
|
||||
},
|
||||
"QwtPolarPicker\0selected\0\0QwtPointPolar\0"
|
||||
"pos\0QVector<QwtPointPolar>\0points\0"
|
||||
"appended\0moved"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_QwtPolarPicker[] = {
|
||||
|
||||
// content:
|
||||
8, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
4, 14, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
4, // signalCount
|
||||
|
||||
// signals: name, argc, parameters, tag, flags
|
||||
1, 1, 34, 2, 0x06 /* Public */,
|
||||
1, 1, 37, 2, 0x06 /* Public */,
|
||||
7, 1, 40, 2, 0x06 /* Public */,
|
||||
8, 1, 43, 2, 0x06 /* Public */,
|
||||
|
||||
// signals: parameters
|
||||
QMetaType::Void, 0x80000000 | 3, 4,
|
||||
QMetaType::Void, 0x80000000 | 5, 6,
|
||||
QMetaType::Void, 0x80000000 | 3, 4,
|
||||
QMetaType::Void, 0x80000000 | 3, 4,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void QwtPolarPicker::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
auto *_t = static_cast<QwtPolarPicker *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
switch (_id) {
|
||||
case 0: _t->selected((*reinterpret_cast< const QwtPointPolar(*)>(_a[1]))); break;
|
||||
case 1: _t->selected((*reinterpret_cast< const QVector<QwtPointPolar>(*)>(_a[1]))); break;
|
||||
case 2: _t->appended((*reinterpret_cast< const QwtPointPolar(*)>(_a[1]))); break;
|
||||
case 3: _t->moved((*reinterpret_cast< const QwtPointPolar(*)>(_a[1]))); break;
|
||||
default: ;
|
||||
}
|
||||
} else if (_c == QMetaObject::IndexOfMethod) {
|
||||
int *result = reinterpret_cast<int *>(_a[0]);
|
||||
{
|
||||
using _t = void (QwtPolarPicker::*)(const QwtPointPolar & );
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QwtPolarPicker::selected)) {
|
||||
*result = 0;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
using _t = void (QwtPolarPicker::*)(const QVector<QwtPointPolar> & );
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QwtPolarPicker::selected)) {
|
||||
*result = 1;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
using _t = void (QwtPolarPicker::*)(const QwtPointPolar & );
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QwtPolarPicker::appended)) {
|
||||
*result = 2;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
using _t = void (QwtPolarPicker::*)(const QwtPointPolar & );
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QwtPolarPicker::moved)) {
|
||||
*result = 3;
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
QT_INIT_METAOBJECT const QMetaObject QwtPolarPicker::staticMetaObject = { {
|
||||
QMetaObject::SuperData::link<QwtPicker::staticMetaObject>(),
|
||||
qt_meta_stringdata_QwtPolarPicker.data,
|
||||
qt_meta_data_QwtPolarPicker,
|
||||
qt_static_metacall,
|
||||
nullptr,
|
||||
nullptr
|
||||
} };
|
||||
|
||||
|
||||
const QMetaObject *QwtPolarPicker::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *QwtPolarPicker::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return nullptr;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_QwtPolarPicker.stringdata0))
|
||||
return static_cast<void*>(this);
|
||||
return QwtPicker::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int QwtPolarPicker::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QwtPicker::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
if (_id < 4)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 4;
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
if (_id < 4)
|
||||
*reinterpret_cast<int*>(_a[0]) = -1;
|
||||
_id -= 4;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
|
||||
// SIGNAL 0
|
||||
void QwtPolarPicker::selected(const QwtPointPolar & _t1)
|
||||
{
|
||||
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 0, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 1
|
||||
void QwtPolarPicker::selected(const QVector<QwtPointPolar> & _t1)
|
||||
{
|
||||
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 1, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 2
|
||||
void QwtPolarPicker::appended(const QwtPointPolar & _t1)
|
||||
{
|
||||
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 2, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 3
|
||||
void QwtPolarPicker::moved(const QwtPointPolar & _t1)
|
||||
{
|
||||
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 3, _a);
|
||||
}
|
||||
QT_WARNING_POP
|
||||
QT_END_MOC_NAMESPACE
|
||||
@@ -0,0 +1,254 @@
|
||||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'qwt_polar_plot.h'
|
||||
**
|
||||
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2)
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost!
|
||||
*****************************************************************************/
|
||||
|
||||
#include <memory>
|
||||
#include "../../src/qwt_polar_plot.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#include <QtCore/QList>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'qwt_polar_plot.h' doesn't include <QObject>."
|
||||
#elif Q_MOC_OUTPUT_REVISION != 67
|
||||
#error "This file was generated using the moc from 5.15.2. It"
|
||||
#error "cannot be used with the include files from this version of Qt."
|
||||
#error "(The moc has changed too much.)"
|
||||
#endif
|
||||
|
||||
QT_BEGIN_MOC_NAMESPACE
|
||||
QT_WARNING_PUSH
|
||||
QT_WARNING_DISABLE_DEPRECATED
|
||||
struct qt_meta_stringdata_QwtPolarPlot_t {
|
||||
QByteArrayData data[16];
|
||||
char stringdata0[185];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_QwtPolarPlot_t, stringdata0) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_QwtPolarPlot_t qt_meta_stringdata_QwtPolarPlot = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 12), // "QwtPolarPlot"
|
||||
QT_MOC_LITERAL(1, 13, 12), // "itemAttached"
|
||||
QT_MOC_LITERAL(2, 26, 0), // ""
|
||||
QT_MOC_LITERAL(3, 27, 13), // "QwtPolarItem*"
|
||||
QT_MOC_LITERAL(4, 41, 8), // "plotItem"
|
||||
QT_MOC_LITERAL(5, 50, 2), // "on"
|
||||
QT_MOC_LITERAL(6, 53, 17), // "legendDataChanged"
|
||||
QT_MOC_LITERAL(7, 71, 8), // "itemInfo"
|
||||
QT_MOC_LITERAL(8, 80, 20), // "QList<QwtLegendData>"
|
||||
QT_MOC_LITERAL(9, 101, 4), // "data"
|
||||
QT_MOC_LITERAL(10, 106, 13), // "layoutChanged"
|
||||
QT_MOC_LITERAL(11, 120, 6), // "replot"
|
||||
QT_MOC_LITERAL(12, 127, 11), // "autoRefresh"
|
||||
QT_MOC_LITERAL(13, 139, 16), // "setAzimuthOrigin"
|
||||
QT_MOC_LITERAL(14, 156, 14), // "plotBackground"
|
||||
QT_MOC_LITERAL(15, 171, 13) // "azimuthOrigin"
|
||||
|
||||
},
|
||||
"QwtPolarPlot\0itemAttached\0\0QwtPolarItem*\0"
|
||||
"plotItem\0on\0legendDataChanged\0itemInfo\0"
|
||||
"QList<QwtLegendData>\0data\0layoutChanged\0"
|
||||
"replot\0autoRefresh\0setAzimuthOrigin\0"
|
||||
"plotBackground\0azimuthOrigin"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_QwtPolarPlot[] = {
|
||||
|
||||
// content:
|
||||
8, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
6, 14, // methods
|
||||
2, 60, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
3, // signalCount
|
||||
|
||||
// signals: name, argc, parameters, tag, flags
|
||||
1, 2, 44, 2, 0x06 /* Public */,
|
||||
6, 2, 49, 2, 0x06 /* Public */,
|
||||
10, 0, 54, 2, 0x06 /* Public */,
|
||||
|
||||
// slots: name, argc, parameters, tag, flags
|
||||
11, 0, 55, 2, 0x0a /* Public */,
|
||||
12, 0, 56, 2, 0x0a /* Public */,
|
||||
13, 1, 57, 2, 0x0a /* Public */,
|
||||
|
||||
// signals: parameters
|
||||
QMetaType::Void, 0x80000000 | 3, QMetaType::Bool, 4, 5,
|
||||
QMetaType::Void, QMetaType::QVariant, 0x80000000 | 8, 7, 9,
|
||||
QMetaType::Void,
|
||||
|
||||
// slots: parameters
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void, QMetaType::Double, 2,
|
||||
|
||||
// properties: name, type, flags
|
||||
14, QMetaType::QBrush, 0x00095103,
|
||||
15, QMetaType::Double, 0x00095103,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void QwtPolarPlot::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
auto *_t = static_cast<QwtPolarPlot *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
switch (_id) {
|
||||
case 0: _t->itemAttached((*reinterpret_cast< QwtPolarItem*(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
|
||||
case 1: _t->legendDataChanged((*reinterpret_cast< const QVariant(*)>(_a[1])),(*reinterpret_cast< const QList<QwtLegendData>(*)>(_a[2]))); break;
|
||||
case 2: _t->layoutChanged(); break;
|
||||
case 3: _t->replot(); break;
|
||||
case 4: _t->autoRefresh(); break;
|
||||
case 5: _t->setAzimuthOrigin((*reinterpret_cast< double(*)>(_a[1]))); break;
|
||||
default: ;
|
||||
}
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
switch (_id) {
|
||||
default: *reinterpret_cast<int*>(_a[0]) = -1; break;
|
||||
case 0:
|
||||
switch (*reinterpret_cast<int*>(_a[1])) {
|
||||
default: *reinterpret_cast<int*>(_a[0]) = -1; break;
|
||||
case 0:
|
||||
*reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QwtPolarItem* >(); break;
|
||||
}
|
||||
break;
|
||||
}
|
||||
} else if (_c == QMetaObject::IndexOfMethod) {
|
||||
int *result = reinterpret_cast<int *>(_a[0]);
|
||||
{
|
||||
using _t = void (QwtPolarPlot::*)(QwtPolarItem * , bool );
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QwtPolarPlot::itemAttached)) {
|
||||
*result = 0;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
using _t = void (QwtPolarPlot::*)(const QVariant & , const QList<QwtLegendData> & );
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QwtPolarPlot::legendDataChanged)) {
|
||||
*result = 1;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
using _t = void (QwtPolarPlot::*)();
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QwtPolarPlot::layoutChanged)) {
|
||||
*result = 2;
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
#ifndef QT_NO_PROPERTIES
|
||||
else if (_c == QMetaObject::ReadProperty) {
|
||||
auto *_t = static_cast<QwtPolarPlot *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
void *_v = _a[0];
|
||||
switch (_id) {
|
||||
case 0: *reinterpret_cast< QBrush*>(_v) = _t->plotBackground(); break;
|
||||
case 1: *reinterpret_cast< double*>(_v) = _t->azimuthOrigin(); break;
|
||||
default: break;
|
||||
}
|
||||
} else if (_c == QMetaObject::WriteProperty) {
|
||||
auto *_t = static_cast<QwtPolarPlot *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
void *_v = _a[0];
|
||||
switch (_id) {
|
||||
case 0: _t->setPlotBackground(*reinterpret_cast< QBrush*>(_v)); break;
|
||||
case 1: _t->setAzimuthOrigin(*reinterpret_cast< double*>(_v)); break;
|
||||
default: break;
|
||||
}
|
||||
} else if (_c == QMetaObject::ResetProperty) {
|
||||
}
|
||||
#endif // QT_NO_PROPERTIES
|
||||
}
|
||||
|
||||
QT_INIT_METAOBJECT const QMetaObject QwtPolarPlot::staticMetaObject = { {
|
||||
QMetaObject::SuperData::link<QFrame::staticMetaObject>(),
|
||||
qt_meta_stringdata_QwtPolarPlot.data,
|
||||
qt_meta_data_QwtPolarPlot,
|
||||
qt_static_metacall,
|
||||
nullptr,
|
||||
nullptr
|
||||
} };
|
||||
|
||||
|
||||
const QMetaObject *QwtPolarPlot::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *QwtPolarPlot::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return nullptr;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_QwtPolarPlot.stringdata0))
|
||||
return static_cast<void*>(this);
|
||||
if (!strcmp(_clname, "QwtPolarItemDict"))
|
||||
return static_cast< QwtPolarItemDict*>(this);
|
||||
return QFrame::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int QwtPolarPlot::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QFrame::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
if (_id < 6)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 6;
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
if (_id < 6)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 6;
|
||||
}
|
||||
#ifndef QT_NO_PROPERTIES
|
||||
else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
|
||||
|| _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 2;
|
||||
} else if (_c == QMetaObject::QueryPropertyDesignable) {
|
||||
_id -= 2;
|
||||
} else if (_c == QMetaObject::QueryPropertyScriptable) {
|
||||
_id -= 2;
|
||||
} else if (_c == QMetaObject::QueryPropertyStored) {
|
||||
_id -= 2;
|
||||
} else if (_c == QMetaObject::QueryPropertyEditable) {
|
||||
_id -= 2;
|
||||
} else if (_c == QMetaObject::QueryPropertyUser) {
|
||||
_id -= 2;
|
||||
}
|
||||
#endif // QT_NO_PROPERTIES
|
||||
return _id;
|
||||
}
|
||||
|
||||
// SIGNAL 0
|
||||
void QwtPolarPlot::itemAttached(QwtPolarItem * _t1, bool _t2)
|
||||
{
|
||||
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 0, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 1
|
||||
void QwtPolarPlot::legendDataChanged(const QVariant & _t1, const QList<QwtLegendData> & _t2)
|
||||
{
|
||||
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 1, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 2
|
||||
void QwtPolarPlot::layoutChanged()
|
||||
{
|
||||
QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
|
||||
}
|
||||
QT_WARNING_POP
|
||||
QT_END_MOC_NAMESPACE
|
||||
@@ -0,0 +1,95 @@
|
||||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'qwt_polar_renderer.h'
|
||||
**
|
||||
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2)
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost!
|
||||
*****************************************************************************/
|
||||
|
||||
#include <memory>
|
||||
#include "../../src/qwt_polar_renderer.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'qwt_polar_renderer.h' doesn't include <QObject>."
|
||||
#elif Q_MOC_OUTPUT_REVISION != 67
|
||||
#error "This file was generated using the moc from 5.15.2. It"
|
||||
#error "cannot be used with the include files from this version of Qt."
|
||||
#error "(The moc has changed too much.)"
|
||||
#endif
|
||||
|
||||
QT_BEGIN_MOC_NAMESPACE
|
||||
QT_WARNING_PUSH
|
||||
QT_WARNING_DISABLE_DEPRECATED
|
||||
struct qt_meta_stringdata_QwtPolarRenderer_t {
|
||||
QByteArrayData data[1];
|
||||
char stringdata0[17];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_QwtPolarRenderer_t, stringdata0) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_QwtPolarRenderer_t qt_meta_stringdata_QwtPolarRenderer = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 16) // "QwtPolarRenderer"
|
||||
|
||||
},
|
||||
"QwtPolarRenderer"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_QwtPolarRenderer[] = {
|
||||
|
||||
// content:
|
||||
8, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
0, 0, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
0, // signalCount
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void QwtPolarRenderer::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
Q_UNUSED(_o);
|
||||
Q_UNUSED(_id);
|
||||
Q_UNUSED(_c);
|
||||
Q_UNUSED(_a);
|
||||
}
|
||||
|
||||
QT_INIT_METAOBJECT const QMetaObject QwtPolarRenderer::staticMetaObject = { {
|
||||
QMetaObject::SuperData::link<QObject::staticMetaObject>(),
|
||||
qt_meta_stringdata_QwtPolarRenderer.data,
|
||||
qt_meta_data_QwtPolarRenderer,
|
||||
qt_static_metacall,
|
||||
nullptr,
|
||||
nullptr
|
||||
} };
|
||||
|
||||
|
||||
const QMetaObject *QwtPolarRenderer::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *QwtPolarRenderer::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return nullptr;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_QwtPolarRenderer.stringdata0))
|
||||
return static_cast<void*>(this);
|
||||
return QObject::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int QwtPolarRenderer::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QObject::qt_metacall(_c, _id, _a);
|
||||
return _id;
|
||||
}
|
||||
QT_WARNING_POP
|
||||
QT_END_MOC_NAMESPACE
|
||||
@@ -0,0 +1,124 @@
|
||||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'qwt_sampling_thread.h'
|
||||
**
|
||||
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2)
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost!
|
||||
*****************************************************************************/
|
||||
|
||||
#include <memory>
|
||||
#include "../../src/qwt_sampling_thread.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'qwt_sampling_thread.h' doesn't include <QObject>."
|
||||
#elif Q_MOC_OUTPUT_REVISION != 67
|
||||
#error "This file was generated using the moc from 5.15.2. It"
|
||||
#error "cannot be used with the include files from this version of Qt."
|
||||
#error "(The moc has changed too much.)"
|
||||
#endif
|
||||
|
||||
QT_BEGIN_MOC_NAMESPACE
|
||||
QT_WARNING_PUSH
|
||||
QT_WARNING_DISABLE_DEPRECATED
|
||||
struct qt_meta_stringdata_QwtSamplingThread_t {
|
||||
QByteArrayData data[5];
|
||||
char stringdata0[45];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_QwtSamplingThread_t, stringdata0) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_QwtSamplingThread_t qt_meta_stringdata_QwtSamplingThread = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 17), // "QwtSamplingThread"
|
||||
QT_MOC_LITERAL(1, 18, 11), // "setInterval"
|
||||
QT_MOC_LITERAL(2, 30, 0), // ""
|
||||
QT_MOC_LITERAL(3, 31, 8), // "interval"
|
||||
QT_MOC_LITERAL(4, 40, 4) // "stop"
|
||||
|
||||
},
|
||||
"QwtSamplingThread\0setInterval\0\0interval\0"
|
||||
"stop"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_QwtSamplingThread[] = {
|
||||
|
||||
// content:
|
||||
8, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
2, 14, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
0, // signalCount
|
||||
|
||||
// slots: name, argc, parameters, tag, flags
|
||||
1, 1, 24, 2, 0x0a /* Public */,
|
||||
4, 0, 27, 2, 0x0a /* Public */,
|
||||
|
||||
// slots: parameters
|
||||
QMetaType::Void, QMetaType::Double, 3,
|
||||
QMetaType::Void,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void QwtSamplingThread::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
auto *_t = static_cast<QwtSamplingThread *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
switch (_id) {
|
||||
case 0: _t->setInterval((*reinterpret_cast< double(*)>(_a[1]))); break;
|
||||
case 1: _t->stop(); break;
|
||||
default: ;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
QT_INIT_METAOBJECT const QMetaObject QwtSamplingThread::staticMetaObject = { {
|
||||
QMetaObject::SuperData::link<QThread::staticMetaObject>(),
|
||||
qt_meta_stringdata_QwtSamplingThread.data,
|
||||
qt_meta_data_QwtSamplingThread,
|
||||
qt_static_metacall,
|
||||
nullptr,
|
||||
nullptr
|
||||
} };
|
||||
|
||||
|
||||
const QMetaObject *QwtSamplingThread::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *QwtSamplingThread::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return nullptr;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_QwtSamplingThread.stringdata0))
|
||||
return static_cast<void*>(this);
|
||||
return QThread::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int QwtSamplingThread::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QThread::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
if (_id < 2)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 2;
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
if (_id < 2)
|
||||
*reinterpret_cast<int*>(_a[0]) = -1;
|
||||
_id -= 2;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
QT_WARNING_POP
|
||||
QT_END_MOC_NAMESPACE
|
||||
@@ -0,0 +1,134 @@
|
||||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'qwt_scale_widget.h'
|
||||
**
|
||||
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2)
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost!
|
||||
*****************************************************************************/
|
||||
|
||||
#include <memory>
|
||||
#include "../../src/qwt_scale_widget.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'qwt_scale_widget.h' doesn't include <QObject>."
|
||||
#elif Q_MOC_OUTPUT_REVISION != 67
|
||||
#error "This file was generated using the moc from 5.15.2. It"
|
||||
#error "cannot be used with the include files from this version of Qt."
|
||||
#error "(The moc has changed too much.)"
|
||||
#endif
|
||||
|
||||
QT_BEGIN_MOC_NAMESPACE
|
||||
QT_WARNING_PUSH
|
||||
QT_WARNING_DISABLE_DEPRECATED
|
||||
struct qt_meta_stringdata_QwtScaleWidget_t {
|
||||
QByteArrayData data[3];
|
||||
char stringdata0[32];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_QwtScaleWidget_t, stringdata0) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_QwtScaleWidget_t qt_meta_stringdata_QwtScaleWidget = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 14), // "QwtScaleWidget"
|
||||
QT_MOC_LITERAL(1, 15, 15), // "scaleDivChanged"
|
||||
QT_MOC_LITERAL(2, 31, 0) // ""
|
||||
|
||||
},
|
||||
"QwtScaleWidget\0scaleDivChanged\0"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_QwtScaleWidget[] = {
|
||||
|
||||
// content:
|
||||
8, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
1, 14, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
1, // signalCount
|
||||
|
||||
// signals: name, argc, parameters, tag, flags
|
||||
1, 0, 19, 2, 0x06 /* Public */,
|
||||
|
||||
// signals: parameters
|
||||
QMetaType::Void,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void QwtScaleWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
auto *_t = static_cast<QwtScaleWidget *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
switch (_id) {
|
||||
case 0: _t->scaleDivChanged(); break;
|
||||
default: ;
|
||||
}
|
||||
} else if (_c == QMetaObject::IndexOfMethod) {
|
||||
int *result = reinterpret_cast<int *>(_a[0]);
|
||||
{
|
||||
using _t = void (QwtScaleWidget::*)();
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QwtScaleWidget::scaleDivChanged)) {
|
||||
*result = 0;
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
Q_UNUSED(_a);
|
||||
}
|
||||
|
||||
QT_INIT_METAOBJECT const QMetaObject QwtScaleWidget::staticMetaObject = { {
|
||||
QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
|
||||
qt_meta_stringdata_QwtScaleWidget.data,
|
||||
qt_meta_data_QwtScaleWidget,
|
||||
qt_static_metacall,
|
||||
nullptr,
|
||||
nullptr
|
||||
} };
|
||||
|
||||
|
||||
const QMetaObject *QwtScaleWidget::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *QwtScaleWidget::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return nullptr;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_QwtScaleWidget.stringdata0))
|
||||
return static_cast<void*>(this);
|
||||
return QWidget::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int QwtScaleWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QWidget::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
if (_id < 1)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 1;
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
if (_id < 1)
|
||||
*reinterpret_cast<int*>(_a[0]) = -1;
|
||||
_id -= 1;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
|
||||
// SIGNAL 0
|
||||
void QwtScaleWidget::scaleDivChanged()
|
||||
{
|
||||
QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
|
||||
}
|
||||
QT_WARNING_POP
|
||||
QT_END_MOC_NAMESPACE
|
||||
@@ -0,0 +1,180 @@
|
||||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'qwt_slider.h'
|
||||
**
|
||||
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2)
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost!
|
||||
*****************************************************************************/
|
||||
|
||||
#include <memory>
|
||||
#include "../../src/qwt_slider.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'qwt_slider.h' doesn't include <QObject>."
|
||||
#elif Q_MOC_OUTPUT_REVISION != 67
|
||||
#error "This file was generated using the moc from 5.15.2. It"
|
||||
#error "cannot be used with the include files from this version of Qt."
|
||||
#error "(The moc has changed too much.)"
|
||||
#endif
|
||||
|
||||
QT_BEGIN_MOC_NAMESPACE
|
||||
QT_WARNING_PUSH
|
||||
QT_WARNING_DISABLE_DEPRECATED
|
||||
struct qt_meta_stringdata_QwtSlider_t {
|
||||
QByteArrayData data[13];
|
||||
char stringdata0[146];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_QwtSlider_t, stringdata0) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_QwtSlider_t qt_meta_stringdata_QwtSlider = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 9), // "QwtSlider"
|
||||
QT_MOC_LITERAL(1, 10, 11), // "orientation"
|
||||
QT_MOC_LITERAL(2, 22, 15), // "Qt::Orientation"
|
||||
QT_MOC_LITERAL(3, 38, 13), // "scalePosition"
|
||||
QT_MOC_LITERAL(4, 52, 13), // "ScalePosition"
|
||||
QT_MOC_LITERAL(5, 66, 6), // "trough"
|
||||
QT_MOC_LITERAL(6, 73, 6), // "groove"
|
||||
QT_MOC_LITERAL(7, 80, 10), // "handleSize"
|
||||
QT_MOC_LITERAL(8, 91, 11), // "borderWidth"
|
||||
QT_MOC_LITERAL(9, 103, 7), // "spacing"
|
||||
QT_MOC_LITERAL(10, 111, 7), // "NoScale"
|
||||
QT_MOC_LITERAL(11, 119, 12), // "LeadingScale"
|
||||
QT_MOC_LITERAL(12, 132, 13) // "TrailingScale"
|
||||
|
||||
},
|
||||
"QwtSlider\0orientation\0Qt::Orientation\0"
|
||||
"scalePosition\0ScalePosition\0trough\0"
|
||||
"groove\0handleSize\0borderWidth\0spacing\0"
|
||||
"NoScale\0LeadingScale\0TrailingScale"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_QwtSlider[] = {
|
||||
|
||||
// content:
|
||||
8, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
0, 0, // methods
|
||||
7, 14, // properties
|
||||
1, 35, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
0, // signalCount
|
||||
|
||||
// properties: name, type, flags
|
||||
1, 0x80000000 | 2, 0x0009510b,
|
||||
3, 0x80000000 | 4, 0x0009510b,
|
||||
5, QMetaType::Bool, 0x00095103,
|
||||
6, QMetaType::Bool, 0x00095103,
|
||||
7, QMetaType::QSize, 0x00095103,
|
||||
8, QMetaType::Int, 0x00095103,
|
||||
9, QMetaType::Int, 0x00095103,
|
||||
|
||||
// enums: name, alias, flags, count, data
|
||||
4, 4, 0x0, 3, 40,
|
||||
|
||||
// enum data: key, value
|
||||
10, uint(QwtSlider::NoScale),
|
||||
11, uint(QwtSlider::LeadingScale),
|
||||
12, uint(QwtSlider::TrailingScale),
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void QwtSlider::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
|
||||
#ifndef QT_NO_PROPERTIES
|
||||
if (_c == QMetaObject::ReadProperty) {
|
||||
auto *_t = static_cast<QwtSlider *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
void *_v = _a[0];
|
||||
switch (_id) {
|
||||
case 0: *reinterpret_cast< Qt::Orientation*>(_v) = _t->orientation(); break;
|
||||
case 1: *reinterpret_cast< ScalePosition*>(_v) = _t->scalePosition(); break;
|
||||
case 2: *reinterpret_cast< bool*>(_v) = _t->hasTrough(); break;
|
||||
case 3: *reinterpret_cast< bool*>(_v) = _t->hasGroove(); break;
|
||||
case 4: *reinterpret_cast< QSize*>(_v) = _t->handleSize(); break;
|
||||
case 5: *reinterpret_cast< int*>(_v) = _t->borderWidth(); break;
|
||||
case 6: *reinterpret_cast< int*>(_v) = _t->spacing(); break;
|
||||
default: break;
|
||||
}
|
||||
} else if (_c == QMetaObject::WriteProperty) {
|
||||
auto *_t = static_cast<QwtSlider *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
void *_v = _a[0];
|
||||
switch (_id) {
|
||||
case 0: _t->setOrientation(*reinterpret_cast< Qt::Orientation*>(_v)); break;
|
||||
case 1: _t->setScalePosition(*reinterpret_cast< ScalePosition*>(_v)); break;
|
||||
case 2: _t->setTrough(*reinterpret_cast< bool*>(_v)); break;
|
||||
case 3: _t->setGroove(*reinterpret_cast< bool*>(_v)); break;
|
||||
case 4: _t->setHandleSize(*reinterpret_cast< QSize*>(_v)); break;
|
||||
case 5: _t->setBorderWidth(*reinterpret_cast< int*>(_v)); break;
|
||||
case 6: _t->setSpacing(*reinterpret_cast< int*>(_v)); break;
|
||||
default: break;
|
||||
}
|
||||
} else if (_c == QMetaObject::ResetProperty) {
|
||||
}
|
||||
#endif // QT_NO_PROPERTIES
|
||||
Q_UNUSED(_o);
|
||||
Q_UNUSED(_id);
|
||||
Q_UNUSED(_c);
|
||||
Q_UNUSED(_a);
|
||||
}
|
||||
|
||||
QT_INIT_METAOBJECT const QMetaObject QwtSlider::staticMetaObject = { {
|
||||
QMetaObject::SuperData::link<QwtAbstractSlider::staticMetaObject>(),
|
||||
qt_meta_stringdata_QwtSlider.data,
|
||||
qt_meta_data_QwtSlider,
|
||||
qt_static_metacall,
|
||||
nullptr,
|
||||
nullptr
|
||||
} };
|
||||
|
||||
|
||||
const QMetaObject *QwtSlider::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *QwtSlider::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return nullptr;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_QwtSlider.stringdata0))
|
||||
return static_cast<void*>(this);
|
||||
return QwtAbstractSlider::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int QwtSlider::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QwtAbstractSlider::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
|
||||
#ifndef QT_NO_PROPERTIES
|
||||
if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
|
||||
|| _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 7;
|
||||
} else if (_c == QMetaObject::QueryPropertyDesignable) {
|
||||
_id -= 7;
|
||||
} else if (_c == QMetaObject::QueryPropertyScriptable) {
|
||||
_id -= 7;
|
||||
} else if (_c == QMetaObject::QueryPropertyStored) {
|
||||
_id -= 7;
|
||||
} else if (_c == QMetaObject::QueryPropertyEditable) {
|
||||
_id -= 7;
|
||||
} else if (_c == QMetaObject::QueryPropertyUser) {
|
||||
_id -= 7;
|
||||
}
|
||||
#endif // QT_NO_PROPERTIES
|
||||
return _id;
|
||||
}
|
||||
QT_WARNING_POP
|
||||
QT_END_MOC_NAMESPACE
|
||||
@@ -0,0 +1,193 @@
|
||||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'qwt_text_label.h'
|
||||
**
|
||||
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2)
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost!
|
||||
*****************************************************************************/
|
||||
|
||||
#include <memory>
|
||||
#include "../../src/qwt_text_label.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'qwt_text_label.h' doesn't include <QObject>."
|
||||
#elif Q_MOC_OUTPUT_REVISION != 67
|
||||
#error "This file was generated using the moc from 5.15.2. It"
|
||||
#error "cannot be used with the include files from this version of Qt."
|
||||
#error "(The moc has changed too much.)"
|
||||
#endif
|
||||
|
||||
QT_BEGIN_MOC_NAMESPACE
|
||||
QT_WARNING_PUSH
|
||||
QT_WARNING_DISABLE_DEPRECATED
|
||||
struct qt_meta_stringdata_QwtTextLabel_t {
|
||||
QByteArrayData data[10];
|
||||
char stringdata0[91];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_QwtTextLabel_t, stringdata0) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_QwtTextLabel_t qt_meta_stringdata_QwtTextLabel = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 12), // "QwtTextLabel"
|
||||
QT_MOC_LITERAL(1, 13, 7), // "setText"
|
||||
QT_MOC_LITERAL(2, 21, 0), // ""
|
||||
QT_MOC_LITERAL(3, 22, 19), // "QwtText::TextFormat"
|
||||
QT_MOC_LITERAL(4, 42, 10), // "textFormat"
|
||||
QT_MOC_LITERAL(5, 53, 7), // "QwtText"
|
||||
QT_MOC_LITERAL(6, 61, 5), // "clear"
|
||||
QT_MOC_LITERAL(7, 67, 6), // "indent"
|
||||
QT_MOC_LITERAL(8, 74, 6), // "margin"
|
||||
QT_MOC_LITERAL(9, 81, 9) // "plainText"
|
||||
|
||||
},
|
||||
"QwtTextLabel\0setText\0\0QwtText::TextFormat\0"
|
||||
"textFormat\0QwtText\0clear\0indent\0margin\0"
|
||||
"plainText"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_QwtTextLabel[] = {
|
||||
|
||||
// content:
|
||||
8, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
4, 14, // methods
|
||||
3, 46, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
0, // signalCount
|
||||
|
||||
// slots: name, argc, parameters, tag, flags
|
||||
1, 2, 34, 2, 0x0a /* Public */,
|
||||
1, 1, 39, 2, 0x2a /* Public | MethodCloned */,
|
||||
1, 1, 42, 2, 0x0a /* Public */,
|
||||
6, 0, 45, 2, 0x0a /* Public */,
|
||||
|
||||
// slots: parameters
|
||||
QMetaType::Void, QMetaType::QString, 0x80000000 | 3, 2, 4,
|
||||
QMetaType::Void, QMetaType::QString, 2,
|
||||
QMetaType::Void, 0x80000000 | 5, 2,
|
||||
QMetaType::Void,
|
||||
|
||||
// properties: name, type, flags
|
||||
7, QMetaType::Int, 0x00095103,
|
||||
8, QMetaType::Int, 0x00095103,
|
||||
9, QMetaType::QString, 0x00095103,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void QwtTextLabel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
auto *_t = static_cast<QwtTextLabel *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
switch (_id) {
|
||||
case 0: _t->setText((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< QwtText::TextFormat(*)>(_a[2]))); break;
|
||||
case 1: _t->setText((*reinterpret_cast< const QString(*)>(_a[1]))); break;
|
||||
case 2: _t->setText((*reinterpret_cast< const QwtText(*)>(_a[1]))); break;
|
||||
case 3: _t->clear(); break;
|
||||
default: ;
|
||||
}
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
switch (_id) {
|
||||
default: *reinterpret_cast<int*>(_a[0]) = -1; break;
|
||||
case 2:
|
||||
switch (*reinterpret_cast<int*>(_a[1])) {
|
||||
default: *reinterpret_cast<int*>(_a[0]) = -1; break;
|
||||
case 0:
|
||||
*reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QwtText >(); break;
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
#ifndef QT_NO_PROPERTIES
|
||||
else if (_c == QMetaObject::ReadProperty) {
|
||||
auto *_t = static_cast<QwtTextLabel *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
void *_v = _a[0];
|
||||
switch (_id) {
|
||||
case 0: *reinterpret_cast< int*>(_v) = _t->indent(); break;
|
||||
case 1: *reinterpret_cast< int*>(_v) = _t->margin(); break;
|
||||
case 2: *reinterpret_cast< QString*>(_v) = _t->plainText(); break;
|
||||
default: break;
|
||||
}
|
||||
} else if (_c == QMetaObject::WriteProperty) {
|
||||
auto *_t = static_cast<QwtTextLabel *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
void *_v = _a[0];
|
||||
switch (_id) {
|
||||
case 0: _t->setIndent(*reinterpret_cast< int*>(_v)); break;
|
||||
case 1: _t->setMargin(*reinterpret_cast< int*>(_v)); break;
|
||||
case 2: _t->setPlainText(*reinterpret_cast< QString*>(_v)); break;
|
||||
default: break;
|
||||
}
|
||||
} else if (_c == QMetaObject::ResetProperty) {
|
||||
}
|
||||
#endif // QT_NO_PROPERTIES
|
||||
}
|
||||
|
||||
QT_INIT_METAOBJECT const QMetaObject QwtTextLabel::staticMetaObject = { {
|
||||
QMetaObject::SuperData::link<QFrame::staticMetaObject>(),
|
||||
qt_meta_stringdata_QwtTextLabel.data,
|
||||
qt_meta_data_QwtTextLabel,
|
||||
qt_static_metacall,
|
||||
nullptr,
|
||||
nullptr
|
||||
} };
|
||||
|
||||
|
||||
const QMetaObject *QwtTextLabel::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *QwtTextLabel::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return nullptr;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_QwtTextLabel.stringdata0))
|
||||
return static_cast<void*>(this);
|
||||
return QFrame::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int QwtTextLabel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QFrame::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
if (_id < 4)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 4;
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
if (_id < 4)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 4;
|
||||
}
|
||||
#ifndef QT_NO_PROPERTIES
|
||||
else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
|
||||
|| _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 3;
|
||||
} else if (_c == QMetaObject::QueryPropertyDesignable) {
|
||||
_id -= 3;
|
||||
} else if (_c == QMetaObject::QueryPropertyScriptable) {
|
||||
_id -= 3;
|
||||
} else if (_c == QMetaObject::QueryPropertyStored) {
|
||||
_id -= 3;
|
||||
} else if (_c == QMetaObject::QueryPropertyEditable) {
|
||||
_id -= 3;
|
||||
} else if (_c == QMetaObject::QueryPropertyUser) {
|
||||
_id -= 3;
|
||||
}
|
||||
#endif // QT_NO_PROPERTIES
|
||||
return _id;
|
||||
}
|
||||
QT_WARNING_POP
|
||||
QT_END_MOC_NAMESPACE
|
||||
@@ -0,0 +1,222 @@
|
||||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'qwt_thermo.h'
|
||||
**
|
||||
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2)
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost!
|
||||
*****************************************************************************/
|
||||
|
||||
#include <memory>
|
||||
#include "../../src/qwt_thermo.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'qwt_thermo.h' doesn't include <QObject>."
|
||||
#elif Q_MOC_OUTPUT_REVISION != 67
|
||||
#error "This file was generated using the moc from 5.15.2. It"
|
||||
#error "cannot be used with the include files from this version of Qt."
|
||||
#error "(The moc has changed too much.)"
|
||||
#endif
|
||||
|
||||
QT_BEGIN_MOC_NAMESPACE
|
||||
QT_WARNING_PUSH
|
||||
QT_WARNING_DISABLE_DEPRECATED
|
||||
struct qt_meta_stringdata_QwtThermo_t {
|
||||
QByteArrayData data[22];
|
||||
char stringdata0[241];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_QwtThermo_t, stringdata0) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_QwtThermo_t qt_meta_stringdata_QwtThermo = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 9), // "QwtThermo"
|
||||
QT_MOC_LITERAL(1, 10, 8), // "setValue"
|
||||
QT_MOC_LITERAL(2, 19, 0), // ""
|
||||
QT_MOC_LITERAL(3, 20, 11), // "orientation"
|
||||
QT_MOC_LITERAL(4, 32, 15), // "Qt::Orientation"
|
||||
QT_MOC_LITERAL(5, 48, 13), // "scalePosition"
|
||||
QT_MOC_LITERAL(6, 62, 13), // "ScalePosition"
|
||||
QT_MOC_LITERAL(7, 76, 10), // "originMode"
|
||||
QT_MOC_LITERAL(8, 87, 10), // "OriginMode"
|
||||
QT_MOC_LITERAL(9, 98, 12), // "alarmEnabled"
|
||||
QT_MOC_LITERAL(10, 111, 10), // "alarmLevel"
|
||||
QT_MOC_LITERAL(11, 122, 6), // "origin"
|
||||
QT_MOC_LITERAL(12, 129, 7), // "spacing"
|
||||
QT_MOC_LITERAL(13, 137, 11), // "borderWidth"
|
||||
QT_MOC_LITERAL(14, 149, 9), // "pipeWidth"
|
||||
QT_MOC_LITERAL(15, 159, 5), // "value"
|
||||
QT_MOC_LITERAL(16, 165, 7), // "NoScale"
|
||||
QT_MOC_LITERAL(17, 173, 12), // "LeadingScale"
|
||||
QT_MOC_LITERAL(18, 186, 13), // "TrailingScale"
|
||||
QT_MOC_LITERAL(19, 200, 13), // "OriginMinimum"
|
||||
QT_MOC_LITERAL(20, 214, 13), // "OriginMaximum"
|
||||
QT_MOC_LITERAL(21, 228, 12) // "OriginCustom"
|
||||
|
||||
},
|
||||
"QwtThermo\0setValue\0\0orientation\0"
|
||||
"Qt::Orientation\0scalePosition\0"
|
||||
"ScalePosition\0originMode\0OriginMode\0"
|
||||
"alarmEnabled\0alarmLevel\0origin\0spacing\0"
|
||||
"borderWidth\0pipeWidth\0value\0NoScale\0"
|
||||
"LeadingScale\0TrailingScale\0OriginMinimum\0"
|
||||
"OriginMaximum\0OriginCustom"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_QwtThermo[] = {
|
||||
|
||||
// content:
|
||||
8, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
1, 14, // methods
|
||||
10, 22, // properties
|
||||
2, 52, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
0, // signalCount
|
||||
|
||||
// slots: name, argc, parameters, tag, flags
|
||||
1, 1, 19, 2, 0x0a /* Public */,
|
||||
|
||||
// slots: parameters
|
||||
QMetaType::Void, QMetaType::Double, 2,
|
||||
|
||||
// properties: name, type, flags
|
||||
3, 0x80000000 | 4, 0x0009510b,
|
||||
5, 0x80000000 | 6, 0x0009510b,
|
||||
7, 0x80000000 | 8, 0x0009510b,
|
||||
9, QMetaType::Bool, 0x00095103,
|
||||
10, QMetaType::Double, 0x00095103,
|
||||
11, QMetaType::Double, 0x00095103,
|
||||
12, QMetaType::Int, 0x00095103,
|
||||
13, QMetaType::Int, 0x00095103,
|
||||
14, QMetaType::Int, 0x00095103,
|
||||
15, QMetaType::Double, 0x00195103,
|
||||
|
||||
// enums: name, alias, flags, count, data
|
||||
6, 6, 0x0, 3, 62,
|
||||
8, 8, 0x0, 3, 68,
|
||||
|
||||
// enum data: key, value
|
||||
16, uint(QwtThermo::NoScale),
|
||||
17, uint(QwtThermo::LeadingScale),
|
||||
18, uint(QwtThermo::TrailingScale),
|
||||
19, uint(QwtThermo::OriginMinimum),
|
||||
20, uint(QwtThermo::OriginMaximum),
|
||||
21, uint(QwtThermo::OriginCustom),
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void QwtThermo::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
auto *_t = static_cast<QwtThermo *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
switch (_id) {
|
||||
case 0: _t->setValue((*reinterpret_cast< double(*)>(_a[1]))); break;
|
||||
default: ;
|
||||
}
|
||||
}
|
||||
#ifndef QT_NO_PROPERTIES
|
||||
else if (_c == QMetaObject::ReadProperty) {
|
||||
auto *_t = static_cast<QwtThermo *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
void *_v = _a[0];
|
||||
switch (_id) {
|
||||
case 0: *reinterpret_cast< Qt::Orientation*>(_v) = _t->orientation(); break;
|
||||
case 1: *reinterpret_cast< ScalePosition*>(_v) = _t->scalePosition(); break;
|
||||
case 2: *reinterpret_cast< OriginMode*>(_v) = _t->originMode(); break;
|
||||
case 3: *reinterpret_cast< bool*>(_v) = _t->alarmEnabled(); break;
|
||||
case 4: *reinterpret_cast< double*>(_v) = _t->alarmLevel(); break;
|
||||
case 5: *reinterpret_cast< double*>(_v) = _t->origin(); break;
|
||||
case 6: *reinterpret_cast< int*>(_v) = _t->spacing(); break;
|
||||
case 7: *reinterpret_cast< int*>(_v) = _t->borderWidth(); break;
|
||||
case 8: *reinterpret_cast< int*>(_v) = _t->pipeWidth(); break;
|
||||
case 9: *reinterpret_cast< double*>(_v) = _t->value(); break;
|
||||
default: break;
|
||||
}
|
||||
} else if (_c == QMetaObject::WriteProperty) {
|
||||
auto *_t = static_cast<QwtThermo *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
void *_v = _a[0];
|
||||
switch (_id) {
|
||||
case 0: _t->setOrientation(*reinterpret_cast< Qt::Orientation*>(_v)); break;
|
||||
case 1: _t->setScalePosition(*reinterpret_cast< ScalePosition*>(_v)); break;
|
||||
case 2: _t->setOriginMode(*reinterpret_cast< OriginMode*>(_v)); break;
|
||||
case 3: _t->setAlarmEnabled(*reinterpret_cast< bool*>(_v)); break;
|
||||
case 4: _t->setAlarmLevel(*reinterpret_cast< double*>(_v)); break;
|
||||
case 5: _t->setOrigin(*reinterpret_cast< double*>(_v)); break;
|
||||
case 6: _t->setSpacing(*reinterpret_cast< int*>(_v)); break;
|
||||
case 7: _t->setBorderWidth(*reinterpret_cast< int*>(_v)); break;
|
||||
case 8: _t->setPipeWidth(*reinterpret_cast< int*>(_v)); break;
|
||||
case 9: _t->setValue(*reinterpret_cast< double*>(_v)); break;
|
||||
default: break;
|
||||
}
|
||||
} else if (_c == QMetaObject::ResetProperty) {
|
||||
}
|
||||
#endif // QT_NO_PROPERTIES
|
||||
}
|
||||
|
||||
QT_INIT_METAOBJECT const QMetaObject QwtThermo::staticMetaObject = { {
|
||||
QMetaObject::SuperData::link<QwtAbstractScale::staticMetaObject>(),
|
||||
qt_meta_stringdata_QwtThermo.data,
|
||||
qt_meta_data_QwtThermo,
|
||||
qt_static_metacall,
|
||||
nullptr,
|
||||
nullptr
|
||||
} };
|
||||
|
||||
|
||||
const QMetaObject *QwtThermo::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *QwtThermo::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return nullptr;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_QwtThermo.stringdata0))
|
||||
return static_cast<void*>(this);
|
||||
return QwtAbstractScale::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int QwtThermo::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QwtAbstractScale::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
if (_id < 1)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 1;
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
if (_id < 1)
|
||||
*reinterpret_cast<int*>(_a[0]) = -1;
|
||||
_id -= 1;
|
||||
}
|
||||
#ifndef QT_NO_PROPERTIES
|
||||
else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
|
||||
|| _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 10;
|
||||
} else if (_c == QMetaObject::QueryPropertyDesignable) {
|
||||
_id -= 10;
|
||||
} else if (_c == QMetaObject::QueryPropertyScriptable) {
|
||||
_id -= 10;
|
||||
} else if (_c == QMetaObject::QueryPropertyStored) {
|
||||
_id -= 10;
|
||||
} else if (_c == QMetaObject::QueryPropertyEditable) {
|
||||
_id -= 10;
|
||||
} else if (_c == QMetaObject::QueryPropertyUser) {
|
||||
_id -= 10;
|
||||
}
|
||||
#endif // QT_NO_PROPERTIES
|
||||
return _id;
|
||||
}
|
||||
QT_WARNING_POP
|
||||
QT_END_MOC_NAMESPACE
|
||||
@@ -0,0 +1,344 @@
|
||||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'qwt_wheel.h'
|
||||
**
|
||||
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2)
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost!
|
||||
*****************************************************************************/
|
||||
|
||||
#include <memory>
|
||||
#include "../../src/qwt_wheel.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'qwt_wheel.h' doesn't include <QObject>."
|
||||
#elif Q_MOC_OUTPUT_REVISION != 67
|
||||
#error "This file was generated using the moc from 5.15.2. It"
|
||||
#error "cannot be used with the include files from this version of Qt."
|
||||
#error "(The moc has changed too much.)"
|
||||
#endif
|
||||
|
||||
QT_BEGIN_MOC_NAMESPACE
|
||||
QT_WARNING_PUSH
|
||||
QT_WARNING_DISABLE_DEPRECATED
|
||||
struct qt_meta_stringdata_QwtWheel_t {
|
||||
QByteArrayData data[29];
|
||||
char stringdata0[312];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_QwtWheel_t, stringdata0) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_QwtWheel_t qt_meta_stringdata_QwtWheel = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 8), // "QwtWheel"
|
||||
QT_MOC_LITERAL(1, 9, 12), // "valueChanged"
|
||||
QT_MOC_LITERAL(2, 22, 0), // ""
|
||||
QT_MOC_LITERAL(3, 23, 5), // "value"
|
||||
QT_MOC_LITERAL(4, 29, 12), // "wheelPressed"
|
||||
QT_MOC_LITERAL(5, 42, 13), // "wheelReleased"
|
||||
QT_MOC_LITERAL(6, 56, 10), // "wheelMoved"
|
||||
QT_MOC_LITERAL(7, 67, 8), // "setValue"
|
||||
QT_MOC_LITERAL(8, 76, 13), // "setTotalAngle"
|
||||
QT_MOC_LITERAL(9, 90, 12), // "setViewAngle"
|
||||
QT_MOC_LITERAL(10, 103, 7), // "setMass"
|
||||
QT_MOC_LITERAL(11, 111, 11), // "orientation"
|
||||
QT_MOC_LITERAL(12, 123, 15), // "Qt::Orientation"
|
||||
QT_MOC_LITERAL(13, 139, 7), // "minimum"
|
||||
QT_MOC_LITERAL(14, 147, 7), // "maximum"
|
||||
QT_MOC_LITERAL(15, 155, 10), // "singleStep"
|
||||
QT_MOC_LITERAL(16, 166, 13), // "pageStepCount"
|
||||
QT_MOC_LITERAL(17, 180, 13), // "stepAlignment"
|
||||
QT_MOC_LITERAL(18, 194, 8), // "tracking"
|
||||
QT_MOC_LITERAL(19, 203, 8), // "wrapping"
|
||||
QT_MOC_LITERAL(20, 212, 8), // "inverted"
|
||||
QT_MOC_LITERAL(21, 221, 4), // "mass"
|
||||
QT_MOC_LITERAL(22, 226, 14), // "updateInterval"
|
||||
QT_MOC_LITERAL(23, 241, 10), // "totalAngle"
|
||||
QT_MOC_LITERAL(24, 252, 9), // "viewAngle"
|
||||
QT_MOC_LITERAL(25, 262, 9), // "tickCount"
|
||||
QT_MOC_LITERAL(26, 272, 10), // "wheelWidth"
|
||||
QT_MOC_LITERAL(27, 283, 11), // "borderWidth"
|
||||
QT_MOC_LITERAL(28, 295, 16) // "wheelBorderWidth"
|
||||
|
||||
},
|
||||
"QwtWheel\0valueChanged\0\0value\0wheelPressed\0"
|
||||
"wheelReleased\0wheelMoved\0setValue\0"
|
||||
"setTotalAngle\0setViewAngle\0setMass\0"
|
||||
"orientation\0Qt::Orientation\0minimum\0"
|
||||
"maximum\0singleStep\0pageStepCount\0"
|
||||
"stepAlignment\0tracking\0wrapping\0"
|
||||
"inverted\0mass\0updateInterval\0totalAngle\0"
|
||||
"viewAngle\0tickCount\0wheelWidth\0"
|
||||
"borderWidth\0wheelBorderWidth"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_QwtWheel[] = {
|
||||
|
||||
// content:
|
||||
8, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
8, 14, // methods
|
||||
18, 74, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
4, // signalCount
|
||||
|
||||
// signals: name, argc, parameters, tag, flags
|
||||
1, 1, 54, 2, 0x06 /* Public */,
|
||||
4, 0, 57, 2, 0x06 /* Public */,
|
||||
5, 0, 58, 2, 0x06 /* Public */,
|
||||
6, 1, 59, 2, 0x06 /* Public */,
|
||||
|
||||
// slots: name, argc, parameters, tag, flags
|
||||
7, 1, 62, 2, 0x0a /* Public */,
|
||||
8, 1, 65, 2, 0x0a /* Public */,
|
||||
9, 1, 68, 2, 0x0a /* Public */,
|
||||
10, 1, 71, 2, 0x0a /* Public */,
|
||||
|
||||
// signals: parameters
|
||||
QMetaType::Void, QMetaType::Double, 3,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void, QMetaType::Double, 3,
|
||||
|
||||
// slots: parameters
|
||||
QMetaType::Void, QMetaType::Double, 2,
|
||||
QMetaType::Void, QMetaType::Double, 2,
|
||||
QMetaType::Void, QMetaType::Double, 2,
|
||||
QMetaType::Void, QMetaType::Double, 2,
|
||||
|
||||
// properties: name, type, flags
|
||||
11, 0x80000000 | 12, 0x0009510b,
|
||||
3, QMetaType::Double, 0x00595103,
|
||||
13, QMetaType::Double, 0x00095103,
|
||||
14, QMetaType::Double, 0x00095103,
|
||||
15, QMetaType::Double, 0x00095103,
|
||||
16, QMetaType::Int, 0x00095103,
|
||||
17, QMetaType::Bool, 0x00095103,
|
||||
18, QMetaType::Bool, 0x00095103,
|
||||
19, QMetaType::Bool, 0x00095103,
|
||||
20, QMetaType::Bool, 0x00095103,
|
||||
21, QMetaType::Double, 0x00095103,
|
||||
22, QMetaType::Int, 0x00095103,
|
||||
23, QMetaType::Double, 0x00095103,
|
||||
24, QMetaType::Double, 0x00095103,
|
||||
25, QMetaType::Int, 0x00095103,
|
||||
26, QMetaType::Int, 0x00095103,
|
||||
27, QMetaType::Int, 0x00095103,
|
||||
28, QMetaType::Int, 0x00095103,
|
||||
|
||||
// properties: notify_signal_id
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void QwtWheel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
auto *_t = static_cast<QwtWheel *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
switch (_id) {
|
||||
case 0: _t->valueChanged((*reinterpret_cast< double(*)>(_a[1]))); break;
|
||||
case 1: _t->wheelPressed(); break;
|
||||
case 2: _t->wheelReleased(); break;
|
||||
case 3: _t->wheelMoved((*reinterpret_cast< double(*)>(_a[1]))); break;
|
||||
case 4: _t->setValue((*reinterpret_cast< double(*)>(_a[1]))); break;
|
||||
case 5: _t->setTotalAngle((*reinterpret_cast< double(*)>(_a[1]))); break;
|
||||
case 6: _t->setViewAngle((*reinterpret_cast< double(*)>(_a[1]))); break;
|
||||
case 7: _t->setMass((*reinterpret_cast< double(*)>(_a[1]))); break;
|
||||
default: ;
|
||||
}
|
||||
} else if (_c == QMetaObject::IndexOfMethod) {
|
||||
int *result = reinterpret_cast<int *>(_a[0]);
|
||||
{
|
||||
using _t = void (QwtWheel::*)(double );
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QwtWheel::valueChanged)) {
|
||||
*result = 0;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
using _t = void (QwtWheel::*)();
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QwtWheel::wheelPressed)) {
|
||||
*result = 1;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
using _t = void (QwtWheel::*)();
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QwtWheel::wheelReleased)) {
|
||||
*result = 2;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
using _t = void (QwtWheel::*)(double );
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QwtWheel::wheelMoved)) {
|
||||
*result = 3;
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
#ifndef QT_NO_PROPERTIES
|
||||
else if (_c == QMetaObject::ReadProperty) {
|
||||
auto *_t = static_cast<QwtWheel *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
void *_v = _a[0];
|
||||
switch (_id) {
|
||||
case 0: *reinterpret_cast< Qt::Orientation*>(_v) = _t->orientation(); break;
|
||||
case 1: *reinterpret_cast< double*>(_v) = _t->value(); break;
|
||||
case 2: *reinterpret_cast< double*>(_v) = _t->minimum(); break;
|
||||
case 3: *reinterpret_cast< double*>(_v) = _t->maximum(); break;
|
||||
case 4: *reinterpret_cast< double*>(_v) = _t->singleStep(); break;
|
||||
case 5: *reinterpret_cast< int*>(_v) = _t->pageStepCount(); break;
|
||||
case 6: *reinterpret_cast< bool*>(_v) = _t->stepAlignment(); break;
|
||||
case 7: *reinterpret_cast< bool*>(_v) = _t->isTracking(); break;
|
||||
case 8: *reinterpret_cast< bool*>(_v) = _t->wrapping(); break;
|
||||
case 9: *reinterpret_cast< bool*>(_v) = _t->isInverted(); break;
|
||||
case 10: *reinterpret_cast< double*>(_v) = _t->mass(); break;
|
||||
case 11: *reinterpret_cast< int*>(_v) = _t->updateInterval(); break;
|
||||
case 12: *reinterpret_cast< double*>(_v) = _t->totalAngle(); break;
|
||||
case 13: *reinterpret_cast< double*>(_v) = _t->viewAngle(); break;
|
||||
case 14: *reinterpret_cast< int*>(_v) = _t->tickCount(); break;
|
||||
case 15: *reinterpret_cast< int*>(_v) = _t->wheelWidth(); break;
|
||||
case 16: *reinterpret_cast< int*>(_v) = _t->borderWidth(); break;
|
||||
case 17: *reinterpret_cast< int*>(_v) = _t->wheelBorderWidth(); break;
|
||||
default: break;
|
||||
}
|
||||
} else if (_c == QMetaObject::WriteProperty) {
|
||||
auto *_t = static_cast<QwtWheel *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
void *_v = _a[0];
|
||||
switch (_id) {
|
||||
case 0: _t->setOrientation(*reinterpret_cast< Qt::Orientation*>(_v)); break;
|
||||
case 1: _t->setValue(*reinterpret_cast< double*>(_v)); break;
|
||||
case 2: _t->setMinimum(*reinterpret_cast< double*>(_v)); break;
|
||||
case 3: _t->setMaximum(*reinterpret_cast< double*>(_v)); break;
|
||||
case 4: _t->setSingleStep(*reinterpret_cast< double*>(_v)); break;
|
||||
case 5: _t->setPageStepCount(*reinterpret_cast< int*>(_v)); break;
|
||||
case 6: _t->setStepAlignment(*reinterpret_cast< bool*>(_v)); break;
|
||||
case 7: _t->setTracking(*reinterpret_cast< bool*>(_v)); break;
|
||||
case 8: _t->setWrapping(*reinterpret_cast< bool*>(_v)); break;
|
||||
case 9: _t->setInverted(*reinterpret_cast< bool*>(_v)); break;
|
||||
case 10: _t->setMass(*reinterpret_cast< double*>(_v)); break;
|
||||
case 11: _t->setUpdateInterval(*reinterpret_cast< int*>(_v)); break;
|
||||
case 12: _t->setTotalAngle(*reinterpret_cast< double*>(_v)); break;
|
||||
case 13: _t->setViewAngle(*reinterpret_cast< double*>(_v)); break;
|
||||
case 14: _t->setTickCount(*reinterpret_cast< int*>(_v)); break;
|
||||
case 15: _t->setWheelWidth(*reinterpret_cast< int*>(_v)); break;
|
||||
case 16: _t->setBorderWidth(*reinterpret_cast< int*>(_v)); break;
|
||||
case 17: _t->setWheelBorderWidth(*reinterpret_cast< int*>(_v)); break;
|
||||
default: break;
|
||||
}
|
||||
} else if (_c == QMetaObject::ResetProperty) {
|
||||
}
|
||||
#endif // QT_NO_PROPERTIES
|
||||
}
|
||||
|
||||
QT_INIT_METAOBJECT const QMetaObject QwtWheel::staticMetaObject = { {
|
||||
QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
|
||||
qt_meta_stringdata_QwtWheel.data,
|
||||
qt_meta_data_QwtWheel,
|
||||
qt_static_metacall,
|
||||
nullptr,
|
||||
nullptr
|
||||
} };
|
||||
|
||||
|
||||
const QMetaObject *QwtWheel::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *QwtWheel::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return nullptr;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_QwtWheel.stringdata0))
|
||||
return static_cast<void*>(this);
|
||||
return QWidget::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int QwtWheel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QWidget::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
if (_id < 8)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 8;
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
if (_id < 8)
|
||||
*reinterpret_cast<int*>(_a[0]) = -1;
|
||||
_id -= 8;
|
||||
}
|
||||
#ifndef QT_NO_PROPERTIES
|
||||
else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
|
||||
|| _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 18;
|
||||
} else if (_c == QMetaObject::QueryPropertyDesignable) {
|
||||
_id -= 18;
|
||||
} else if (_c == QMetaObject::QueryPropertyScriptable) {
|
||||
_id -= 18;
|
||||
} else if (_c == QMetaObject::QueryPropertyStored) {
|
||||
_id -= 18;
|
||||
} else if (_c == QMetaObject::QueryPropertyEditable) {
|
||||
_id -= 18;
|
||||
} else if (_c == QMetaObject::QueryPropertyUser) {
|
||||
_id -= 18;
|
||||
}
|
||||
#endif // QT_NO_PROPERTIES
|
||||
return _id;
|
||||
}
|
||||
|
||||
// SIGNAL 0
|
||||
void QwtWheel::valueChanged(double _t1)
|
||||
{
|
||||
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 0, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 1
|
||||
void QwtWheel::wheelPressed()
|
||||
{
|
||||
QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
|
||||
}
|
||||
|
||||
// SIGNAL 2
|
||||
void QwtWheel::wheelReleased()
|
||||
{
|
||||
QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
|
||||
}
|
||||
|
||||
// SIGNAL 3
|
||||
void QwtWheel::wheelMoved(double _t1)
|
||||
{
|
||||
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 3, _a);
|
||||
}
|
||||
QT_WARNING_POP
|
||||
QT_END_MOC_NAMESPACE
|
||||
@@ -0,0 +1 @@
|
||||
#include "qwt_abstract_legend.h"
|
||||
@@ -0,0 +1 @@
|
||||
#include "qwt_abstract_scale.h"
|
||||
@@ -0,0 +1 @@
|
||||
#include "qwt_abstract_scale_draw.h"
|
||||
@@ -0,0 +1 @@
|
||||
#include "qwt_abstract_slider.h"
|
||||
@@ -0,0 +1 @@
|
||||
#include "qwt_color_map.h"
|
||||
@@ -0,0 +1 @@
|
||||
#include "qwt_analog_clock.h"
|
||||
@@ -0,0 +1 @@
|
||||
#include "qwt_arrow_button.h"
|
||||
@@ -0,0 +1 @@
|
||||
#include "qwt_axis.h"
|
||||
@@ -0,0 +1 @@
|
||||
#include "qwt_axis_id.h"
|
||||
@@ -0,0 +1 @@
|
||||
#include "qwt_bezier.h"
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user