MqttMonitor/MqttConnectionProfilesDialog.ui

branch
connection_profiles
changeset 26
ad232a5129cc
parent 23
0b23bd856e43
child 31
40582e448c4b
equal deleted inserted replaced
25:01d44a4decf5 26:ad232a5129cc
51 <string>Press to add a new profile</string> 51 <string>Press to add a new profile</string>
52 </property> 52 </property>
53 </widget> 53 </widget>
54 </item> 54 </item>
55 <item> 55 <item>
56 <widget class="QToolButton" name="copyButton">
57 <property name="toolTip">
58 <string>Press to copy the selected profile</string>
59 </property>
60 </widget>
61 </item>
62 <item>
56 <widget class="QToolButton" name="minusButton"> 63 <widget class="QToolButton" name="minusButton">
57 <property name="toolTip"> 64 <property name="toolTip">
58 <string>Press to delete the selected profile</string> 65 <string>Press to delete the selected profile</string>
59 </property> 66 </property>
60 </widget> 67 </widget>
92 <string>Profile Name:</string> 99 <string>Profile Name:</string>
93 </property> 100 </property>
94 </widget> 101 </widget>
95 </item> 102 </item>
96 <item row="0" column="1"> 103 <item row="0" column="1">
97 <widget class="E5ClearableLineEdit" name="profileEdit"> 104 <widget class="QLineEdit" name="profileEdit">
98 <property name="toolTip"> 105 <property name="readOnly">
99 <string>Enter the name of the profile</string> 106 <bool>true</bool>
100 </property> 107 </property>
101 </widget> 108 </widget>
102 </item> 109 </item>
103 <item row="1" column="0" colspan="2"> 110 <item row="1" column="0" colspan="2">
104 <widget class="Line" name="line"> 111 <widget class="Line" name="line">
378 </property> 385 </property>
379 </widget> 386 </widget>
380 </item> 387 </item>
381 </layout> 388 </layout>
382 </widget> 389 </widget>
390 <widget class="QWidget" name="tlsTab">
391 <attribute name="title">
392 <string>SSL/TLS</string>
393 </attribute>
394 <layout class="QVBoxLayout" name="verticalLayout_5">
395 <item>
396 <widget class="QGroupBox" name="tlsGroupBox">
397 <property name="toolTip">
398 <string>Select to enable SSL/TLS connections</string>
399 </property>
400 <property name="title">
401 <string>SSL/TLS Enabled</string>
402 </property>
403 <property name="checkable">
404 <bool>true</bool>
405 </property>
406 <property name="checked">
407 <bool>false</bool>
408 </property>
409 <layout class="QVBoxLayout" name="verticalLayout_4">
410 <item>
411 <widget class="QRadioButton" name="tlsDefaultCertsButton">
412 <property name="toolTip">
413 <string>Select to use the default certificate file of the client</string>
414 </property>
415 <property name="text">
416 <string>CA signed server certificate</string>
417 </property>
418 <property name="checked">
419 <bool>true</bool>
420 </property>
421 </widget>
422 </item>
423 <item>
424 <widget class="QRadioButton" name="tlsCertsFileButton">
425 <property name="toolTip">
426 <string>Select to use a specific certificate file</string>
427 </property>
428 <property name="text">
429 <string>CA certificate file</string>
430 </property>
431 </widget>
432 </item>
433 <item>
434 <widget class="QWidget" name="tlsCertsFileWidget" native="true">
435 <property name="enabled">
436 <bool>false</bool>
437 </property>
438 <layout class="QHBoxLayout" name="horizontalLayout_6">
439 <property name="leftMargin">
440 <number>0</number>
441 </property>
442 <property name="topMargin">
443 <number>0</number>
444 </property>
445 <property name="rightMargin">
446 <number>0</number>
447 </property>
448 <property name="bottomMargin">
449 <number>0</number>
450 </property>
451 <item>
452 <spacer name="horizontalSpacer_4">
453 <property name="orientation">
454 <enum>Qt::Horizontal</enum>
455 </property>
456 <property name="sizeType">
457 <enum>QSizePolicy::Fixed</enum>
458 </property>
459 <property name="sizeHint" stdset="0">
460 <size>
461 <width>25</width>
462 <height>20</height>
463 </size>
464 </property>
465 </spacer>
466 </item>
467 <item>
468 <widget class="QLabel" name="label_8">
469 <property name="text">
470 <string>CA File:</string>
471 </property>
472 </widget>
473 </item>
474 <item>
475 <widget class="E5PathPicker" name="tlsCertsFilePicker" native="true">
476 <property name="sizePolicy">
477 <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
478 <horstretch>0</horstretch>
479 <verstretch>0</verstretch>
480 </sizepolicy>
481 </property>
482 <property name="focusPolicy">
483 <enum>Qt::StrongFocus</enum>
484 </property>
485 <property name="toolTip">
486 <string>Enter the full path to the CA certificate file</string>
487 </property>
488 </widget>
489 </item>
490 </layout>
491 </widget>
492 </item>
493 <item>
494 <widget class="QRadioButton" name="tlsSelfSignedCertsButton">
495 <property name="toolTip">
496 <string>Select to use a self signed client certificate</string>
497 </property>
498 <property name="text">
499 <string>Self signed certificates</string>
500 </property>
501 </widget>
502 </item>
503 <item>
504 <widget class="QWidget" name="tlsSelfSignedFilesWidget" native="true">
505 <property name="enabled">
506 <bool>false</bool>
507 </property>
508 <layout class="QGridLayout" name="gridLayout_5">
509 <property name="leftMargin">
510 <number>0</number>
511 </property>
512 <property name="topMargin">
513 <number>0</number>
514 </property>
515 <property name="rightMargin">
516 <number>0</number>
517 </property>
518 <property name="bottomMargin">
519 <number>0</number>
520 </property>
521 <item row="0" column="0">
522 <spacer name="horizontalSpacer_5">
523 <property name="orientation">
524 <enum>Qt::Horizontal</enum>
525 </property>
526 <property name="sizeType">
527 <enum>QSizePolicy::Fixed</enum>
528 </property>
529 <property name="sizeHint" stdset="0">
530 <size>
531 <width>25</width>
532 <height>20</height>
533 </size>
534 </property>
535 </spacer>
536 </item>
537 <item row="0" column="1">
538 <widget class="QLabel" name="label_9">
539 <property name="text">
540 <string>CA File:</string>
541 </property>
542 </widget>
543 </item>
544 <item row="0" column="2">
545 <widget class="E5PathPicker" name="tlsSelfSignedCertsFilePicker" native="true">
546 <property name="sizePolicy">
547 <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
548 <horstretch>0</horstretch>
549 <verstretch>0</verstretch>
550 </sizepolicy>
551 </property>
552 <property name="focusPolicy">
553 <enum>Qt::StrongFocus</enum>
554 </property>
555 <property name="toolTip">
556 <string>Enter the full path to the CA certificate file</string>
557 </property>
558 </widget>
559 </item>
560 <item row="1" column="1">
561 <widget class="QLabel" name="label_10">
562 <property name="text">
563 <string>Client Certificate File:</string>
564 </property>
565 </widget>
566 </item>
567 <item row="1" column="2">
568 <widget class="E5PathPicker" name="tlsSelfSignedClientCertFilePicker" native="true">
569 <property name="sizePolicy">
570 <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
571 <horstretch>0</horstretch>
572 <verstretch>0</verstretch>
573 </sizepolicy>
574 </property>
575 <property name="focusPolicy">
576 <enum>Qt::StrongFocus</enum>
577 </property>
578 <property name="toolTip">
579 <string>Enter the full path to the client certificate file</string>
580 </property>
581 </widget>
582 </item>
583 <item row="2" column="1">
584 <widget class="QLabel" name="label_11">
585 <property name="text">
586 <string>Client Key File:</string>
587 </property>
588 </widget>
589 </item>
590 <item row="2" column="2">
591 <widget class="E5PathPicker" name="tlsSelfSignedClientKeyFilePicker" native="true">
592 <property name="sizePolicy">
593 <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
594 <horstretch>0</horstretch>
595 <verstretch>0</verstretch>
596 </sizepolicy>
597 </property>
598 <property name="focusPolicy">
599 <enum>Qt::StrongFocus</enum>
600 </property>
601 <property name="toolTip">
602 <string>Enter the full path to the client key file</string>
603 </property>
604 </widget>
605 </item>
606 </layout>
607 </widget>
608 </item>
609 </layout>
610 </widget>
611 </item>
612 <item>
613 <spacer name="verticalSpacer_3">
614 <property name="orientation">
615 <enum>Qt::Vertical</enum>
616 </property>
617 <property name="sizeHint" stdset="0">
618 <size>
619 <width>20</width>
620 <height>128</height>
621 </size>
622 </property>
623 </spacer>
624 </item>
625 </layout>
626 </widget>
383 </widget> 627 </widget>
384 </item> 628 </item>
385 <item> 629 <item>
386 <widget class="QDialogButtonBox" name="profileButtonBox"> 630 <widget class="QDialogButtonBox" name="profileButtonBox">
387 <property name="standardButtons"> 631 <property name="standardButtons">
409 <customwidget> 653 <customwidget>
410 <class>E5ClearableLineEdit</class> 654 <class>E5ClearableLineEdit</class>
411 <extends>QLineEdit</extends> 655 <extends>QLineEdit</extends>
412 <header>E5Gui/E5LineEdit.h</header> 656 <header>E5Gui/E5LineEdit.h</header>
413 </customwidget> 657 </customwidget>
658 <customwidget>
659 <class>E5PathPicker</class>
660 <extends>QWidget</extends>
661 <header>E5Gui/E5PathPicker.h</header>
662 <container>1</container>
663 </customwidget>
414 </customwidgets> 664 </customwidgets>
415 <tabstops> 665 <tabstops>
416 <tabstop>profilesList</tabstop> 666 <tabstop>profilesList</tabstop>
417 <tabstop>plusButton</tabstop> 667 <tabstop>plusButton</tabstop>
668 <tabstop>copyButton</tabstop>
418 <tabstop>minusButton</tabstop> 669 <tabstop>minusButton</tabstop>
419 <tabstop>profileEdit</tabstop> 670 <tabstop>profileEdit</tabstop>
420 <tabstop>brokerAddressEdit</tabstop> 671 <tabstop>brokerAddressEdit</tabstop>
421 <tabstop>brokerPortSpinBox</tabstop> 672 <tabstop>brokerPortSpinBox</tabstop>
422 <tabstop>clientIdEdit</tabstop> 673 <tabstop>clientIdEdit</tabstop>
428 <tabstop>passwordEdit</tabstop> 679 <tabstop>passwordEdit</tabstop>
429 <tabstop>willTopicEdit</tabstop> 680 <tabstop>willTopicEdit</tabstop>
430 <tabstop>willMessageEdit</tabstop> 681 <tabstop>willMessageEdit</tabstop>
431 <tabstop>willQosSpinBox</tabstop> 682 <tabstop>willQosSpinBox</tabstop>
432 <tabstop>willRetainCheckBox</tabstop> 683 <tabstop>willRetainCheckBox</tabstop>
684 <tabstop>tlsGroupBox</tabstop>
685 <tabstop>tlsDefaultCertsButton</tabstop>
686 <tabstop>tlsCertsFileButton</tabstop>
687 <tabstop>tlsCertsFilePicker</tabstop>
688 <tabstop>tlsSelfSignedCertsButton</tabstop>
689 <tabstop>tlsSelfSignedCertsFilePicker</tabstop>
690 <tabstop>tlsSelfSignedClientCertFilePicker</tabstop>
691 <tabstop>tlsSelfSignedClientKeyFilePicker</tabstop>
433 </tabstops> 692 </tabstops>
434 <resources/> 693 <resources/>
435 <connections> 694 <connections>
436 <connection> 695 <connection>
437 <sender>buttonBox</sender> 696 <sender>buttonBox</sender>
463 <x>286</x> 722 <x>286</x>
464 <y>274</y> 723 <y>274</y>
465 </hint> 724 </hint>
466 </hints> 725 </hints>
467 </connection> 726 </connection>
727 <connection>
728 <sender>tlsCertsFileButton</sender>
729 <signal>toggled(bool)</signal>
730 <receiver>tlsCertsFileWidget</receiver>
731 <slot>setEnabled(bool)</slot>
732 <hints>
733 <hint type="sourcelabel">
734 <x>367</x>
735 <y>238</y>
736 </hint>
737 <hint type="destinationlabel">
738 <x>357</x>
739 <y>252</y>
740 </hint>
741 </hints>
742 </connection>
743 <connection>
744 <sender>tlsSelfSignedCertsButton</sender>
745 <signal>toggled(bool)</signal>
746 <receiver>tlsSelfSignedFilesWidget</receiver>
747 <slot>setEnabled(bool)</slot>
748 <hints>
749 <hint type="sourcelabel">
750 <x>387</x>
751 <y>287</y>
752 </hint>
753 <hint type="destinationlabel">
754 <x>466</x>
755 <y>305</y>
756 </hint>
757 </hints>
758 </connection>
468 </connections> 759 </connections>
469 </ui> 760 </ui>

eric ide

mercurial