1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
/// C++ type: <span style='color: green;'>```QLCDNumber```</span>
///
/// <a href="http://doc.qt.io/qt-5/qlcdnumber.html">C++ documentation:</a> <div style='border: 1px solid #5CFF95; background: #D6FFE4; padding: 16px;'><p>The <a href="http://doc.qt.io/qt-5/qlcdnumber.html">QLCDNumber</a> widget displays a number with LCD-like digits.</p>
/// <p>It can display a number in just about any size. It can display decimal, hexadecimal, octal or binary numbers. It is easy to connect to data sources using the <a href="http://doc.qt.io/qt-5/qlcdnumber.html#display">display</a>() slot, which is overloaded to take any of five argument types.</p>
/// <p>There are also slots to change the base with <a href="http://doc.qt.io/qt-5/qlcdnumber.html#mode-prop">setMode</a>() and the decimal point with <a href="http://doc.qt.io/qt-5/qlcdnumber.html#smallDecimalPoint-prop">setSmallDecimalPoint</a>().</p>
/// <p><a href="http://doc.qt.io/qt-5/qlcdnumber.html">QLCDNumber</a> emits the <a href="http://doc.qt.io/qt-5/qlcdnumber.html#overflow">overflow</a>() signal when it is asked to display something beyond its range. The range is set by <a href="http://doc.qt.io/qt-5/qlcdnumber.html#setDigitCount">setDigitCount</a>(), but <a href="http://doc.qt.io/qt-5/qlcdnumber.html#smallDecimalPoint-prop">setSmallDecimalPoint</a>() also influences it. If the display is set to hexadecimal, octal or binary, the integer equivalent of the value is displayed.</p>
/// <p>These digits and other symbols can be shown: 0/O, 1, 2, 3, 4, 5/S, 6, 7, 8, 9/g, minus, decimal point, A, B, C, D, E, F, h, H, L, o, P, r, u, U, Y, colon, degree sign (which is specified as single quote in the string) and space. <a href="http://doc.qt.io/qt-5/qlcdnumber.html">QLCDNumber</a> substitutes spaces for illegal characters.</p>
/// <p>It is not possible to retrieve the contents of a <a href="http://doc.qt.io/qt-5/qlcdnumber.html">QLCDNumber</a> object, although you can retrieve the numeric value with <a href="http://doc.qt.io/qt-5/qlcdnumber.html#value-prop">value</a>(). If you really need the text, we recommend that you connect the signals that feed the <a href="http://doc.qt.io/qt-5/qlcdnumber.html#display">display</a>() slot to another slot as well and store the value there.</p>
/// <p>Incidentally, <a href="http://doc.qt.io/qt-5/qlcdnumber.html">QLCDNumber</a> is the very oldest part of Qt, tracing its roots back to a BASIC program on the <a href="http://www.nvg.ntnu.no/sinclair/computers/zxspectrum/zxspectrum.htm">Sinclair Spectrum</a>.</p>
/// <div class="table"><table class="generic">
///  <tbody><tr valign="top" class="odd"><td><img src="http://doc.qt.io/qt-5/images/windows-lcdnumber.png" alt="Screenshot of a Windows style LCD number widget"></img> <img src="http://doc.qt.io/qt-5/images/windowsvista-lcdnumber.png" alt="Screenshot of a Windows Vista style LCD number widget"></img> <img src="http://doc.qt.io/qt-5/images/macintosh-lcdnumber.png" alt="Screenshot of a Macintosh style LCD number widget"></img> <img src="http://doc.qt.io/qt-5/images/fusion-lcdnumber.png" alt="Screenshot of a Fusion style LCD number widget"></img></td></tr>
/// <tr valign="top" class="even"><td>LCD number widgets shown in various widget styles (from left to right): <a href="http://doc.qt.io/qt-5/gallery-windows.html">Windows</a>, <a href="http://doc.qt.io/qt-5/gallery-windowsvista.html">Windows Vista</a>, <a href="http://doc.qt.io/qt-5/gallery-macintosh.html">Macintosh</a>, <a href="http://doc.qt.io/qt-5/gallery-fusion.html">Fusion</a>.</td></tr>
/// </tbody></table></div></div>
#[repr(C)]
pub struct LCDNumber(u8);

impl LCDNumber {
  /// C++ method: <span style='color: green;'>```QLCDNumber::checkOverflow```</span>
  ///
  /// This is an overloaded function. Available variants:
  ///
  ///
  ///
  /// ## Variant 1
  ///
  /// Rust arguments: ```fn check_overflow(&self, ::libc::c_double) -> bool```<br>
  /// C++ method: <span style='color: green;'>```bool QLCDNumber::checkOverflow(double num) const```</span>
  ///
  /// <a href="http://doc.qt.io/qt-5/qlcdnumber.html#checkOverflow">C++ documentation:</a> <div style='border: 1px solid #5CFF95; background: #D6FFE4; padding: 16px;'><p>Returns <code>true</code> if <i>num</i> is too big to be displayed in its entirety; otherwise returns <code>false</code>.</p>
  /// <p><b>See also </b><a href="http://doc.qt.io/qt-5/qlcdnumber.html#display">display</a>(), <a href="http://doc.qt.io/qt-5/qlcdnumber.html#digitCount">digitCount</a>(), and <a href="http://doc.qt.io/qt-5/qlcdnumber.html#smallDecimalPoint-prop">smallDecimalPoint</a>().</p></div>
  ///
  /// ## Variant 2
  ///
  /// Rust arguments: ```fn check_overflow(&self, ::libc::c_int) -> bool```<br>
  /// C++ method: <span style='color: green;'>```bool QLCDNumber::checkOverflow(int num) const```</span>
  ///
  /// <a href="http://doc.qt.io/qt-5/qlcdnumber.html#checkOverflow-1">C++ documentation:</a> <div style='border: 1px solid #5CFF95; background: #D6FFE4; padding: 16px;'><p>This is an overloaded function.</p>
  /// <p>Returns <code>true</code> if <i>num</i> is too big to be displayed in its entirety; otherwise returns <code>false</code>.</p>
  /// <p><b>See also </b><a href="http://doc.qt.io/qt-5/qlcdnumber.html#display">display</a>(), <a href="http://doc.qt.io/qt-5/qlcdnumber.html#digitCount">digitCount</a>(), and <a href="http://doc.qt.io/qt-5/qlcdnumber.html#smallDecimalPoint-prop">smallDecimalPoint</a>().</p></div>
  pub fn check_overflow<'largs, Args>(&'largs self, args: Args) -> bool
    where Args: overloading::LCDNumberCheckOverflowArgs<'largs>
  {
    args.exec(self)
  }
  /// C++ method: <span style='color: green;'>```int QLCDNumber::digitCount() const```</span>
  ///
  /// <a href="http://doc.qt.io/qt-5/qlcdnumber.html#digitCount-prop">C++ documentation:</a> <div style='border: 1px solid #5CFF95; background: #D6FFE4; padding: 16px;'><p>This property holds the current number of digits displayed.</p>
  /// <p>Corresponds to the current number of digits. If <a href="http://doc.qt.io/qt-5/qlcdnumber.html#smallDecimalPoint-prop">QLCDNumber::smallDecimalPoint</a> is false, the decimal point occupies one digit position.</p>
  /// <p>By default, this property contains a value of 5.</p>
  /// <p>This property was introduced in  Qt 4.6.</p>
  /// <p><b>Access functions:</b></p>
  /// <div class="table"><table class="alignedsummary">
  /// <tbody><tr><td class="memItemLeft topAlign rightAlign"> int </td><td class="memItemRight bottomAlign"><span class="name"><b><a href="http://doc.qt.io/qt-5/qlcdnumber.html#digitCount">digitCount</a></b></span>() const</td></tr>
  /// <tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b><a href="http://doc.qt.io/qt-5/qlcdnumber.html#setDigitCount">setDigitCount</a></b></span>(int <i>numDigits</i>)</td></tr>
  /// </tbody></table></div>
  /// <p><b>See also </b><a href="http://doc.qt.io/qt-5/qlcdnumber.html#smallDecimalPoint-prop">smallDecimalPoint</a>.</p></div>
  pub fn digit_count(&self) -> ::libc::c_int {
    unsafe { ::ffi::qt_widgets_c_QLCDNumber_digitCount(self as *const ::l_c_d_number::LCDNumber) }
  }

  /// C++ method: <span style='color: green;'>```QLCDNumber::display```</span>
  ///
  /// This is an overloaded function. Available variants:
  ///
  ///
  ///
  /// ## Variant 1
  ///
  /// Rust arguments: ```fn display(&mut self, &::qt_core::string::String) -> ()```<br>
  /// C++ method: <span style='color: green;'>```[slot] void QLCDNumber::display(const QString& str)```</span>
  ///
  /// <a href="http://doc.qt.io/qt-5/qlcdnumber.html#display">C++ documentation:</a> <div style='border: 1px solid #5CFF95; background: #D6FFE4; padding: 16px;'><p>Displays the number represented by the string <i>s</i>.</p>
  /// <p>This version of the function disregards <a href="http://doc.qt.io/qt-5/qlcdnumber.html#mode-prop">mode</a>() and <a href="http://doc.qt.io/qt-5/qlcdnumber.html#smallDecimalPoint-prop">smallDecimalPoint</a>().</p>
  /// <p>These digits and other symbols can be shown: 0/O, 1, 2, 3, 4, 5/S, 6, 7, 8, 9/g, minus, decimal point, A, B, C, D, E, F, h, H, L, o, P, r, u, U, Y, colon, degree sign (which is specified as single quote in the string) and space. <a href="http://doc.qt.io/qt-5/qlcdnumber.html">QLCDNumber</a> substitutes spaces for illegal characters.</p>
  /// <p><b>Note:</b> Setter function for property <a href="http://doc.qt.io/qt-5/qlcdnumber.html#intValue-prop">intValue</a>. Setter function for property <a href="http://doc.qt.io/qt-5/qlcdnumber.html#value-prop">value</a>. </p></div>
  ///
  /// ## Variant 2
  ///
  /// Rust arguments: ```fn display(&mut self, ::libc::c_double) -> ()```<br>
  /// C++ method: <span style='color: green;'>```[slot] void QLCDNumber::display(double num)```</span>
  ///
  /// <a href="http://doc.qt.io/qt-5/qlcdnumber.html#display-2">C++ documentation:</a> <div style='border: 1px solid #5CFF95; background: #D6FFE4; padding: 16px;'><p>This is an overloaded function.</p>
  /// <p>Displays the number <i>num</i>.</p>
  /// <p><b>Note:</b> Setter function for property <a href="http://doc.qt.io/qt-5/qlcdnumber.html#intValue-prop">intValue</a>. Setter function for property <a href="http://doc.qt.io/qt-5/qlcdnumber.html#value-prop">value</a>. </p></div>
  ///
  /// ## Variant 3
  ///
  /// Rust arguments: ```fn display(&mut self, ::libc::c_int) -> ()```<br>
  /// C++ method: <span style='color: green;'>```[slot] void QLCDNumber::display(int num)```</span>
  ///
  /// <a href="http://doc.qt.io/qt-5/qlcdnumber.html#display-1">C++ documentation:</a> <div style='border: 1px solid #5CFF95; background: #D6FFE4; padding: 16px;'><p>This is an overloaded function.</p>
  /// <p>Displays the number <i>num</i>.</p>
  /// <p><b>Note:</b> Setter function for property <a href="http://doc.qt.io/qt-5/qlcdnumber.html#intValue-prop">intValue</a>. Setter function for property <a href="http://doc.qt.io/qt-5/qlcdnumber.html#value-prop">value</a>. </p></div>
  pub fn display<'largs, Args>(&'largs mut self, args: Args) -> ()
    where Args: overloading::LCDNumberDisplayArgs<'largs>
  {
    args.exec(self)
  }
  /// C++ method: <span style='color: green;'>```int QLCDNumber::intValue() const```</span>
  ///
  /// <a href="http://doc.qt.io/qt-5/qlcdnumber.html#intValue-prop">C++ documentation:</a> <div style='border: 1px solid #5CFF95; background: #D6FFE4; padding: 16px;'><p>This property holds the displayed value rounded to the nearest integer.</p>
  /// <p>This property corresponds to the nearest integer to the current value displayed by the LCDNumber. This is the value used for hexadecimal, octal and binary modes.</p>
  /// <p>If the displayed value is not a number, the property has a value of 0.</p>
  /// <p>By default, this property contains a value of 0.</p>
  /// <p><b>Access functions:</b></p>
  /// <div class="table"><table class="alignedsummary">
  /// <tbody><tr><td class="memItemLeft topAlign rightAlign"> int </td><td class="memItemRight bottomAlign"><span class="name"><b>intValue</b></span>() const</td></tr>
  /// <tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b><a href="http://doc.qt.io/qt-5/qlcdnumber.html#display">display</a></b></span>(const QString &amp;<i>s</i>)</td></tr>
  /// <tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b><a href="http://doc.qt.io/qt-5/qlcdnumber.html#display-1">display</a></b></span>(int <i>num</i>)</td></tr>
  /// <tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b><a href="http://doc.qt.io/qt-5/qlcdnumber.html#display-2">display</a></b></span>(double <i>num</i>)</td></tr>
  /// </tbody></table></div></div>
  pub fn int_value(&self) -> ::libc::c_int {
    unsafe { ::ffi::qt_widgets_c_QLCDNumber_intValue(self as *const ::l_c_d_number::LCDNumber) }
  }

  /// C++ method: <span style='color: green;'>```virtual const QMetaObject* QLCDNumber::metaObject() const```</span>
  ///
  ///
  pub fn meta_object(&self) -> *const ::qt_core::meta_object::MetaObject {
    unsafe { ::ffi::qt_widgets_c_QLCDNumber_metaObject(self as *const ::l_c_d_number::LCDNumber) }
  }

  /// C++ method: <span style='color: green;'>```QLCDNumber::Mode QLCDNumber::mode() const```</span>
  ///
  /// <a href="http://doc.qt.io/qt-5/qlcdnumber.html#mode-prop">C++ documentation:</a> <div style='border: 1px solid #5CFF95; background: #D6FFE4; padding: 16px;'><p>This property holds the current display mode (number base).</p>
  /// <p>Corresponds to the current display mode, which is one of <code>Bin</code>, <code>Oct</code>, <code>Dec</code> (the default) and <code>Hex</code>. <code>Dec</code> mode can display floating point values, the other modes display the integer equivalent.</p>
  /// <p><b>Access functions:</b></p>
  /// <div class="table"><table class="alignedsummary">
  /// <tbody><tr><td class="memItemLeft topAlign rightAlign"> Mode </td><td class="memItemRight bottomAlign"><span class="name"><b>mode</b></span>() const</td></tr>
  /// <tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setMode</b></span>(<i>Mode</i>)</td></tr>
  /// </tbody></table></div>
  /// <p><b>See also </b><a href="http://doc.qt.io/qt-5/qlcdnumber.html#smallDecimalPoint-prop">smallDecimalPoint</a>(), <a href="http://doc.qt.io/qt-5/qlcdnumber.html#setHexMode">setHexMode</a>(), <a href="http://doc.qt.io/qt-5/qlcdnumber.html#setDecMode">setDecMode</a>(), <a href="http://doc.qt.io/qt-5/qlcdnumber.html#setOctMode">setOctMode</a>(), and <a href="http://doc.qt.io/qt-5/qlcdnumber.html#setBinMode">setBinMode</a>().</p></div>
  pub fn mode(&self) -> ::l_c_d_number::Mode {
    unsafe { ::ffi::qt_widgets_c_QLCDNumber_mode(self as *const ::l_c_d_number::LCDNumber) }
  }

  /// C++ method: <span style='color: green;'>```QLCDNumber::QLCDNumber```</span>
  ///
  /// This is an overloaded function. Available variants:
  ///
  ///
  ///
  /// ## Variant 1
  ///
  /// Rust arguments: ```fn new(()) -> ::cpp_utils::CppBox<::l_c_d_number::LCDNumber>```<br>
  /// C++ method: <span style='color: green;'>```[constructor] void QLCDNumber::QLCDNumber()```</span>
  ///
  /// <a href="http://doc.qt.io/qt-5/qlcdnumber.html#QLCDNumber">C++ documentation:</a> <div style='border: 1px solid #5CFF95; background: #D6FFE4; padding: 16px;'><p>Constructs an LCD number, sets the number of digits to 5, the base to decimal, the decimal point mode to 'small' and the frame style to a raised box. The <a href="http://doc.qt.io/qt-5/qlcdnumber.html#segmentStyle-prop">segmentStyle</a>() is set to <code>Outline</code>.</p>
  /// <p>The <i>parent</i> argument is passed to the <a href="http://doc.qt.io/qt-5/qframe.html">QFrame</a> constructor.</p>
  /// <p><b>See also </b><a href="http://doc.qt.io/qt-5/qlcdnumber.html#setDigitCount">setDigitCount</a>() and <a href="http://doc.qt.io/qt-5/qlcdnumber.html#smallDecimalPoint-prop">setSmallDecimalPoint</a>().</p></div>
  ///
  /// ## Variant 2
  ///
  /// Rust arguments: ```fn new(::libc::c_uint) -> ::cpp_utils::CppBox<::l_c_d_number::LCDNumber>```<br>
  /// C++ method: <span style='color: green;'>```[constructor] void QLCDNumber::QLCDNumber(unsigned int numDigits)```</span>
  ///
  /// <a href="http://doc.qt.io/qt-5/qlcdnumber.html#QLCDNumber-1">C++ documentation:</a> <div style='border: 1px solid #5CFF95; background: #D6FFE4; padding: 16px;'><p>Constructs an LCD number, sets the number of digits to <i>numDigits</i>, the base to decimal, the decimal point mode to 'small' and the frame style to a raised box. The <a href="http://doc.qt.io/qt-5/qlcdnumber.html#segmentStyle-prop">segmentStyle</a>() is set to <code>Filled</code>.</p>
  /// <p>The <i>parent</i> argument is passed to the <a href="http://doc.qt.io/qt-5/qframe.html">QFrame</a> constructor.</p>
  /// <p><b>See also </b><a href="http://doc.qt.io/qt-5/qlcdnumber.html#setDigitCount">setDigitCount</a>() and <a href="http://doc.qt.io/qt-5/qlcdnumber.html#smallDecimalPoint-prop">setSmallDecimalPoint</a>().</p></div>
  pub fn new<Args>(args: Args) -> ::cpp_utils::CppBox<::l_c_d_number::LCDNumber>
    where Args: overloading::LCDNumberNewArgs
  {
    args.exec()
  }
  /// C++ method: <span style='color: green;'>```QLCDNumber::QLCDNumber```</span>
  ///
  /// This is an overloaded function. Available variants:
  ///
  ///
  ///
  /// ## Variant 1
  ///
  /// Rust arguments: ```fn new_unsafe(*mut ::widget::Widget) -> ::cpp_utils::CppBox<::l_c_d_number::LCDNumber>```<br>
  /// C++ method: <span style='color: green;'>```[constructor] void QLCDNumber::QLCDNumber(QWidget* parent = ?)```</span>
  ///
  /// <a href="http://doc.qt.io/qt-5/qlcdnumber.html#QLCDNumber">C++ documentation:</a> <div style='border: 1px solid #5CFF95; background: #D6FFE4; padding: 16px;'><p>Constructs an LCD number, sets the number of digits to 5, the base to decimal, the decimal point mode to 'small' and the frame style to a raised box. The <a href="http://doc.qt.io/qt-5/qlcdnumber.html#segmentStyle-prop">segmentStyle</a>() is set to <code>Outline</code>.</p>
  /// <p>The <i>parent</i> argument is passed to the <a href="http://doc.qt.io/qt-5/qframe.html">QFrame</a> constructor.</p>
  /// <p><b>See also </b><a href="http://doc.qt.io/qt-5/qlcdnumber.html#setDigitCount">setDigitCount</a>() and <a href="http://doc.qt.io/qt-5/qlcdnumber.html#smallDecimalPoint-prop">setSmallDecimalPoint</a>().</p></div>
  ///
  /// ## Variant 2
  ///
  /// Rust arguments: ```fn new_unsafe((::libc::c_uint, *mut ::widget::Widget)) -> ::cpp_utils::CppBox<::l_c_d_number::LCDNumber>```<br>
  /// C++ method: <span style='color: green;'>```[constructor] void QLCDNumber::QLCDNumber(unsigned int numDigits, QWidget* parent = ?)```</span>
  ///
  /// <a href="http://doc.qt.io/qt-5/qlcdnumber.html#QLCDNumber-1">C++ documentation:</a> <div style='border: 1px solid #5CFF95; background: #D6FFE4; padding: 16px;'><p>Constructs an LCD number, sets the number of digits to <i>numDigits</i>, the base to decimal, the decimal point mode to 'small' and the frame style to a raised box. The <a href="http://doc.qt.io/qt-5/qlcdnumber.html#segmentStyle-prop">segmentStyle</a>() is set to <code>Filled</code>.</p>
  /// <p>The <i>parent</i> argument is passed to the <a href="http://doc.qt.io/qt-5/qframe.html">QFrame</a> constructor.</p>
  /// <p><b>See also </b><a href="http://doc.qt.io/qt-5/qlcdnumber.html#setDigitCount">setDigitCount</a>() and <a href="http://doc.qt.io/qt-5/qlcdnumber.html#smallDecimalPoint-prop">setSmallDecimalPoint</a>().</p></div>
  pub unsafe fn new_unsafe<Args>(args: Args) -> ::cpp_utils::CppBox<::l_c_d_number::LCDNumber>
    where Args: overloading::LCDNumberNewUnsafeArgs
  {
    args.exec()
  }
  /// C++ method: <span style='color: green;'>```virtual int QLCDNumber::qt_metacall(QMetaObject::Call arg1, int arg2, void** arg3)```</span>
  ///
  ///
  pub unsafe fn qt_metacall(&mut self,
                            arg1: ::qt_core::meta_object::Call,
                            arg2: ::libc::c_int,
                            arg3: *mut *mut ::libc::c_void)
                            -> ::libc::c_int {
    ::ffi::qt_widgets_c_QLCDNumber_qt_metacall(self as *mut ::l_c_d_number::LCDNumber, arg1, arg2, arg3)
  }

  /// C++ method: <span style='color: green;'>```virtual void* QLCDNumber::qt_metacast(const char* arg1)```</span>
  ///
  ///
  pub unsafe fn qt_metacast(&mut self, arg1: *const ::libc::c_char) -> *mut ::libc::c_void {
    ::ffi::qt_widgets_c_QLCDNumber_qt_metacast(self as *mut ::l_c_d_number::LCDNumber, arg1)
  }

  /// C++ method: <span style='color: green;'>```QLCDNumber::SegmentStyle QLCDNumber::segmentStyle() const```</span>
  ///
  /// <a href="http://doc.qt.io/qt-5/qlcdnumber.html#segmentStyle-prop">C++ documentation:</a> <div style='border: 1px solid #5CFF95; background: #D6FFE4; padding: 16px;'><p>This property holds the style of the LCDNumber.</p>
  /// <div class="table"><table class="generic">
  ///  <thead><tr class="qt-style"><th>Style</th><th>Result</th></tr></thead>
  /// <tbody><tr valign="top" class="odd"><td><code>Outline</code></td><td>Produces raised segments filled with the background color</td></tr>
  /// <tr valign="top" class="even"><td><code>Filled</code> (this is the default).</td><td>Produces raised segments filled with the foreground color.</td></tr>
  /// <tr valign="top" class="odd"><td><code>Flat</code></td><td>Produces flat segments filled with the foreground color.</td></tr>
  /// </tbody></table></div>
  /// <p><code>Outline</code> and <code>Filled</code> will additionally use <a href="http://doc.qt.io/qt-5/qpalette.html#light">QPalette::light</a>() and <a href="http://doc.qt.io/qt-5/qpalette.html#dark">QPalette::dark</a>() for shadow effects.</p>
  /// <p><b>Access functions:</b></p>
  /// <div class="table"><table class="alignedsummary">
  /// <tbody><tr><td class="memItemLeft topAlign rightAlign"> SegmentStyle </td><td class="memItemRight bottomAlign"><span class="name"><b>segmentStyle</b></span>() const</td></tr>
  /// <tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setSegmentStyle</b></span>(<i>SegmentStyle</i>)</td></tr>
  /// </tbody></table></div></div>
  pub fn segment_style(&self) -> ::l_c_d_number::SegmentStyle {
    unsafe { ::ffi::qt_widgets_c_QLCDNumber_segmentStyle(self as *const ::l_c_d_number::LCDNumber) }
  }

  /// C++ method: <span style='color: green;'>```[slot] void QLCDNumber::setBinMode()```</span>
  ///
  /// <a href="http://doc.qt.io/qt-5/qlcdnumber.html#setBinMode">C++ documentation:</a> <div style='border: 1px solid #5CFF95; background: #D6FFE4; padding: 16px;'><p>Calls <a href="http://doc.qt.io/qt-5/qlcdnumber.html#mode-prop">setMode</a>(Bin). Provided for convenience (e.g. for connecting buttons to it).</p>
  /// <p><b>See also </b><a href="http://doc.qt.io/qt-5/qlcdnumber.html#mode-prop">setMode</a>(), <a href="http://doc.qt.io/qt-5/qlcdnumber.html#setHexMode">setHexMode</a>(), <a href="http://doc.qt.io/qt-5/qlcdnumber.html#setDecMode">setDecMode</a>(), <a href="http://doc.qt.io/qt-5/qlcdnumber.html#setOctMode">setOctMode</a>(), and <a href="http://doc.qt.io/qt-5/qlcdnumber.html#mode-prop">mode</a>().</p></div>
  pub fn set_bin_mode(&mut self) {
    unsafe { ::ffi::qt_widgets_c_QLCDNumber_setBinMode(self as *mut ::l_c_d_number::LCDNumber) }
  }

  /// C++ method: <span style='color: green;'>```[slot] void QLCDNumber::setDecMode()```</span>
  ///
  /// <a href="http://doc.qt.io/qt-5/qlcdnumber.html#setDecMode">C++ documentation:</a> <div style='border: 1px solid #5CFF95; background: #D6FFE4; padding: 16px;'><p>Calls <a href="http://doc.qt.io/qt-5/qlcdnumber.html#mode-prop">setMode</a>(Dec). Provided for convenience (e.g. for connecting buttons to it).</p>
  /// <p><b>See also </b><a href="http://doc.qt.io/qt-5/qlcdnumber.html#mode-prop">setMode</a>(), <a href="http://doc.qt.io/qt-5/qlcdnumber.html#setHexMode">setHexMode</a>(), <a href="http://doc.qt.io/qt-5/qlcdnumber.html#setOctMode">setOctMode</a>(), <a href="http://doc.qt.io/qt-5/qlcdnumber.html#setBinMode">setBinMode</a>(), and <a href="http://doc.qt.io/qt-5/qlcdnumber.html#mode-prop">mode</a>().</p></div>
  pub fn set_dec_mode(&mut self) {
    unsafe { ::ffi::qt_widgets_c_QLCDNumber_setDecMode(self as *mut ::l_c_d_number::LCDNumber) }
  }

  /// C++ method: <span style='color: green;'>```void QLCDNumber::setDigitCount(int nDigits)```</span>
  ///
  /// <a href="http://doc.qt.io/qt-5/qlcdnumber.html#setDigitCount">C++ documentation:</a> <div style='border: 1px solid #5CFF95; background: #D6FFE4; padding: 16px;'><p>Sets the current number of digits to <i>numDigits</i>. Must be in the range 0..99.</p>
  /// <p><b>Note:</b> Setter function for property <a href="http://doc.qt.io/qt-5/qlcdnumber.html#digitCount-prop">digitCount</a>. </p><p><b>See also </b><a href="http://doc.qt.io/qt-5/qlcdnumber.html#digitCount">digitCount</a>().</p></div>
  pub fn set_digit_count(&mut self, n_digits: ::libc::c_int) {
    unsafe { ::ffi::qt_widgets_c_QLCDNumber_setDigitCount(self as *mut ::l_c_d_number::LCDNumber, n_digits) }
  }

  /// C++ method: <span style='color: green;'>```[slot] void QLCDNumber::setHexMode()```</span>
  ///
  /// <a href="http://doc.qt.io/qt-5/qlcdnumber.html#setHexMode">C++ documentation:</a> <div style='border: 1px solid #5CFF95; background: #D6FFE4; padding: 16px;'><p>Calls <a href="http://doc.qt.io/qt-5/qlcdnumber.html#mode-prop">setMode</a>(Hex). Provided for convenience (e.g. for connecting buttons to it).</p>
  /// <p><b>See also </b><a href="http://doc.qt.io/qt-5/qlcdnumber.html#mode-prop">setMode</a>(), <a href="http://doc.qt.io/qt-5/qlcdnumber.html#setDecMode">setDecMode</a>(), <a href="http://doc.qt.io/qt-5/qlcdnumber.html#setOctMode">setOctMode</a>(), <a href="http://doc.qt.io/qt-5/qlcdnumber.html#setBinMode">setBinMode</a>(), and <a href="http://doc.qt.io/qt-5/qlcdnumber.html#mode-prop">mode</a>().</p></div>
  pub fn set_hex_mode(&mut self) {
    unsafe { ::ffi::qt_widgets_c_QLCDNumber_setHexMode(self as *mut ::l_c_d_number::LCDNumber) }
  }

  /// C++ method: <span style='color: green;'>```void QLCDNumber::setMode(QLCDNumber::Mode arg1)```</span>
  ///
  /// <a href="http://doc.qt.io/qt-5/qlcdnumber.html#mode-prop">C++ documentation:</a> <div style='border: 1px solid #5CFF95; background: #D6FFE4; padding: 16px;'><p>This property holds the current display mode (number base).</p>
  /// <p>Corresponds to the current display mode, which is one of <code>Bin</code>, <code>Oct</code>, <code>Dec</code> (the default) and <code>Hex</code>. <code>Dec</code> mode can display floating point values, the other modes display the integer equivalent.</p>
  /// <p><b>Access functions:</b></p>
  /// <div class="table"><table class="alignedsummary">
  /// <tbody><tr><td class="memItemLeft topAlign rightAlign"> Mode </td><td class="memItemRight bottomAlign"><span class="name"><b>mode</b></span>() const</td></tr>
  /// <tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setMode</b></span>(<i>Mode</i>)</td></tr>
  /// </tbody></table></div>
  /// <p><b>See also </b><a href="http://doc.qt.io/qt-5/qlcdnumber.html#smallDecimalPoint-prop">smallDecimalPoint</a>(), <a href="http://doc.qt.io/qt-5/qlcdnumber.html#setHexMode">setHexMode</a>(), <a href="http://doc.qt.io/qt-5/qlcdnumber.html#setDecMode">setDecMode</a>(), <a href="http://doc.qt.io/qt-5/qlcdnumber.html#setOctMode">setOctMode</a>(), and <a href="http://doc.qt.io/qt-5/qlcdnumber.html#setBinMode">setBinMode</a>().</p></div>
  pub fn set_mode(&mut self, arg1: ::l_c_d_number::Mode) {
    unsafe { ::ffi::qt_widgets_c_QLCDNumber_setMode(self as *mut ::l_c_d_number::LCDNumber, arg1) }
  }

  /// C++ method: <span style='color: green;'>```[slot] void QLCDNumber::setOctMode()```</span>
  ///
  /// <a href="http://doc.qt.io/qt-5/qlcdnumber.html#setOctMode">C++ documentation:</a> <div style='border: 1px solid #5CFF95; background: #D6FFE4; padding: 16px;'><p>Calls <a href="http://doc.qt.io/qt-5/qlcdnumber.html#mode-prop">setMode</a>(Oct). Provided for convenience (e.g. for connecting buttons to it).</p>
  /// <p><b>See also </b><a href="http://doc.qt.io/qt-5/qlcdnumber.html#mode-prop">setMode</a>(), <a href="http://doc.qt.io/qt-5/qlcdnumber.html#setHexMode">setHexMode</a>(), <a href="http://doc.qt.io/qt-5/qlcdnumber.html#setDecMode">setDecMode</a>(), <a href="http://doc.qt.io/qt-5/qlcdnumber.html#setBinMode">setBinMode</a>(), and <a href="http://doc.qt.io/qt-5/qlcdnumber.html#mode-prop">mode</a>().</p></div>
  pub fn set_oct_mode(&mut self) {
    unsafe { ::ffi::qt_widgets_c_QLCDNumber_setOctMode(self as *mut ::l_c_d_number::LCDNumber) }
  }

  /// C++ method: <span style='color: green;'>```void QLCDNumber::setSegmentStyle(QLCDNumber::SegmentStyle arg1)```</span>
  ///
  /// <a href="http://doc.qt.io/qt-5/qlcdnumber.html#segmentStyle-prop">C++ documentation:</a> <div style='border: 1px solid #5CFF95; background: #D6FFE4; padding: 16px;'><p>This property holds the style of the LCDNumber.</p>
  /// <div class="table"><table class="generic">
  ///  <thead><tr class="qt-style"><th>Style</th><th>Result</th></tr></thead>
  /// <tbody><tr valign="top" class="odd"><td><code>Outline</code></td><td>Produces raised segments filled with the background color</td></tr>
  /// <tr valign="top" class="even"><td><code>Filled</code> (this is the default).</td><td>Produces raised segments filled with the foreground color.</td></tr>
  /// <tr valign="top" class="odd"><td><code>Flat</code></td><td>Produces flat segments filled with the foreground color.</td></tr>
  /// </tbody></table></div>
  /// <p><code>Outline</code> and <code>Filled</code> will additionally use <a href="http://doc.qt.io/qt-5/qpalette.html#light">QPalette::light</a>() and <a href="http://doc.qt.io/qt-5/qpalette.html#dark">QPalette::dark</a>() for shadow effects.</p>
  /// <p><b>Access functions:</b></p>
  /// <div class="table"><table class="alignedsummary">
  /// <tbody><tr><td class="memItemLeft topAlign rightAlign"> SegmentStyle </td><td class="memItemRight bottomAlign"><span class="name"><b>segmentStyle</b></span>() const</td></tr>
  /// <tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setSegmentStyle</b></span>(<i>SegmentStyle</i>)</td></tr>
  /// </tbody></table></div></div>
  pub fn set_segment_style(&mut self, arg1: ::l_c_d_number::SegmentStyle) {
    unsafe { ::ffi::qt_widgets_c_QLCDNumber_setSegmentStyle(self as *mut ::l_c_d_number::LCDNumber, arg1) }
  }

  /// C++ method: <span style='color: green;'>```[slot] void QLCDNumber::setSmallDecimalPoint(bool arg1)```</span>
  ///
  /// <a href="http://doc.qt.io/qt-5/qlcdnumber.html#smallDecimalPoint-prop">C++ documentation:</a> <div style='border: 1px solid #5CFF95; background: #D6FFE4; padding: 16px;'><p>This property holds the style of the decimal point.</p>
  /// <p>If true the decimal point is drawn between two digit positions. Otherwise it occupies a digit position of its own, i.e. is drawn in a digit position. The default is false.</p>
  /// <p>The inter-digit space is made slightly wider when the decimal point is drawn between the digits.</p>
  /// <p><b>Access functions:</b></p>
  /// <div class="table"><table class="alignedsummary">
  /// <tbody><tr><td class="memItemLeft topAlign rightAlign"> bool </td><td class="memItemRight bottomAlign"><span class="name"><b>smallDecimalPoint</b></span>() const</td></tr>
  /// <tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setSmallDecimalPoint</b></span>(<i>bool</i>)</td></tr>
  /// </tbody></table></div>
  /// <p><b>See also </b><a href="http://doc.qt.io/qt-5/qlcdnumber.html#mode-prop">mode</a>.</p></div>
  pub fn set_small_decimal_point(&mut self, arg1: bool) {
    unsafe { ::ffi::qt_widgets_c_QLCDNumber_setSmallDecimalPoint(self as *mut ::l_c_d_number::LCDNumber, arg1) }
  }

  /// C++ method: <span style='color: green;'>```virtual QSize QLCDNumber::sizeHint() const```</span>
  ///
  /// <a href="http://doc.qt.io/qt-5/qlcdnumber.html#sizeHint">C++ documentation:</a> <div style='border: 1px solid #5CFF95; background: #D6FFE4; padding: 16px;'><p>Reimplemented from <a href="http://doc.qt.io/qt-5/qwidget.html#sizeHint-prop">QWidget::sizeHint</a>().</p></div>
  pub fn size_hint(&self) -> ::qt_core::size::Size {
    {
      let mut object: ::qt_core::size::Size =
        unsafe { ::cpp_utils::new_uninitialized::NewUninitialized::new_uninitialized() };
      unsafe {
        ::ffi::qt_widgets_c_QLCDNumber_sizeHint_to_output(self as *const ::l_c_d_number::LCDNumber, &mut object);
      }
      object
    }
  }

  /// C++ method: <span style='color: green;'>```bool QLCDNumber::smallDecimalPoint() const```</span>
  ///
  /// <a href="http://doc.qt.io/qt-5/qlcdnumber.html#smallDecimalPoint-prop">C++ documentation:</a> <div style='border: 1px solid #5CFF95; background: #D6FFE4; padding: 16px;'><p>This property holds the style of the decimal point.</p>
  /// <p>If true the decimal point is drawn between two digit positions. Otherwise it occupies a digit position of its own, i.e. is drawn in a digit position. The default is false.</p>
  /// <p>The inter-digit space is made slightly wider when the decimal point is drawn between the digits.</p>
  /// <p><b>Access functions:</b></p>
  /// <div class="table"><table class="alignedsummary">
  /// <tbody><tr><td class="memItemLeft topAlign rightAlign"> bool </td><td class="memItemRight bottomAlign"><span class="name"><b>smallDecimalPoint</b></span>() const</td></tr>
  /// <tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setSmallDecimalPoint</b></span>(<i>bool</i>)</td></tr>
  /// </tbody></table></div>
  /// <p><b>See also </b><a href="http://doc.qt.io/qt-5/qlcdnumber.html#mode-prop">mode</a>.</p></div>
  pub fn small_decimal_point(&self) -> bool {
    unsafe { ::ffi::qt_widgets_c_QLCDNumber_smallDecimalPoint(self as *const ::l_c_d_number::LCDNumber) }
  }

  /// C++ method: <span style='color: green;'>```static QString QLCDNumber::tr(const char* s, const char* c, int n)```</span>
  ///
  ///
  pub unsafe fn tr(s: *const ::libc::c_char, c: *const ::libc::c_char, n: ::libc::c_int) -> ::qt_core::string::String {
    {
      let mut object: ::qt_core::string::String =
        ::cpp_utils::new_uninitialized::NewUninitialized::new_uninitialized();
      ::ffi::qt_widgets_c_QLCDNumber_tr_to_output(s, c, n, &mut object);
      object
    }
  }

  /// C++ method: <span style='color: green;'>```static QString QLCDNumber::trUtf8(const char* s, const char* c, int n)```</span>
  ///
  ///
  pub unsafe fn tr_utf8(s: *const ::libc::c_char,
                        c: *const ::libc::c_char,
                        n: ::libc::c_int)
                        -> ::qt_core::string::String {
    {
      let mut object: ::qt_core::string::String =
        ::cpp_utils::new_uninitialized::NewUninitialized::new_uninitialized();
      ::ffi::qt_widgets_c_QLCDNumber_trUtf8_to_output(s, c, n, &mut object);
      object
    }
  }

  /// C++ method: <span style='color: green;'>```double QLCDNumber::value() const```</span>
  ///
  /// <a href="http://doc.qt.io/qt-5/qlcdnumber.html#value-prop">C++ documentation:</a> <div style='border: 1px solid #5CFF95; background: #D6FFE4; padding: 16px;'><p>This property holds the displayed value.</p>
  /// <p>This property corresponds to the current value displayed by the LCDNumber.</p>
  /// <p>If the displayed value is not a number, the property has a value of 0.</p>
  /// <p>By default, this property contains a value of 0.</p>
  /// <p><b>Access functions:</b></p>
  /// <div class="table"><table class="alignedsummary">
  /// <tbody><tr><td class="memItemLeft topAlign rightAlign"> double </td><td class="memItemRight bottomAlign"><span class="name"><b>value</b></span>() const</td></tr>
  /// <tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b><a href="http://doc.qt.io/qt-5/qlcdnumber.html#display">display</a></b></span>(const QString &amp;<i>s</i>)</td></tr>
  /// <tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b><a href="http://doc.qt.io/qt-5/qlcdnumber.html#display-1">display</a></b></span>(int <i>num</i>)</td></tr>
  /// <tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b><a href="http://doc.qt.io/qt-5/qlcdnumber.html#display-2">display</a></b></span>(double <i>num</i>)</td></tr>
  /// </tbody></table></div></div>
  pub fn value(&self) -> ::libc::c_double {
    unsafe { ::ffi::qt_widgets_c_QLCDNumber_value(self as *const ::l_c_d_number::LCDNumber) }
  }
}

impl ::cpp_utils::CppDeletable for ::l_c_d_number::LCDNumber {
  fn deleter() -> ::cpp_utils::Deleter<Self> {
    ::ffi::qt_widgets_c_QLCDNumber_delete
  }
}

/// Types for accessing built-in Qt signals and slots present in this module
pub mod connection {
  use ::cpp_utils::StaticCast;
  /// Provides access to built-in Qt signals of `LCDNumber`.
  pub struct Signals<'a>(&'a ::l_c_d_number::LCDNumber);
  /// Represents a built-in Qt signal `QLCDNumber::overflow`.
  ///
  /// An object of this type can be created from `LCDNumber` with `object.signals().overflow()` and used for creating Qt connections using `qt_core::connection` API. After the connection is made, the object can (should) be dropped. The connection will remain active until sender or receiver are destroyed or until a manual disconnection is made.
  ///
  /// An object of this type contains a reference to the original `LCDNumber` object.
  pub struct Overflow<'a>(&'a ::l_c_d_number::LCDNumber);
  impl<'a> ::qt_core::connection::Receiver for Overflow<'a> {
    type Arguments = ();
    fn object(&self) -> &::qt_core::object::Object {
      self.0.static_cast()
    }
    fn receiver_id() -> &'static [u8] {
      b"2overflow()\0"
    }
  }
  impl<'a> ::qt_core::connection::Signal for Overflow<'a> {}
  impl<'a> Signals<'a> {
    /// Returns an object representing a built-in Qt signal `QLCDNumber::overflow`.
    ///
    /// Return value of this function can be used for creating Qt connections using `qt_core::connection` API.
    pub fn overflow(&self) -> Overflow {
      Overflow(self.0)
    }
  }
  /// Provides access to built-in Qt slots of `LCDNumber`.
  pub struct Slots<'a>(&'a ::l_c_d_number::LCDNumber);
  /// Represents a built-in Qt slot `QLCDNumber::setDecMode`.
  ///
  /// An object of this type can be created from `LCDNumber` with `object.slots().set_dec_mode()` and used for creating Qt connections using `qt_core::connection` API. After the connection is made, the object can (should) be dropped. The connection will remain active until sender or receiver are destroyed or until a manual disconnection is made.
  ///
  /// An object of this type contains a reference to the original `LCDNumber` object.
  pub struct SetDecMode<'a>(&'a ::l_c_d_number::LCDNumber);
  impl<'a> ::qt_core::connection::Receiver for SetDecMode<'a> {
    type Arguments = ();
    fn object(&self) -> &::qt_core::object::Object {
      self.0.static_cast()
    }
    fn receiver_id() -> &'static [u8] {
      b"1setDecMode()\0"
    }
  }
  /// Represents a built-in Qt slot `QLCDNumber::setBinMode`.
  ///
  /// An object of this type can be created from `LCDNumber` with `object.slots().set_bin_mode()` and used for creating Qt connections using `qt_core::connection` API. After the connection is made, the object can (should) be dropped. The connection will remain active until sender or receiver are destroyed or until a manual disconnection is made.
  ///
  /// An object of this type contains a reference to the original `LCDNumber` object.
  pub struct SetBinMode<'a>(&'a ::l_c_d_number::LCDNumber);
  impl<'a> ::qt_core::connection::Receiver for SetBinMode<'a> {
    type Arguments = ();
    fn object(&self) -> &::qt_core::object::Object {
      self.0.static_cast()
    }
    fn receiver_id() -> &'static [u8] {
      b"1setBinMode()\0"
    }
  }
  /// Represents a built-in Qt slot `QLCDNumber::setHexMode`.
  ///
  /// An object of this type can be created from `LCDNumber` with `object.slots().set_hex_mode()` and used for creating Qt connections using `qt_core::connection` API. After the connection is made, the object can (should) be dropped. The connection will remain active until sender or receiver are destroyed or until a manual disconnection is made.
  ///
  /// An object of this type contains a reference to the original `LCDNumber` object.
  pub struct SetHexMode<'a>(&'a ::l_c_d_number::LCDNumber);
  impl<'a> ::qt_core::connection::Receiver for SetHexMode<'a> {
    type Arguments = ();
    fn object(&self) -> &::qt_core::object::Object {
      self.0.static_cast()
    }
    fn receiver_id() -> &'static [u8] {
      b"1setHexMode()\0"
    }
  }
  /// Represents a built-in Qt slot `QLCDNumber::display`.
  ///
  /// An object of this type can be created from `LCDNumber` with `object.slots().display_qt_core_string_ref()` and used for creating Qt connections using `qt_core::connection` API. After the connection is made, the object can (should) be dropped. The connection will remain active until sender or receiver are destroyed or until a manual disconnection is made.
  ///
  /// An object of this type contains a reference to the original `LCDNumber` object.
  pub struct DisplayQtCoreStringRef<'a>(&'a ::l_c_d_number::LCDNumber);
  impl<'a> ::qt_core::connection::Receiver for DisplayQtCoreStringRef<'a> {
    type Arguments = (&'static ::qt_core::string::String,);
    fn object(&self) -> &::qt_core::object::Object {
      self.0.static_cast()
    }
    fn receiver_id() -> &'static [u8] {
      b"1display(const QString&)\0"
    }
  }
  /// Represents a built-in Qt slot `QLCDNumber::display`.
  ///
  /// An object of this type can be created from `LCDNumber` with `object.slots().display_c_int()` and used for creating Qt connections using `qt_core::connection` API. After the connection is made, the object can (should) be dropped. The connection will remain active until sender or receiver are destroyed or until a manual disconnection is made.
  ///
  /// An object of this type contains a reference to the original `LCDNumber` object.
  pub struct DisplayCInt<'a>(&'a ::l_c_d_number::LCDNumber);
  impl<'a> ::qt_core::connection::Receiver for DisplayCInt<'a> {
    type Arguments = (::libc::c_int,);
    fn object(&self) -> &::qt_core::object::Object {
      self.0.static_cast()
    }
    fn receiver_id() -> &'static [u8] {
      b"1display(int)\0"
    }
  }
  /// Represents a built-in Qt slot `QLCDNumber::display`.
  ///
  /// An object of this type can be created from `LCDNumber` with `object.slots().display_c_double()` and used for creating Qt connections using `qt_core::connection` API. After the connection is made, the object can (should) be dropped. The connection will remain active until sender or receiver are destroyed or until a manual disconnection is made.
  ///
  /// An object of this type contains a reference to the original `LCDNumber` object.
  pub struct DisplayCDouble<'a>(&'a ::l_c_d_number::LCDNumber);
  impl<'a> ::qt_core::connection::Receiver for DisplayCDouble<'a> {
    type Arguments = (::libc::c_double,);
    fn object(&self) -> &::qt_core::object::Object {
      self.0.static_cast()
    }
    fn receiver_id() -> &'static [u8] {
      b"1display(double)\0"
    }
  }
  /// Represents a built-in Qt slot `QLCDNumber::setSmallDecimalPoint`.
  ///
  /// An object of this type can be created from `LCDNumber` with `object.slots().set_small_decimal_point()` and used for creating Qt connections using `qt_core::connection` API. After the connection is made, the object can (should) be dropped. The connection will remain active until sender or receiver are destroyed or until a manual disconnection is made.
  ///
  /// An object of this type contains a reference to the original `LCDNumber` object.
  pub struct SetSmallDecimalPoint<'a>(&'a ::l_c_d_number::LCDNumber);
  impl<'a> ::qt_core::connection::Receiver for SetSmallDecimalPoint<'a> {
    type Arguments = (bool,);
    fn object(&self) -> &::qt_core::object::Object {
      self.0.static_cast()
    }
    fn receiver_id() -> &'static [u8] {
      b"1setSmallDecimalPoint(bool)\0"
    }
  }
  /// Represents a built-in Qt slot `QLCDNumber::setOctMode`.
  ///
  /// An object of this type can be created from `LCDNumber` with `object.slots().set_oct_mode()` and used for creating Qt connections using `qt_core::connection` API. After the connection is made, the object can (should) be dropped. The connection will remain active until sender or receiver are destroyed or until a manual disconnection is made.
  ///
  /// An object of this type contains a reference to the original `LCDNumber` object.
  pub struct SetOctMode<'a>(&'a ::l_c_d_number::LCDNumber);
  impl<'a> ::qt_core::connection::Receiver for SetOctMode<'a> {
    type Arguments = ();
    fn object(&self) -> &::qt_core::object::Object {
      self.0.static_cast()
    }
    fn receiver_id() -> &'static [u8] {
      b"1setOctMode()\0"
    }
  }
  impl<'a> Slots<'a> {
    /// Returns an object representing a built-in Qt slot `QLCDNumber::setDecMode`.
    ///
    /// Return value of this function can be used for creating Qt connections using `qt_core::connection` API.
    pub fn set_dec_mode(&self) -> SetDecMode {
      SetDecMode(self.0)
    }
    /// Returns an object representing a built-in Qt slot `QLCDNumber::setBinMode`.
    ///
    /// Return value of this function can be used for creating Qt connections using `qt_core::connection` API.
    pub fn set_bin_mode(&self) -> SetBinMode {
      SetBinMode(self.0)
    }
    /// Returns an object representing a built-in Qt slot `QLCDNumber::setHexMode`.
    ///
    /// Return value of this function can be used for creating Qt connections using `qt_core::connection` API.
    pub fn set_hex_mode(&self) -> SetHexMode {
      SetHexMode(self.0)
    }
    /// Returns an object representing a built-in Qt slot `QLCDNumber::display`.
    ///
    /// Return value of this function can be used for creating Qt connections using `qt_core::connection` API.
    pub fn display_qt_core_string_ref(&self) -> DisplayQtCoreStringRef {
      DisplayQtCoreStringRef(self.0)
    }
    /// Returns an object representing a built-in Qt slot `QLCDNumber::display`.
    ///
    /// Return value of this function can be used for creating Qt connections using `qt_core::connection` API.
    pub fn display_c_int(&self) -> DisplayCInt {
      DisplayCInt(self.0)
    }
    /// Returns an object representing a built-in Qt slot `QLCDNumber::display`.
    ///
    /// Return value of this function can be used for creating Qt connections using `qt_core::connection` API.
    pub fn display_c_double(&self) -> DisplayCDouble {
      DisplayCDouble(self.0)
    }
    /// Returns an object representing a built-in Qt slot `QLCDNumber::setSmallDecimalPoint`.
    ///
    /// Return value of this function can be used for creating Qt connections using `qt_core::connection` API.
    pub fn set_small_decimal_point(&self) -> SetSmallDecimalPoint {
      SetSmallDecimalPoint(self.0)
    }
    /// Returns an object representing a built-in Qt slot `QLCDNumber::setOctMode`.
    ///
    /// Return value of this function can be used for creating Qt connections using `qt_core::connection` API.
    pub fn set_oct_mode(&self) -> SetOctMode {
      SetOctMode(self.0)
    }
  }
  impl ::l_c_d_number::LCDNumber {
    /// Provides access to built-in Qt signals of this type
    pub fn signals(&self) -> Signals {
      Signals(self)
    }
    /// Provides access to built-in Qt slots of this type
    pub fn slots(&self) -> Slots {
      Slots(self)
    }
  }

}

/// C++ type: <span style='color: green;'>```QLCDNumber::Mode```</span>
///
/// <a href="http://doc.qt.io/qt-5/qlcdnumber.html#Mode-enum">C++ documentation:</a> <div style='border: 1px solid #5CFF95; background: #D6FFE4; padding: 16px;'><p>This type determines how numbers are shown.</p>
///
/// <p>If the display is set to hexadecimal, octal or binary, the integer equivalent of the value is displayed.</p></div>
#[derive(Debug, PartialEq, Eq, Clone)]
#[repr(C)]
pub enum Mode {
  /// Hexadecimal (C++ enum variant: <span style='color: green;'>```Hex = 0```</span>)
  Hex = 0,
  /// Decimal (C++ enum variant: <span style='color: green;'>```Dec = 1```</span>)
  Dec = 1,
  /// Octal (C++ enum variant: <span style='color: green;'>```Oct = 2```</span>)
  Oct = 2,
  /// Binary (C++ enum variant: <span style='color: green;'>```Bin = 3```</span>)
  Bin = 3,
}

/// C++ type: <span style='color: green;'>```QLCDNumber::SegmentStyle```</span>
///
/// <a href="http://doc.qt.io/qt-5/qlcdnumber.html#SegmentStyle-enum">C++ documentation:</a> <div style='border: 1px solid #5CFF95; background: #D6FFE4; padding: 16px;'><p>This type determines the visual appearance of the <a href="http://doc.qt.io/qt-5/qlcdnumber.html">QLCDNumber</a> widget.</p></div>
#[derive(Debug, PartialEq, Eq, Clone)]
#[repr(C)]
pub enum SegmentStyle {
  /// gives raised segments filled with the background color. (C++ enum variant: <span style='color: green;'>```Outline = 0```</span>)
  Outline = 0,
  /// gives raised segments filled with the windowText color. (C++ enum variant: <span style='color: green;'>```Filled = 1```</span>)
  Filled = 1,
  /// gives flat segments filled with the windowText color. (C++ enum variant: <span style='color: green;'>```Flat = 2```</span>)
  Flat = 2,
}

impl ::cpp_utils::DynamicCast<::l_c_d_number::LCDNumber> for ::frame::Frame {
  fn dynamic_cast_mut(&mut self) -> ::std::option::Option<&mut ::l_c_d_number::LCDNumber> {
    let ffi_result =
      unsafe { ::ffi::qt_widgets_c_QLCDNumber_G_dynamic_cast_QLCDNumber_ptr_QFrame(self as *mut ::frame::Frame) };
    unsafe { ffi_result.as_mut() }
  }

  fn dynamic_cast(&self) -> ::std::option::Option<&::l_c_d_number::LCDNumber> {
    let ffi_result = unsafe { ::ffi::qt_widgets_c_QLCDNumber_G_dynamic_cast_QLCDNumber_ptr_QFrame(self as *const ::frame::Frame as *mut ::frame::Frame) };
    unsafe { ffi_result.as_ref() }
  }
}

impl ::cpp_utils::DynamicCast<::l_c_d_number::LCDNumber> for ::widget::Widget {
  fn dynamic_cast_mut(&mut self) -> ::std::option::Option<&mut ::l_c_d_number::LCDNumber> {
    let ffi_result =
      unsafe { ::ffi::qt_widgets_c_QLCDNumber_G_dynamic_cast_QLCDNumber_ptr_QWidget(self as *mut ::widget::Widget) };
    unsafe { ffi_result.as_mut() }
  }

  fn dynamic_cast(&self) -> ::std::option::Option<&::l_c_d_number::LCDNumber> {
    let ffi_result = unsafe { ::ffi::qt_widgets_c_QLCDNumber_G_dynamic_cast_QLCDNumber_ptr_QWidget(self as *const ::widget::Widget as *mut ::widget::Widget) };
    unsafe { ffi_result.as_ref() }
  }
}

impl ::cpp_utils::StaticCast<::qt_core::object::Object> for ::l_c_d_number::LCDNumber {
  fn static_cast_mut(&mut self) -> &mut ::qt_core::object::Object {
    let ffi_result =
      unsafe { ::ffi::qt_widgets_c_QLCDNumber_G_static_cast_QObject_ptr(self as *mut ::l_c_d_number::LCDNumber) };
    unsafe { ffi_result.as_mut() }.expect("Attempted to convert null pointer to reference")
  }

  fn static_cast(&self) -> &::qt_core::object::Object {
    let ffi_result = unsafe { ::ffi::qt_widgets_c_QLCDNumber_G_static_cast_QObject_ptr(self as *const ::l_c_d_number::LCDNumber as *mut ::l_c_d_number::LCDNumber) };
    unsafe { ffi_result.as_ref() }.expect("Attempted to convert null pointer to reference")
  }
}

impl ::cpp_utils::StaticCast<::qt_gui::paint_device::PaintDevice> for ::l_c_d_number::LCDNumber {
  fn static_cast_mut(&mut self) -> &mut ::qt_gui::paint_device::PaintDevice {
    let ffi_result =
      unsafe { ::ffi::qt_widgets_c_QLCDNumber_G_static_cast_QPaintDevice_ptr(self as *mut ::l_c_d_number::LCDNumber) };
    unsafe { ffi_result.as_mut() }.expect("Attempted to convert null pointer to reference")
  }

  fn static_cast(&self) -> &::qt_gui::paint_device::PaintDevice {
    let ffi_result = unsafe { ::ffi::qt_widgets_c_QLCDNumber_G_static_cast_QPaintDevice_ptr(self as *const ::l_c_d_number::LCDNumber as *mut ::l_c_d_number::LCDNumber) };
    unsafe { ffi_result.as_ref() }.expect("Attempted to convert null pointer to reference")
  }
}

impl ::cpp_utils::StaticCast<::frame::Frame> for ::l_c_d_number::LCDNumber {
  fn static_cast_mut(&mut self) -> &mut ::frame::Frame {
    let ffi_result =
      unsafe { ::ffi::qt_widgets_c_QLCDNumber_G_static_cast_QFrame_ptr(self as *mut ::l_c_d_number::LCDNumber) };
    unsafe { ffi_result.as_mut() }.expect("Attempted to convert null pointer to reference")
  }

  fn static_cast(&self) -> &::frame::Frame {
    let ffi_result = unsafe { ::ffi::qt_widgets_c_QLCDNumber_G_static_cast_QFrame_ptr(self as *const ::l_c_d_number::LCDNumber as *mut ::l_c_d_number::LCDNumber) };
    unsafe { ffi_result.as_ref() }.expect("Attempted to convert null pointer to reference")
  }
}

impl ::cpp_utils::StaticCast<::widget::Widget> for ::l_c_d_number::LCDNumber {
  fn static_cast_mut(&mut self) -> &mut ::widget::Widget {
    let ffi_result =
      unsafe { ::ffi::qt_widgets_c_QLCDNumber_G_static_cast_QWidget_ptr(self as *mut ::l_c_d_number::LCDNumber) };
    unsafe { ffi_result.as_mut() }.expect("Attempted to convert null pointer to reference")
  }

  fn static_cast(&self) -> &::widget::Widget {
    let ffi_result = unsafe { ::ffi::qt_widgets_c_QLCDNumber_G_static_cast_QWidget_ptr(self as *const ::l_c_d_number::LCDNumber as *mut ::l_c_d_number::LCDNumber) };
    unsafe { ffi_result.as_ref() }.expect("Attempted to convert null pointer to reference")
  }
}

impl ::cpp_utils::UnsafeStaticCast<::l_c_d_number::LCDNumber> for ::frame::Frame {
  unsafe fn static_cast_mut(&mut self) -> &mut ::l_c_d_number::LCDNumber {
    let ffi_result = ::ffi::qt_widgets_c_QLCDNumber_G_static_cast_QLCDNumber_ptr_QFrame(self as *mut ::frame::Frame);
    ffi_result.as_mut().expect("Attempted to convert null pointer to reference")
  }

  unsafe fn static_cast(&self) -> &::l_c_d_number::LCDNumber {
    let ffi_result = ::ffi::qt_widgets_c_QLCDNumber_G_static_cast_QLCDNumber_ptr_QFrame(self as *const ::frame::Frame as *mut ::frame::Frame);
    ffi_result.as_ref().expect("Attempted to convert null pointer to reference")
  }
}

impl ::cpp_utils::UnsafeStaticCast<::l_c_d_number::LCDNumber> for ::qt_core::object::Object {
  unsafe fn static_cast_mut(&mut self) -> &mut ::l_c_d_number::LCDNumber {
    let ffi_result =
      ::ffi::qt_widgets_c_QLCDNumber_G_static_cast_QLCDNumber_ptr_QObject(self as *mut ::qt_core::object::Object);
    ffi_result.as_mut().expect("Attempted to convert null pointer to reference")
  }

  unsafe fn static_cast(&self) -> &::l_c_d_number::LCDNumber {
    let ffi_result = ::ffi::qt_widgets_c_QLCDNumber_G_static_cast_QLCDNumber_ptr_QObject(self as *const ::qt_core::object::Object as *mut ::qt_core::object::Object);
    ffi_result.as_ref().expect("Attempted to convert null pointer to reference")
  }
}

impl ::cpp_utils::UnsafeStaticCast<::l_c_d_number::LCDNumber> for ::qt_gui::paint_device::PaintDevice {
  unsafe fn static_cast_mut(&mut self) -> &mut ::l_c_d_number::LCDNumber {
    let ffi_result = ::ffi::qt_widgets_c_QLCDNumber_G_static_cast_QLCDNumber_ptr_QPaintDevice(self as *mut ::qt_gui::paint_device::PaintDevice);
    ffi_result.as_mut().expect("Attempted to convert null pointer to reference")
  }

  unsafe fn static_cast(&self) -> &::l_c_d_number::LCDNumber {
    let ffi_result = ::ffi::qt_widgets_c_QLCDNumber_G_static_cast_QLCDNumber_ptr_QPaintDevice(self as *const ::qt_gui::paint_device::PaintDevice as *mut ::qt_gui::paint_device::PaintDevice);
    ffi_result.as_ref().expect("Attempted to convert null pointer to reference")
  }
}

impl ::cpp_utils::UnsafeStaticCast<::l_c_d_number::LCDNumber> for ::widget::Widget {
  unsafe fn static_cast_mut(&mut self) -> &mut ::l_c_d_number::LCDNumber {
    let ffi_result =
      ::ffi::qt_widgets_c_QLCDNumber_G_static_cast_QLCDNumber_ptr_QWidget(self as *mut ::widget::Widget);
    ffi_result.as_mut().expect("Attempted to convert null pointer to reference")
  }

  unsafe fn static_cast(&self) -> &::l_c_d_number::LCDNumber {
    let ffi_result = ::ffi::qt_widgets_c_QLCDNumber_G_static_cast_QLCDNumber_ptr_QWidget(self as *const ::widget::Widget as *mut ::widget::Widget);
    ffi_result.as_ref().expect("Attempted to convert null pointer to reference")
  }
}

impl ::std::ops::Deref for ::l_c_d_number::LCDNumber {
  type Target = ::frame::Frame;
  fn deref(&self) -> &::frame::Frame {
    let ffi_result = unsafe { ::ffi::qt_widgets_c_QLCDNumber_G_static_cast_QFrame_ptr(self as *const ::l_c_d_number::LCDNumber as *mut ::l_c_d_number::LCDNumber) };
    unsafe { ffi_result.as_ref() }.expect("Attempted to convert null pointer to reference")
  }
}

impl ::std::ops::DerefMut for ::l_c_d_number::LCDNumber {
  fn deref_mut(&mut self) -> &mut ::frame::Frame {
    let ffi_result =
      unsafe { ::ffi::qt_widgets_c_QLCDNumber_G_static_cast_QFrame_ptr(self as *mut ::l_c_d_number::LCDNumber) };
    unsafe { ffi_result.as_mut() }.expect("Attempted to convert null pointer to reference")
  }
}

/// Types for emulating overloading for overloaded functions in this module
pub mod overloading {
  /// This trait represents a set of arguments accepted by [LCDNumber::check_overflow](../struct.LCDNumber.html#method.check_overflow) method.
  pub trait LCDNumberCheckOverflowArgs<'largs> {
    fn exec(self, original_self: &'largs ::l_c_d_number::LCDNumber) -> bool;
  }
  impl<'largs> LCDNumberCheckOverflowArgs<'largs> for ::libc::c_double {
    fn exec(self, original_self: &'largs ::l_c_d_number::LCDNumber) -> bool {
      let num = self;
      unsafe {
        ::ffi::qt_widgets_c_QLCDNumber_checkOverflow_double(original_self as *const ::l_c_d_number::LCDNumber, num)
      }
    }
  }
  impl<'largs> LCDNumberCheckOverflowArgs<'largs> for ::libc::c_int {
    fn exec(self, original_self: &'largs ::l_c_d_number::LCDNumber) -> bool {
      let num = self;
      unsafe {
        ::ffi::qt_widgets_c_QLCDNumber_checkOverflow_int(original_self as *const ::l_c_d_number::LCDNumber, num)
      }
    }
  }
  /// This trait represents a set of arguments accepted by [LCDNumber::display](../struct.LCDNumber.html#method.display) method.
  pub trait LCDNumberDisplayArgs<'largs> {
    fn exec(self, original_self: &'largs mut ::l_c_d_number::LCDNumber) -> ();
  }
  impl<'largs> LCDNumberDisplayArgs<'largs> for &'largs ::qt_core::string::String {
    fn exec(self, original_self: &'largs mut ::l_c_d_number::LCDNumber) -> () {
      let str = self;
      unsafe {
        ::ffi::qt_widgets_c_QLCDNumber_display_QString(original_self as *mut ::l_c_d_number::LCDNumber,
                                                       str as *const ::qt_core::string::String)
      }
    }
  }
  impl<'largs> LCDNumberDisplayArgs<'largs> for ::libc::c_double {
    fn exec(self, original_self: &'largs mut ::l_c_d_number::LCDNumber) -> () {
      let num = self;
      unsafe { ::ffi::qt_widgets_c_QLCDNumber_display_double(original_self as *mut ::l_c_d_number::LCDNumber, num) }
    }
  }
  impl<'largs> LCDNumberDisplayArgs<'largs> for ::libc::c_int {
    fn exec(self, original_self: &'largs mut ::l_c_d_number::LCDNumber) -> () {
      let num = self;
      unsafe { ::ffi::qt_widgets_c_QLCDNumber_display_int(original_self as *mut ::l_c_d_number::LCDNumber, num) }
    }
  }
  /// This trait represents a set of arguments accepted by [LCDNumber::new](../struct.LCDNumber.html#method.new) method.
  pub trait LCDNumberNewArgs {
    fn exec(self) -> ::cpp_utils::CppBox<::l_c_d_number::LCDNumber>;
  }
  impl LCDNumberNewArgs for () {
    fn exec(self) -> ::cpp_utils::CppBox<::l_c_d_number::LCDNumber> {

      let ffi_result = unsafe { ::ffi::qt_widgets_c_QLCDNumber_new_no_args() };
      unsafe { ::cpp_utils::CppBox::new(ffi_result) }
    }
  }
  impl LCDNumberNewArgs for ::libc::c_uint {
    fn exec(self) -> ::cpp_utils::CppBox<::l_c_d_number::LCDNumber> {
      let num_digits = self;
      let ffi_result = unsafe { ::ffi::qt_widgets_c_QLCDNumber_new_numDigits(num_digits) };
      unsafe { ::cpp_utils::CppBox::new(ffi_result) }
    }
  }
  /// This trait represents a set of arguments accepted by [LCDNumber::new_unsafe](../struct.LCDNumber.html#method.new_unsafe) method.
  pub trait LCDNumberNewUnsafeArgs {
    unsafe fn exec(self) -> ::cpp_utils::CppBox<::l_c_d_number::LCDNumber>;
  }
  impl LCDNumberNewUnsafeArgs for (::libc::c_uint, *mut ::widget::Widget) {
    unsafe fn exec(self) -> ::cpp_utils::CppBox<::l_c_d_number::LCDNumber> {
      let num_digits = self.0;
      let parent = self.1;
      let ffi_result = ::ffi::qt_widgets_c_QLCDNumber_new_numDigits_parent(num_digits, parent);
      ::cpp_utils::CppBox::new(ffi_result)
    }
  }
  impl LCDNumberNewUnsafeArgs for *mut ::widget::Widget {
    unsafe fn exec(self) -> ::cpp_utils::CppBox<::l_c_d_number::LCDNumber> {
      let parent = self;
      let ffi_result = ::ffi::qt_widgets_c_QLCDNumber_new_parent(parent);
      ::cpp_utils::CppBox::new(ffi_result)
    }
  }
}