IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

  1. #1
    Nouveau membre du Club
    Homme Profil pro
    Administrateur systèmes et réseaux
    Inscrit en
    Mai 2009
    Messages
    69
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France

    Informations professionnelles :
    Activité : Administrateur systèmes et réseaux

    Informations forums :
    Inscription : Mai 2009
    Messages : 69
    Points : 39
    Points
    39
    Par défaut
    Bonjour à toutes et tous,

    Voilà je suis Débutant en C++/Qt, je suis sur Mac 10.6 avec xcode et Qt 4.6.

    Après avoir suivi les tutos ici sur Qt, je me lance dans ma première application (plus un utilitaire), c'est un utilitaire de gestion de Kext (pilotes Mac).

    Ma question concerne l'organisation à avoir avec les interface que l'on créer avec Qt Designer, du moisn je voudrais savoir qu'elle est la méthode la plus habituelle.

    Je me demande s'il est préférable de faire:

    1) directement sa MainWindows complète sous Qt Designer puis ensuite coder ses modules séparément à côté.

    2) Ou est il préférable de faire un Widget séparément avec QtDesigner pour chaque module et ensuite intégrer chaque module(code et UI) à la MainWindows qui par exemple de base n'a que les Menu et StatusBar.

    Pourquoi cette question ?
    Car dans les tutoriels très bien d'ailleurs, on travail à la main, du coup je reconnait que cette parti de l'organisation avant conception reste très flou.

    Et j'ai récupérer des code source d'appli proche de la taille de mon appli et j'ai vu les deux méthodes.

    Comme je débute et fait sa sur mon temps libre donc apprend grace au Web, je souhaite prendre de bonne habitude qui permette un travail plus aisé.

    Deuxièmement c'est que pour mon projet j'ai fait un premier test d'interface, donc tous d'un coup dans une MainWindow.

    Mais du coup sa me parait faire un sacré bloque pour le fichier En tête.
    Et j'ai peur que cela rende plus difficile le travail du code des différente parti de l'interface plus difficile et aussi plus délicat pour les futur ajout et autres maintenance.

    Le voici :
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    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
     
    #ifndef UI_UIMAINWINDOW_H
    #define UI_UIMAINWINDOW_H
     
    #include <QtCore/QVariant>
    #include <QtGui/QAction>
    #include <QtGui/QApplication>
    #include <QtGui/QButtonGroup>
    #include <QtGui/QFormLayout>
    #include <QtGui/QFrame>
    #include <QtGui/QGridLayout>
    #include <QtGui/QGroupBox>
    #include <QtGui/QHBoxLayout>
    #include <QtGui/QHeaderView>
    #include <QtGui/QLabel>
    #include <QtGui/QLineEdit>
    #include <QtGui/QListView>
    #include <QtGui/QMainWindow>
    #include <QtGui/QMenu>
    #include <QtGui/QMenuBar>
    #include <QtGui/QPushButton>
    #include <QtGui/QSpacerItem>
    #include <QtGui/QStatusBar>
    #include <QtGui/QTabWidget>
    #include <QtGui/QToolButton>
    #include <QtGui/QVBoxLayout>
    #include <QtGui/QWidget>
     
    QT_BEGIN_NAMESPACE
     
    class Ui_UIMainWindowClass
    {
    public:
        QAction *actionAnnuler;
        QAction *actionAjouter;
        QAction *actionSupprimer;
        QAction *actionCharger;
        QAction *actionDecharger;
        QAction *actionCouper;
        QAction *actionCopier;
        QAction *actionColler;
        QAction *actionPreferences;
        QAction *actionA_propos;
        QAction *actionQuitter_Kext_Center;
        QAction *actionAide_de_Kext_Center;
        QWidget *m_mwCentralWidget;
        QVBoxLayout *verticalLayout;
        QTabWidget *m_tabsKextsDir;
        QWidget *m_chTab;
        QVBoxLayout *verticalLayout_10;
        QVBoxLayout *m_chVTabLayout;
        QHBoxLayout *m_chHTopDisplayLayout;
        QVBoxLayout *m_chHListsViewLayout;
        QVBoxLayout *m_chHDirViewLayout;
        QLabel *m_chListDirViewLabel;
        QListView *m_chListDirView;
        QGridLayout *m_chGSelViewLayout;
        QVBoxLayout *m_chVSelListLayout;
        QLabel *m_chSelectViewLabel;
        QListView *m_chSelectView;
        QHBoxLayout *m_chVToolBtnLayout;
        QToolButton *m_chAddToSelList;
        QToolButton *m_chDelToSelList;
        QHBoxLayout *m_chVSelBtbLayout;
        QPushButton *m_chSelectAllBtn;
        QPushButton *m_chDeSelectBtn;
        QGroupBox *m_chInfoKextBox;
        QVBoxLayout *verticalLayout_8;
        QFormLayout *m_chInfoKextForm;
        QLabel *m_chInfoNameLabel;
        QLineEdit *m_chInfoName;
        QLabel *m_chInfoVersionLabel;
        QLineEdit *m_chInfoVersion;
        QLabel *m_chInfoIdentityLabel;
        QLineEdit *m_chInfoIdentity;
        QLabel *m_chInfoStateLabel;
        QLabel *m_chState;
        QFrame *m_chHLine;
        QGroupBox *m_chEditBox;
        QVBoxLayout *verticalLayout_6;
        QVBoxLayout *m_chHEditBoxLayout;
        QHBoxLayout *m_chVPasswordLayout;
        QLabel *m_chPasswordLabel;
        QLineEdit *m_chPassword;
        QHBoxLayout *m_chHEditBtnLayout;
        QGroupBox *m_chAddBox;
        QVBoxLayout *verticalLayout_4;
        QHBoxLayout *m_chHAddBtnLayout;
        QPushButton *m_chAddBtn;
        QPushButton *m_chDelBtn;
        QGroupBox *m_chStateBox;
        QVBoxLayout *verticalLayout_3;
        QHBoxLayout *m_chHLoadBtnLayout;
        QPushButton *m_chLoadBtn;
        QPushButton *m_chUnloadBtn;
        QHBoxLayout *m_chVQuitBtnLayout;
        QSpacerItem *m_chHSpaceLeft;
        QPushButton *m_chQuitBtn;
        QSpacerItem *m_chHSpaceRight;
        QWidget *tabSysExtensions;
        QVBoxLayout *verticalLayout_2;
        QVBoxLayout *m_syVTabLayout;
        QHBoxLayout *m_syHTopDisplayLayout;
        QVBoxLayout *m_syHListsViewLayout;
        QVBoxLayout *m_syHDirViewLayout;
        QLabel *m_syListDirViewLabel;
        QListView *m_syListDirView;
        QGridLayout *m_syGSelViewLayout;
        QVBoxLayout *m_syVSelListLayout;
        QLabel *m_sySelectViewLabel;
        QListView *m_chSelectView_2;
        QHBoxLayout *m_syVToolBtnLayout;
        QToolButton *m_syAddToSelList;
        QToolButton *m_syDelToSelList;
        QHBoxLayout *m_syVSelBtbLayout;
        QPushButton *m_sySelectAllBtn;
        QPushButton *m_syDeSelectBtn;
        QGroupBox *m_syInfoKextBox;
        QVBoxLayout *verticalLayout_9;
        QFormLayout *m_syInfoKextForm;
        QLabel *m_syInfoNameLabel;
        QLineEdit *m_syInfoName;
        QLabel *m_syInfoVersionLabel;
        QLineEdit *m_syInfoVersion;
        QLabel *m_syInfoIdentityLabel;
        QLineEdit *m_syInfoIdentity;
        QLabel *m_syInfoStateLabel;
        QLabel *m_syState;
        QFrame *m_syHLine;
        QGroupBox *m_syEditBox;
        QVBoxLayout *verticalLayout_7;
        QVBoxLayout *m_syHEditBoxLayout;
        QHBoxLayout *m_syVPasswordLayout;
        QLabel *m_syPasswordLabel;
        QLineEdit *m_syPassword;
        QHBoxLayout *m_syHEditBtnLayout;
        QGroupBox *m_syAddBox;
        QVBoxLayout *verticalLayout_5;
        QHBoxLayout *m_syHAddBtnLayout;
        QPushButton *m_syAddBtn;
        QPushButton *m_syDelBtn;
        QGroupBox *m_syStateBox;
        QVBoxLayout *verticalLayout_11;
        QHBoxLayout *m_syHLoadBtnLayout;
        QPushButton *m_syLoadBtn;
        QPushButton *m_syUnloadBtn;
        QHBoxLayout *m_syVQuitBtnLayout;
        QSpacerItem *m_syHspaceLeft;
        QPushButton *m_syQuitBtn;
        QSpacerItem *m_syHSpaceRight;
        QMenuBar *menuBar;
        QMenu *menuFichier;
        QMenu *menuEdition;
        QMenu *menuKext;
        QMenu *menuAide;
        QStatusBar *statusBar;
     
        void setupUi(QMainWindow *UIMainWindowClass)
        {
            if (UIMainWindowClass->objectName().isEmpty())
                UIMainWindowClass->setObjectName(QString::fromUtf8("UIMainWindowClass"));
            UIMainWindowClass->resize(915, 740);
            actionAnnuler = new QAction(UIMainWindowClass);
            actionAnnuler->setObjectName(QString::fromUtf8("actionAnnuler"));
            QIcon icon;
            icon.addFile(QString::fromUtf8(":/menu/undo.png"), QSize(), QIcon::Normal, QIcon::Off);
            actionAnnuler->setIcon(icon);
            actionAjouter = new QAction(UIMainWindowClass);
            actionAjouter->setObjectName(QString::fromUtf8("actionAjouter"));
            QIcon icon1;
            icon1.addFile(QString::fromUtf8(":/menu/add.gif"), QSize(), QIcon::Normal, QIcon::Off);
            actionAjouter->setIcon(icon1);
            actionSupprimer = new QAction(UIMainWindowClass);
            actionSupprimer->setObjectName(QString::fromUtf8("actionSupprimer"));
            QIcon icon2;
            icon2.addFile(QString::fromUtf8(":/menu/delete.png"), QSize(), QIcon::Normal, QIcon::Off);
            actionSupprimer->setIcon(icon2);
            actionCharger = new QAction(UIMainWindowClass);
            actionCharger->setObjectName(QString::fromUtf8("actionCharger"));
            QIcon icon3;
            icon3.addFile(QString::fromUtf8(":/menu/load.png"), QSize(), QIcon::Normal, QIcon::Off);
            actionCharger->setIcon(icon3);
            actionDecharger = new QAction(UIMainWindowClass);
            actionDecharger->setObjectName(QString::fromUtf8("actionDecharger"));
            QIcon icon4;
            icon4.addFile(QString::fromUtf8(":/menu/Unload.png"), QSize(), QIcon::Normal, QIcon::Off);
            actionDecharger->setIcon(icon4);
            actionCouper = new QAction(UIMainWindowClass);
            actionCouper->setObjectName(QString::fromUtf8("actionCouper"));
            QIcon icon5;
            icon5.addFile(QString::fromUtf8(":/menu/cut.png"), QSize(), QIcon::Normal, QIcon::Off);
            actionCouper->setIcon(icon5);
            actionCopier = new QAction(UIMainWindowClass);
            actionCopier->setObjectName(QString::fromUtf8("actionCopier"));
            QIcon icon6;
            icon6.addFile(QString::fromUtf8(":/menu/copy.png"), QSize(), QIcon::Normal, QIcon::Off);
            actionCopier->setIcon(icon6);
            actionColler = new QAction(UIMainWindowClass);
            actionColler->setObjectName(QString::fromUtf8("actionColler"));
            QIcon icon7;
            icon7.addFile(QString::fromUtf8(":/menu/paste.png"), QSize(), QIcon::Normal, QIcon::Off);
            actionColler->setIcon(icon7);
            actionPreferences = new QAction(UIMainWindowClass);
            actionPreferences->setObjectName(QString::fromUtf8("actionPreferences"));
            actionPreferences->setMenuRole(QAction::PreferencesRole);
            actionA_propos = new QAction(UIMainWindowClass);
            actionA_propos->setObjectName(QString::fromUtf8("actionA_propos"));
            actionA_propos->setMenuRole(QAction::AboutRole);
            actionQuitter_Kext_Center = new QAction(UIMainWindowClass);
            actionQuitter_Kext_Center->setObjectName(QString::fromUtf8("actionQuitter_Kext_Center"));
            actionQuitter_Kext_Center->setMenuRole(QAction::QuitRole);
            actionAide_de_Kext_Center = new QAction(UIMainWindowClass);
            actionAide_de_Kext_Center->setObjectName(QString::fromUtf8("actionAide_de_Kext_Center"));
            QIcon icon8;
            icon8.addFile(QString::fromUtf8(":/menu/help.png"), QSize(), QIcon::Normal, QIcon::Off);
            actionAide_de_Kext_Center->setIcon(icon8);
            m_mwCentralWidget = new QWidget(UIMainWindowClass);
            m_mwCentralWidget->setObjectName(QString::fromUtf8("m_mwCentralWidget"));
            verticalLayout = new QVBoxLayout(m_mwCentralWidget);
            verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
            m_tabsKextsDir = new QTabWidget(m_mwCentralWidget);
            m_tabsKextsDir->setObjectName(QString::fromUtf8("m_tabsKextsDir"));
            m_tabsKextsDir->setAutoFillBackground(true);
            m_tabsKextsDir->setIconSize(QSize(20, 20));
            m_tabsKextsDir->setElideMode(Qt::ElideRight);
            m_tabsKextsDir->setTabsClosable(false);
            m_chTab = new QWidget();
            m_chTab->setObjectName(QString::fromUtf8("m_chTab"));
            verticalLayout_10 = new QVBoxLayout(m_chTab);
            verticalLayout_10->setObjectName(QString::fromUtf8("verticalLayout_10"));
            m_chVTabLayout = new QVBoxLayout();
            m_chVTabLayout->setObjectName(QString::fromUtf8("m_chVTabLayout"));
            m_chHTopDisplayLayout = new QHBoxLayout();
            m_chHTopDisplayLayout->setObjectName(QString::fromUtf8("m_chHTopDisplayLayout"));
            m_chHListsViewLayout = new QVBoxLayout();
            m_chHListsViewLayout->setObjectName(QString::fromUtf8("m_chHListsViewLayout"));
            m_chHDirViewLayout = new QVBoxLayout();
            m_chHDirViewLayout->setObjectName(QString::fromUtf8("m_chHDirViewLayout"));
            m_chListDirViewLabel = new QLabel(m_chTab);
            m_chListDirViewLabel->setObjectName(QString::fromUtf8("m_chListDirViewLabel"));
     
            m_chHDirViewLayout->addWidget(m_chListDirViewLabel);
     
            m_chListDirView = new QListView(m_chTab);
            m_chListDirView->setObjectName(QString::fromUtf8("m_chListDirView"));
     
            m_chHDirViewLayout->addWidget(m_chListDirView);
     
     
            m_chHListsViewLayout->addLayout(m_chHDirViewLayout);
     
            m_chGSelViewLayout = new QGridLayout();
            m_chGSelViewLayout->setObjectName(QString::fromUtf8("m_chGSelViewLayout"));
            m_chVSelListLayout = new QVBoxLayout();
            m_chVSelListLayout->setObjectName(QString::fromUtf8("m_chVSelListLayout"));
            m_chSelectViewLabel = new QLabel(m_chTab);
            m_chSelectViewLabel->setObjectName(QString::fromUtf8("m_chSelectViewLabel"));
     
            m_chVSelListLayout->addWidget(m_chSelectViewLabel);
     
            m_chSelectView = new QListView(m_chTab);
            m_chSelectView->setObjectName(QString::fromUtf8("m_chSelectView"));
     
            m_chVSelListLayout->addWidget(m_chSelectView);
     
     
            m_chGSelViewLayout->addLayout(m_chVSelListLayout, 0, 0, 1, 2);
     
            m_chVToolBtnLayout = new QHBoxLayout();
            m_chVToolBtnLayout->setObjectName(QString::fromUtf8("m_chVToolBtnLayout"));
            m_chAddToSelList = new QToolButton(m_chTab);
            m_chAddToSelList->setObjectName(QString::fromUtf8("m_chAddToSelList"));
     
            m_chVToolBtnLayout->addWidget(m_chAddToSelList);
     
            m_chDelToSelList = new QToolButton(m_chTab);
            m_chDelToSelList->setObjectName(QString::fromUtf8("m_chDelToSelList"));
     
            m_chVToolBtnLayout->addWidget(m_chDelToSelList);
     
     
            m_chGSelViewLayout->addLayout(m_chVToolBtnLayout, 1, 0, 1, 1);
     
            m_chVSelBtbLayout = new QHBoxLayout();
            m_chVSelBtbLayout->setObjectName(QString::fromUtf8("m_chVSelBtbLayout"));
            m_chSelectAllBtn = new QPushButton(m_chTab);
            m_chSelectAllBtn->setObjectName(QString::fromUtf8("m_chSelectAllBtn"));
     
            m_chVSelBtbLayout->addWidget(m_chSelectAllBtn);
     
            m_chDeSelectBtn = new QPushButton(m_chTab);
            m_chDeSelectBtn->setObjectName(QString::fromUtf8("m_chDeSelectBtn"));
     
            m_chVSelBtbLayout->addWidget(m_chDeSelectBtn);
     
     
            m_chGSelViewLayout->addLayout(m_chVSelBtbLayout, 1, 1, 1, 1);
     
     
            m_chHListsViewLayout->addLayout(m_chGSelViewLayout);
     
     
            m_chHTopDisplayLayout->addLayout(m_chHListsViewLayout);
     
            m_chInfoKextBox = new QGroupBox(m_chTab);
            m_chInfoKextBox->setObjectName(QString::fromUtf8("m_chInfoKextBox"));
            verticalLayout_8 = new QVBoxLayout(m_chInfoKextBox);
            verticalLayout_8->setObjectName(QString::fromUtf8("verticalLayout_8"));
            m_chInfoKextForm = new QFormLayout();
            m_chInfoKextForm->setObjectName(QString::fromUtf8("m_chInfoKextForm"));
            m_chInfoKextForm->setLabelAlignment(Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter);
            m_chInfoKextForm->setFormAlignment(Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop);
            m_chInfoNameLabel = new QLabel(m_chInfoKextBox);
            m_chInfoNameLabel->setObjectName(QString::fromUtf8("m_chInfoNameLabel"));
     
            m_chInfoKextForm->setWidget(0, QFormLayout::LabelRole, m_chInfoNameLabel);
     
            m_chInfoName = new QLineEdit(m_chInfoKextBox);
            m_chInfoName->setObjectName(QString::fromUtf8("m_chInfoName"));
            m_chInfoName->setAutoFillBackground(false);
            m_chInfoName->setReadOnly(true);
     
            m_chInfoKextForm->setWidget(0, QFormLayout::FieldRole, m_chInfoName);
     
            m_chInfoVersionLabel = new QLabel(m_chInfoKextBox);
            m_chInfoVersionLabel->setObjectName(QString::fromUtf8("m_chInfoVersionLabel"));
     
            m_chInfoKextForm->setWidget(1, QFormLayout::LabelRole, m_chInfoVersionLabel);
     
            m_chInfoVersion = new QLineEdit(m_chInfoKextBox);
            m_chInfoVersion->setObjectName(QString::fromUtf8("m_chInfoVersion"));
            m_chInfoVersion->setReadOnly(true);
     
            m_chInfoKextForm->setWidget(1, QFormLayout::FieldRole, m_chInfoVersion);
     
            m_chInfoIdentityLabel = new QLabel(m_chInfoKextBox);
            m_chInfoIdentityLabel->setObjectName(QString::fromUtf8("m_chInfoIdentityLabel"));
     
            m_chInfoKextForm->setWidget(2, QFormLayout::LabelRole, m_chInfoIdentityLabel);
     
            m_chInfoIdentity = new QLineEdit(m_chInfoKextBox);
            m_chInfoIdentity->setObjectName(QString::fromUtf8("m_chInfoIdentity"));
            m_chInfoIdentity->setReadOnly(true);
     
            m_chInfoKextForm->setWidget(2, QFormLayout::FieldRole, m_chInfoIdentity);
     
            m_chInfoStateLabel = new QLabel(m_chInfoKextBox);
            m_chInfoStateLabel->setObjectName(QString::fromUtf8("m_chInfoStateLabel"));
     
            m_chInfoKextForm->setWidget(3, QFormLayout::LabelRole, m_chInfoStateLabel);
     
            m_chState = new QLabel(m_chInfoKextBox);
            m_chState->setObjectName(QString::fromUtf8("m_chState"));
     
            m_chInfoKextForm->setWidget(3, QFormLayout::FieldRole, m_chState);
     
     
            verticalLayout_8->addLayout(m_chInfoKextForm);
     
     
            m_chHTopDisplayLayout->addWidget(m_chInfoKextBox);
     
     
            m_chVTabLayout->addLayout(m_chHTopDisplayLayout);
     
            m_chHLine = new QFrame(m_chTab);
            m_chHLine->setObjectName(QString::fromUtf8("m_chHLine"));
            m_chHLine->setFrameShape(QFrame::HLine);
            m_chHLine->setFrameShadow(QFrame::Sunken);
     
            m_chVTabLayout->addWidget(m_chHLine);
     
            m_chEditBox = new QGroupBox(m_chTab);
            m_chEditBox->setObjectName(QString::fromUtf8("m_chEditBox"));
            verticalLayout_6 = new QVBoxLayout(m_chEditBox);
            verticalLayout_6->setObjectName(QString::fromUtf8("verticalLayout_6"));
            m_chHEditBoxLayout = new QVBoxLayout();
            m_chHEditBoxLayout->setObjectName(QString::fromUtf8("m_chHEditBoxLayout"));
            m_chVPasswordLayout = new QHBoxLayout();
            m_chVPasswordLayout->setObjectName(QString::fromUtf8("m_chVPasswordLayout"));
            m_chPasswordLabel = new QLabel(m_chEditBox);
            m_chPasswordLabel->setObjectName(QString::fromUtf8("m_chPasswordLabel"));
     
            m_chVPasswordLayout->addWidget(m_chPasswordLabel);
     
            m_chPassword = new QLineEdit(m_chEditBox);
            m_chPassword->setObjectName(QString::fromUtf8("m_chPassword"));
            m_chPassword->setEchoMode(QLineEdit::PasswordEchoOnEdit);
     
            m_chVPasswordLayout->addWidget(m_chPassword);
     
     
            m_chHEditBoxLayout->addLayout(m_chVPasswordLayout);
     
            m_chHEditBtnLayout = new QHBoxLayout();
            m_chHEditBtnLayout->setObjectName(QString::fromUtf8("m_chHEditBtnLayout"));
            m_chAddBox = new QGroupBox(m_chEditBox);
            m_chAddBox->setObjectName(QString::fromUtf8("m_chAddBox"));
            verticalLayout_4 = new QVBoxLayout(m_chAddBox);
            verticalLayout_4->setObjectName(QString::fromUtf8("verticalLayout_4"));
            m_chHAddBtnLayout = new QHBoxLayout();
            m_chHAddBtnLayout->setObjectName(QString::fromUtf8("m_chHAddBtnLayout"));
            m_chAddBtn = new QPushButton(m_chAddBox);
            m_chAddBtn->setObjectName(QString::fromUtf8("m_chAddBtn"));
     
            m_chHAddBtnLayout->addWidget(m_chAddBtn);
     
            m_chDelBtn = new QPushButton(m_chAddBox);
            m_chDelBtn->setObjectName(QString::fromUtf8("m_chDelBtn"));
     
            m_chHAddBtnLayout->addWidget(m_chDelBtn);
     
     
            verticalLayout_4->addLayout(m_chHAddBtnLayout);
     
     
            m_chHEditBtnLayout->addWidget(m_chAddBox);
     
            m_chStateBox = new QGroupBox(m_chEditBox);
            m_chStateBox->setObjectName(QString::fromUtf8("m_chStateBox"));
            verticalLayout_3 = new QVBoxLayout(m_chStateBox);
            verticalLayout_3->setObjectName(QString::fromUtf8("verticalLayout_3"));
            m_chHLoadBtnLayout = new QHBoxLayout();
            m_chHLoadBtnLayout->setObjectName(QString::fromUtf8("m_chHLoadBtnLayout"));
            m_chLoadBtn = new QPushButton(m_chStateBox);
            m_chLoadBtn->setObjectName(QString::fromUtf8("m_chLoadBtn"));
     
            m_chHLoadBtnLayout->addWidget(m_chLoadBtn);
     
            m_chUnloadBtn = new QPushButton(m_chStateBox);
            m_chUnloadBtn->setObjectName(QString::fromUtf8("m_chUnloadBtn"));
     
            m_chHLoadBtnLayout->addWidget(m_chUnloadBtn);
     
     
            verticalLayout_3->addLayout(m_chHLoadBtnLayout);
     
     
            m_chHEditBtnLayout->addWidget(m_chStateBox);
     
     
            m_chHEditBoxLayout->addLayout(m_chHEditBtnLayout);
     
     
            verticalLayout_6->addLayout(m_chHEditBoxLayout);
     
     
            m_chVTabLayout->addWidget(m_chEditBox);
     
            m_chVQuitBtnLayout = new QHBoxLayout();
            m_chVQuitBtnLayout->setObjectName(QString::fromUtf8("m_chVQuitBtnLayout"));
            m_chHSpaceLeft = new QSpacerItem(248, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
     
            m_chVQuitBtnLayout->addItem(m_chHSpaceLeft);
     
            m_chQuitBtn = new QPushButton(m_chTab);
            m_chQuitBtn->setObjectName(QString::fromUtf8("m_chQuitBtn"));
     
            m_chVQuitBtnLayout->addWidget(m_chQuitBtn);
     
            m_chHSpaceRight = new QSpacerItem(228, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
     
            m_chVQuitBtnLayout->addItem(m_chHSpaceRight);
     
     
            m_chVTabLayout->addLayout(m_chVQuitBtnLayout);
     
     
            verticalLayout_10->addLayout(m_chVTabLayout);
     
            QIcon icon9;
            icon9.addFile(QString::fromUtf8(":/pages/chameleon.png"), QSize(), QIcon::Normal, QIcon::Off);
            m_tabsKextsDir->addTab(m_chTab, icon9, QString());
            tabSysExtensions = new QWidget();
            tabSysExtensions->setObjectName(QString::fromUtf8("tabSysExtensions"));
            verticalLayout_2 = new QVBoxLayout(tabSysExtensions);
            verticalLayout_2->setObjectName(QString::fromUtf8("verticalLayout_2"));
            m_syVTabLayout = new QVBoxLayout();
            m_syVTabLayout->setObjectName(QString::fromUtf8("m_syVTabLayout"));
            m_syHTopDisplayLayout = new QHBoxLayout();
            m_syHTopDisplayLayout->setObjectName(QString::fromUtf8("m_syHTopDisplayLayout"));
            m_syHListsViewLayout = new QVBoxLayout();
            m_syHListsViewLayout->setObjectName(QString::fromUtf8("m_syHListsViewLayout"));
            m_syHDirViewLayout = new QVBoxLayout();
            m_syHDirViewLayout->setObjectName(QString::fromUtf8("m_syHDirViewLayout"));
            m_syListDirViewLabel = new QLabel(tabSysExtensions);
            m_syListDirViewLabel->setObjectName(QString::fromUtf8("m_syListDirViewLabel"));
     
            m_syHDirViewLayout->addWidget(m_syListDirViewLabel);
     
            m_syListDirView = new QListView(tabSysExtensions);
            m_syListDirView->setObjectName(QString::fromUtf8("m_syListDirView"));
     
            m_syHDirViewLayout->addWidget(m_syListDirView);
     
     
            m_syHListsViewLayout->addLayout(m_syHDirViewLayout);
     
            m_syGSelViewLayout = new QGridLayout();
            m_syGSelViewLayout->setObjectName(QString::fromUtf8("m_syGSelViewLayout"));
            m_syVSelListLayout = new QVBoxLayout();
            m_syVSelListLayout->setObjectName(QString::fromUtf8("m_syVSelListLayout"));
            m_sySelectViewLabel = new QLabel(tabSysExtensions);
            m_sySelectViewLabel->setObjectName(QString::fromUtf8("m_sySelectViewLabel"));
     
            m_syVSelListLayout->addWidget(m_sySelectViewLabel);
     
            m_chSelectView_2 = new QListView(tabSysExtensions);
            m_chSelectView_2->setObjectName(QString::fromUtf8("m_chSelectView_2"));
     
            m_syVSelListLayout->addWidget(m_chSelectView_2);
     
     
            m_syGSelViewLayout->addLayout(m_syVSelListLayout, 0, 0, 1, 2);
     
            m_syVToolBtnLayout = new QHBoxLayout();
            m_syVToolBtnLayout->setObjectName(QString::fromUtf8("m_syVToolBtnLayout"));
            m_syAddToSelList = new QToolButton(tabSysExtensions);
            m_syAddToSelList->setObjectName(QString::fromUtf8("m_syAddToSelList"));
     
            m_syVToolBtnLayout->addWidget(m_syAddToSelList);
     
            m_syDelToSelList = new QToolButton(tabSysExtensions);
            m_syDelToSelList->setObjectName(QString::fromUtf8("m_syDelToSelList"));
     
            m_syVToolBtnLayout->addWidget(m_syDelToSelList);
     
     
            m_syGSelViewLayout->addLayout(m_syVToolBtnLayout, 1, 0, 1, 1);
     
            m_syVSelBtbLayout = new QHBoxLayout();
            m_syVSelBtbLayout->setObjectName(QString::fromUtf8("m_syVSelBtbLayout"));
            m_sySelectAllBtn = new QPushButton(tabSysExtensions);
            m_sySelectAllBtn->setObjectName(QString::fromUtf8("m_sySelectAllBtn"));
     
            m_syVSelBtbLayout->addWidget(m_sySelectAllBtn);
     
            m_syDeSelectBtn = new QPushButton(tabSysExtensions);
            m_syDeSelectBtn->setObjectName(QString::fromUtf8("m_syDeSelectBtn"));
     
            m_syVSelBtbLayout->addWidget(m_syDeSelectBtn);
     
     
            m_syGSelViewLayout->addLayout(m_syVSelBtbLayout, 1, 1, 1, 1);
     
     
            m_syHListsViewLayout->addLayout(m_syGSelViewLayout);
     
     
            m_syHTopDisplayLayout->addLayout(m_syHListsViewLayout);
     
            m_syInfoKextBox = new QGroupBox(tabSysExtensions);
            m_syInfoKextBox->setObjectName(QString::fromUtf8("m_syInfoKextBox"));
            verticalLayout_9 = new QVBoxLayout(m_syInfoKextBox);
            verticalLayout_9->setObjectName(QString::fromUtf8("verticalLayout_9"));
            m_syInfoKextForm = new QFormLayout();
            m_syInfoKextForm->setObjectName(QString::fromUtf8("m_syInfoKextForm"));
            m_syInfoKextForm->setLabelAlignment(Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter);
            m_syInfoKextForm->setFormAlignment(Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop);
            m_syInfoNameLabel = new QLabel(m_syInfoKextBox);
            m_syInfoNameLabel->setObjectName(QString::fromUtf8("m_syInfoNameLabel"));
     
            m_syInfoKextForm->setWidget(0, QFormLayout::LabelRole, m_syInfoNameLabel);
     
            m_syInfoName = new QLineEdit(m_syInfoKextBox);
            m_syInfoName->setObjectName(QString::fromUtf8("m_syInfoName"));
            m_syInfoName->setAutoFillBackground(false);
            m_syInfoName->setReadOnly(true);
     
            m_syInfoKextForm->setWidget(0, QFormLayout::FieldRole, m_syInfoName);
     
            m_syInfoVersionLabel = new QLabel(m_syInfoKextBox);
            m_syInfoVersionLabel->setObjectName(QString::fromUtf8("m_syInfoVersionLabel"));
     
            m_syInfoKextForm->setWidget(1, QFormLayout::LabelRole, m_syInfoVersionLabel);
     
            m_syInfoVersion = new QLineEdit(m_syInfoKextBox);
            m_syInfoVersion->setObjectName(QString::fromUtf8("m_syInfoVersion"));
            m_syInfoVersion->setReadOnly(true);
     
            m_syInfoKextForm->setWidget(1, QFormLayout::FieldRole, m_syInfoVersion);
     
            m_syInfoIdentityLabel = new QLabel(m_syInfoKextBox);
            m_syInfoIdentityLabel->setObjectName(QString::fromUtf8("m_syInfoIdentityLabel"));
     
            m_syInfoKextForm->setWidget(2, QFormLayout::LabelRole, m_syInfoIdentityLabel);
     
            m_syInfoIdentity = new QLineEdit(m_syInfoKextBox);
            m_syInfoIdentity->setObjectName(QString::fromUtf8("m_syInfoIdentity"));
            m_syInfoIdentity->setReadOnly(true);
     
            m_syInfoKextForm->setWidget(2, QFormLayout::FieldRole, m_syInfoIdentity);
     
            m_syInfoStateLabel = new QLabel(m_syInfoKextBox);
            m_syInfoStateLabel->setObjectName(QString::fromUtf8("m_syInfoStateLabel"));
     
            m_syInfoKextForm->setWidget(3, QFormLayout::LabelRole, m_syInfoStateLabel);
     
            m_syState = new QLabel(m_syInfoKextBox);
            m_syState->setObjectName(QString::fromUtf8("m_syState"));
     
            m_syInfoKextForm->setWidget(3, QFormLayout::FieldRole, m_syState);
     
     
            verticalLayout_9->addLayout(m_syInfoKextForm);
     
     
            m_syHTopDisplayLayout->addWidget(m_syInfoKextBox);
     
     
            m_syVTabLayout->addLayout(m_syHTopDisplayLayout);
     
            m_syHLine = new QFrame(tabSysExtensions);
            m_syHLine->setObjectName(QString::fromUtf8("m_syHLine"));
            m_syHLine->setFrameShape(QFrame::HLine);
            m_syHLine->setFrameShadow(QFrame::Sunken);
     
            m_syVTabLayout->addWidget(m_syHLine);
     
            m_syEditBox = new QGroupBox(tabSysExtensions);
            m_syEditBox->setObjectName(QString::fromUtf8("m_syEditBox"));
            verticalLayout_7 = new QVBoxLayout(m_syEditBox);
            verticalLayout_7->setObjectName(QString::fromUtf8("verticalLayout_7"));
            m_syHEditBoxLayout = new QVBoxLayout();
            m_syHEditBoxLayout->setObjectName(QString::fromUtf8("m_syHEditBoxLayout"));
            m_syVPasswordLayout = new QHBoxLayout();
            m_syVPasswordLayout->setObjectName(QString::fromUtf8("m_syVPasswordLayout"));
            m_syPasswordLabel = new QLabel(m_syEditBox);
            m_syPasswordLabel->setObjectName(QString::fromUtf8("m_syPasswordLabel"));
     
            m_syVPasswordLayout->addWidget(m_syPasswordLabel);
     
            m_syPassword = new QLineEdit(m_syEditBox);
            m_syPassword->setObjectName(QString::fromUtf8("m_syPassword"));
            m_syPassword->setEchoMode(QLineEdit::PasswordEchoOnEdit);
     
            m_syVPasswordLayout->addWidget(m_syPassword);
     
     
            m_syHEditBoxLayout->addLayout(m_syVPasswordLayout);
     
            m_syHEditBtnLayout = new QHBoxLayout();
            m_syHEditBtnLayout->setObjectName(QString::fromUtf8("m_syHEditBtnLayout"));
            m_syAddBox = new QGroupBox(m_syEditBox);
            m_syAddBox->setObjectName(QString::fromUtf8("m_syAddBox"));
            verticalLayout_5 = new QVBoxLayout(m_syAddBox);
            verticalLayout_5->setObjectName(QString::fromUtf8("verticalLayout_5"));
            m_syHAddBtnLayout = new QHBoxLayout();
            m_syHAddBtnLayout->setObjectName(QString::fromUtf8("m_syHAddBtnLayout"));
            m_syAddBtn = new QPushButton(m_syAddBox);
            m_syAddBtn->setObjectName(QString::fromUtf8("m_syAddBtn"));
     
            m_syHAddBtnLayout->addWidget(m_syAddBtn);
     
            m_syDelBtn = new QPushButton(m_syAddBox);
            m_syDelBtn->setObjectName(QString::fromUtf8("m_syDelBtn"));
     
            m_syHAddBtnLayout->addWidget(m_syDelBtn);
     
     
            verticalLayout_5->addLayout(m_syHAddBtnLayout);
     
     
            m_syHEditBtnLayout->addWidget(m_syAddBox);
     
            m_syStateBox = new QGroupBox(m_syEditBox);
            m_syStateBox->setObjectName(QString::fromUtf8("m_syStateBox"));
            verticalLayout_11 = new QVBoxLayout(m_syStateBox);
            verticalLayout_11->setObjectName(QString::fromUtf8("verticalLayout_11"));
            m_syHLoadBtnLayout = new QHBoxLayout();
            m_syHLoadBtnLayout->setObjectName(QString::fromUtf8("m_syHLoadBtnLayout"));
            m_syLoadBtn = new QPushButton(m_syStateBox);
            m_syLoadBtn->setObjectName(QString::fromUtf8("m_syLoadBtn"));
     
            m_syHLoadBtnLayout->addWidget(m_syLoadBtn);
     
            m_syUnloadBtn = new QPushButton(m_syStateBox);
            m_syUnloadBtn->setObjectName(QString::fromUtf8("m_syUnloadBtn"));
     
            m_syHLoadBtnLayout->addWidget(m_syUnloadBtn);
     
     
            verticalLayout_11->addLayout(m_syHLoadBtnLayout);
     
     
            m_syHEditBtnLayout->addWidget(m_syStateBox);
     
     
            m_syHEditBoxLayout->addLayout(m_syHEditBtnLayout);
     
     
            verticalLayout_7->addLayout(m_syHEditBoxLayout);
     
     
            m_syVTabLayout->addWidget(m_syEditBox);
     
            m_syVQuitBtnLayout = new QHBoxLayout();
            m_syVQuitBtnLayout->setObjectName(QString::fromUtf8("m_syVQuitBtnLayout"));
            m_syHspaceLeft = new QSpacerItem(248, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
     
            m_syVQuitBtnLayout->addItem(m_syHspaceLeft);
     
            m_syQuitBtn = new QPushButton(tabSysExtensions);
            m_syQuitBtn->setObjectName(QString::fromUtf8("m_syQuitBtn"));
     
            m_syVQuitBtnLayout->addWidget(m_syQuitBtn);
     
            m_syHSpaceRight = new QSpacerItem(228, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
     
            m_syVQuitBtnLayout->addItem(m_syHSpaceRight);
     
     
            m_syVTabLayout->addLayout(m_syVQuitBtnLayout);
     
     
            verticalLayout_2->addLayout(m_syVTabLayout);
     
            QIcon icon10;
            icon10.addFile(QString::fromUtf8(":/pages/macPro.png"), QSize(), QIcon::Normal, QIcon::Off);
            m_tabsKextsDir->addTab(tabSysExtensions, icon10, QString());
     
            verticalLayout->addWidget(m_tabsKextsDir);
     
            UIMainWindowClass->setCentralWidget(m_mwCentralWidget);
            menuBar = new QMenuBar(UIMainWindowClass);
            menuBar->setObjectName(QString::fromUtf8("menuBar"));
            menuBar->setGeometry(QRect(0, 0, 915, 22));
            menuFichier = new QMenu(menuBar);
            menuFichier->setObjectName(QString::fromUtf8("menuFichier"));
            menuEdition = new QMenu(menuBar);
            menuEdition->setObjectName(QString::fromUtf8("menuEdition"));
            menuKext = new QMenu(menuBar);
            menuKext->setObjectName(QString::fromUtf8("menuKext"));
            menuAide = new QMenu(menuBar);
            menuAide->setObjectName(QString::fromUtf8("menuAide"));
            UIMainWindowClass->setMenuBar(menuBar);
            statusBar = new QStatusBar(UIMainWindowClass);
            statusBar->setObjectName(QString::fromUtf8("statusBar"));
            UIMainWindowClass->setStatusBar(statusBar);
    #ifndef QT_NO_SHORTCUT
            m_chListDirViewLabel->setBuddy(m_chListDirView);
            m_chSelectViewLabel->setBuddy(m_chSelectView);
            m_chInfoNameLabel->setBuddy(m_chInfoName);
            m_chInfoVersionLabel->setBuddy(m_chInfoVersion);
            m_chInfoIdentityLabel->setBuddy(m_chInfoIdentity);
            m_chPasswordLabel->setBuddy(m_chPassword);
            m_syListDirViewLabel->setBuddy(m_chListDirView);
            m_sySelectViewLabel->setBuddy(m_chSelectView);
            m_syInfoNameLabel->setBuddy(m_chInfoName);
            m_syInfoVersionLabel->setBuddy(m_chInfoVersion);
            m_syInfoIdentityLabel->setBuddy(m_chInfoIdentity);
            m_syPasswordLabel->setBuddy(m_chPassword);
    #endif // QT_NO_SHORTCUT
     
            menuBar->addAction(menuFichier->menuAction());
            menuBar->addAction(menuEdition->menuAction());
            menuBar->addAction(menuKext->menuAction());
            menuBar->addAction(menuAide->menuAction());
            menuFichier->addAction(actionPreferences);
            menuFichier->addAction(actionA_propos);
            menuFichier->addAction(actionQuitter_Kext_Center);
            menuEdition->addAction(actionAnnuler);
            menuEdition->addSeparator();
            menuEdition->addAction(actionCouper);
            menuEdition->addAction(actionCopier);
            menuEdition->addAction(actionColler);
            menuKext->addAction(actionAjouter);
            menuKext->addAction(actionSupprimer);
            menuKext->addSeparator();
            menuKext->addAction(actionCharger);
            menuKext->addAction(actionDecharger);
            menuAide->addAction(actionAide_de_Kext_Center);
     
            retranslateUi(UIMainWindowClass);
            QObject::connect(m_chSelectAllBtn, SIGNAL(clicked()), m_chSelectView, SLOT(selectAll()));
            QObject::connect(m_chDeSelectBtn, SIGNAL(clicked()), m_chSelectView, SLOT(reset()));
            QObject::connect(m_chDelToSelList, SIGNAL(clicked(bool)), m_chSelectView, SLOT(clearSelection()));
     
            m_tabsKextsDir->setCurrentIndex(0);
     
     
            QMetaObject::connectSlotsByName(UIMainWindowClass);
        } // setupUi
     
        void retranslateUi(QMainWindow *UIMainWindowClass)
        {
            UIMainWindowClass->setWindowTitle(QApplication::translate("UIMainWindowClass", "Kext Center", 0, QApplication::UnicodeUTF8));
            actionAnnuler->setText(QApplication::translate("UIMainWindowClass", "Annuler", 0, QApplication::UnicodeUTF8));
            actionAnnuler->setShortcut(QApplication::translate("UIMainWindowClass", "Ctrl+Z", 0, QApplication::UnicodeUTF8));
            actionAjouter->setText(QApplication::translate("UIMainWindowClass", "Ajouter", 0, QApplication::UnicodeUTF8));
            actionAjouter->setShortcut(QApplication::translate("UIMainWindowClass", "Ctrl++", 0, QApplication::UnicodeUTF8));
            actionSupprimer->setText(QApplication::translate("UIMainWindowClass", "Supprimer", 0, QApplication::UnicodeUTF8));
            actionSupprimer->setShortcut(QApplication::translate("UIMainWindowClass", "Ctrl+-", 0, QApplication::UnicodeUTF8));
            actionCharger->setText(QApplication::translate("UIMainWindowClass", "Charger", 0, QApplication::UnicodeUTF8));
            actionCharger->setShortcut(QApplication::translate("UIMainWindowClass", "Ctrl+L", 0, QApplication::UnicodeUTF8));
            actionDecharger->setText(QApplication::translate("UIMainWindowClass", "D\303\251charger", 0, QApplication::UnicodeUTF8));
            actionDecharger->setShortcut(QApplication::translate("UIMainWindowClass", "Ctrl+U", 0, QApplication::UnicodeUTF8));
            actionCouper->setText(QApplication::translate("UIMainWindowClass", "Couper", 0, QApplication::UnicodeUTF8));
            actionCouper->setShortcut(QApplication::translate("UIMainWindowClass", "Ctrl+X", 0, QApplication::UnicodeUTF8));
            actionCopier->setText(QApplication::translate("UIMainWindowClass", "Copier", 0, QApplication::UnicodeUTF8));
            actionCopier->setShortcut(QApplication::translate("UIMainWindowClass", "Ctrl+C", 0, QApplication::UnicodeUTF8));
            actionColler->setText(QApplication::translate("UIMainWindowClass", "Coller", 0, QApplication::UnicodeUTF8));
            actionColler->setShortcut(QApplication::translate("UIMainWindowClass", "Ctrl+V", 0, QApplication::UnicodeUTF8));
            actionPreferences->setText(QApplication::translate("UIMainWindowClass", "Pr\303\251f\303\251rences...", 0, QApplication::UnicodeUTF8));
            actionA_propos->setText(QApplication::translate("UIMainWindowClass", "A propos de Kext Center ", 0, QApplication::UnicodeUTF8));
            actionQuitter_Kext_Center->setText(QApplication::translate("UIMainWindowClass", "Quitter Kext Center", 0, QApplication::UnicodeUTF8));
            actionAide_de_Kext_Center->setText(QApplication::translate("UIMainWindowClass", "Aide de Kext Center", 0, QApplication::UnicodeUTF8));
            actionAide_de_Kext_Center->setShortcut(QApplication::translate("UIMainWindowClass", "F1", 0, QApplication::UnicodeUTF8));
            m_chListDirViewLabel->setText(QApplication::translate("UIMainWindowClass", "Kexts du dossier:", 0, QApplication::UnicodeUTF8));
            m_chSelectViewLabel->setText(QApplication::translate("UIMainWindowClass", "Kext(s) s\303\251l\303\251ctionn\303\251(s):", 0, QApplication::UnicodeUTF8));
            m_chAddToSelList->setText(QApplication::translate("UIMainWindowClass", "+", 0, QApplication::UnicodeUTF8));
            m_chDelToSelList->setText(QApplication::translate("UIMainWindowClass", "-", 0, QApplication::UnicodeUTF8));
            m_chSelectAllBtn->setText(QApplication::translate("UIMainWindowClass", "S\303\251l\303\251ctionner tous", 0, QApplication::UnicodeUTF8));
            m_chDeSelectBtn->setText(QApplication::translate("UIMainWindowClass", "Supprimer tous", 0, QApplication::UnicodeUTF8));
            m_chInfoKextBox->setTitle(QApplication::translate("UIMainWindowClass", "Informations du kext", 0, QApplication::UnicodeUTF8));
            m_chInfoNameLabel->setText(QApplication::translate("UIMainWindowClass", "Nom:", 0, QApplication::UnicodeUTF8));
            m_chInfoVersionLabel->setText(QApplication::translate("UIMainWindowClass", "Version:", 0, QApplication::UnicodeUTF8));
            m_chInfoIdentityLabel->setText(QApplication::translate("UIMainWindowClass", "Identifiant:", 0, QApplication::UnicodeUTF8));
            m_chInfoStateLabel->setText(QApplication::translate("UIMainWindowClass", "Statut:", 0, QApplication::UnicodeUTF8));
            m_chState->setText(QString());
            m_chEditBox->setTitle(QApplication::translate("UIMainWindowClass", "Editions", 0, QApplication::UnicodeUTF8));
            m_chPasswordLabel->setText(QApplication::translate("UIMainWindowClass", "Mot de passe:", 0, QApplication::UnicodeUTF8));
            m_chPassword->setText(QString());
            m_chAddBox->setTitle(QApplication::translate("UIMainWindowClass", "Ajout/Suppr\303\251ssion", 0, QApplication::UnicodeUTF8));
            m_chAddBtn->setText(QApplication::translate("UIMainWindowClass", "Ajouter", 0, QApplication::UnicodeUTF8));
            m_chDelBtn->setText(QApplication::translate("UIMainWindowClass", "Supprimer", 0, QApplication::UnicodeUTF8));
            m_chStateBox->setTitle(QApplication::translate("UIMainWindowClass", "Charger/D\303\251charger", 0, QApplication::UnicodeUTF8));
            m_chLoadBtn->setText(QApplication::translate("UIMainWindowClass", "Charger", 0, QApplication::UnicodeUTF8));
            m_chUnloadBtn->setText(QApplication::translate("UIMainWindowClass", "D\303\251charger", 0, QApplication::UnicodeUTF8));
            m_chQuitBtn->setText(QApplication::translate("UIMainWindowClass", "Quitter", 0, QApplication::UnicodeUTF8));
            m_tabsKextsDir->setTabText(m_tabsKextsDir->indexOf(m_chTab), QApplication::translate("UIMainWindowClass", "(Volume)\\Extra\\Extensions", 0, QApplication::UnicodeUTF8));
            m_syListDirViewLabel->setText(QApplication::translate("UIMainWindowClass", "Kexts du dossier:", 0, QApplication::UnicodeUTF8));
            m_sySelectViewLabel->setText(QApplication::translate("UIMainWindowClass", "Kext(s) s\303\251l\303\251ctionn\303\251(s):", 0, QApplication::UnicodeUTF8));
            m_syAddToSelList->setText(QApplication::translate("UIMainWindowClass", "+", 0, QApplication::UnicodeUTF8));
            m_syDelToSelList->setText(QApplication::translate("UIMainWindowClass", "-", 0, QApplication::UnicodeUTF8));
            m_sySelectAllBtn->setText(QApplication::translate("UIMainWindowClass", "S\303\251l\303\251ctionner tous", 0, QApplication::UnicodeUTF8));
            m_syDeSelectBtn->setText(QApplication::translate("UIMainWindowClass", "Supprimer tous", 0, QApplication::UnicodeUTF8));
            m_syInfoKextBox->setTitle(QApplication::translate("UIMainWindowClass", "Informations du kext", 0, QApplication::UnicodeUTF8));
            m_syInfoNameLabel->setText(QApplication::translate("UIMainWindowClass", "Nom:", 0, QApplication::UnicodeUTF8));
            m_syInfoVersionLabel->setText(QApplication::translate("UIMainWindowClass", "Version:", 0, QApplication::UnicodeUTF8));
            m_syInfoIdentityLabel->setText(QApplication::translate("UIMainWindowClass", "Identifiant:", 0, QApplication::UnicodeUTF8));
            m_syInfoStateLabel->setText(QApplication::translate("UIMainWindowClass", "Statut:", 0, QApplication::UnicodeUTF8));
            m_syState->setText(QString());
            m_syEditBox->setTitle(QApplication::translate("UIMainWindowClass", "Editions", 0, QApplication::UnicodeUTF8));
            m_syPasswordLabel->setText(QApplication::translate("UIMainWindowClass", "Mot de passe:", 0, QApplication::UnicodeUTF8));
            m_syPassword->setText(QString());
            m_syAddBox->setTitle(QApplication::translate("UIMainWindowClass", "Ajout/Suppr\303\251ssion", 0, QApplication::UnicodeUTF8));
            m_syAddBtn->setText(QApplication::translate("UIMainWindowClass", "Ajouter", 0, QApplication::UnicodeUTF8));
            m_syDelBtn->setText(QApplication::translate("UIMainWindowClass", "Supprimer", 0, QApplication::UnicodeUTF8));
            m_syStateBox->setTitle(QApplication::translate("UIMainWindowClass", "Charger/D\303\251charger", 0, QApplication::UnicodeUTF8));
            m_syLoadBtn->setText(QApplication::translate("UIMainWindowClass", "Charger", 0, QApplication::UnicodeUTF8));
            m_syUnloadBtn->setText(QApplication::translate("UIMainWindowClass", "D\303\251charger", 0, QApplication::UnicodeUTF8));
            m_syQuitBtn->setText(QApplication::translate("UIMainWindowClass", "Quitter", 0, QApplication::UnicodeUTF8));
            m_tabsKextsDir->setTabText(m_tabsKextsDir->indexOf(tabSysExtensions), QApplication::translate("UIMainWindowClass", "\\Syst\303\250me\\Biblioth\303\250que\\Extensions", 0, QApplication::UnicodeUTF8));
            menuFichier->setTitle(QApplication::translate("UIMainWindowClass", "Fichier", 0, QApplication::UnicodeUTF8));
            menuEdition->setTitle(QApplication::translate("UIMainWindowClass", "Edition", 0, QApplication::UnicodeUTF8));
            menuKext->setTitle(QApplication::translate("UIMainWindowClass", "Kext", 0, QApplication::UnicodeUTF8));
            menuAide->setTitle(QApplication::translate("UIMainWindowClass", "Aide", 0, QApplication::UnicodeUTF8));
        } // retranslateUi
     
    };
     
    namespace Ui {
        class UIMainWindowClass: public Ui_UIMainWindowClass {};
    } // namespace Ui
     
    QT_END_NAMESPACE
     
    #endif // UI_UIMAINWINDOW_H
    Ensuite je pensai faire une interface séparé juste pour les Prèf le About et autre fenêtre si besoin.

    Et pour la parti code, par contre la j'aurais séparer les modules, dans l'idée de l'OO.

    Donc j'aurais voulu connaitre vos conseils et avis sur l'organisation à avoir pour le travail avec Interface graphique créer avec Qt Designer.

    Car l'interface que j'ai fais elle marche, je la compile mais je me demande si je fais pas fausse route sur l'organisation.

    Pour apporter un élément à on intérrogation j'ai fais la capture de mon interface.

    Comme je le disais j'ai fais tous dedans, c'est à parit d'une MainWindow, donc Menu et StatusBar.

    Ensuite dedans j'ai mis tous ce qui compose mon interface, comme voici :


    Donc sa part par un TabWidget qui me donnera deux pages.

    Chaque page contient les même choses, qui peuvent se grouper en module:

    1) La liste des fichiers du dossier

    2) Une list où on ajoute des fichier ou alors ceux choisi dans la liste du 1

    3) Un formulaire qui affichera des info sur le fichier de la liste 1 sélectionner

    4) Module d'édition pour les opération (Suppression etc...)


    Voilà où se situe mon interrogation.

    Dois-je continuer ainsi, en sachant que au niveau code là je séparerai les choses.

    Où dois-je plutôt parti avec une MainWindows de base (Menu et StatutBar )
    Et ensuite faire séparément avec le designer chaque Widget (fichier ui) et ensuite en code je les intégrerai à la Mainwindow (ui).

    C'est vraiment cette parti de l'organisation que je vois pas qu'elle méthode est la plus pratique pour la suite :
    Maintenabilité
    Ajout de fonctions

    PS : Pour rappel c'est ma premier application/utilitaire en dehors de tutoriels, et il n'y a pas de tuto sur l'organisation à avoir pour créer l'IHM.

    Pour rappel mon soucis n'est pas un problème pour utilisé mon UI, la preuve celle que j'ai fais compile, mais c'est juste l'organisation.

    Je veux dire, savoir si faut le faire en un block ou plutôt séparer également les morceau d'UI en Windget et les intégrer au MainWindow.

    Merci beaucoup pour vos avis, expériences et conseils.

  2. #2
    Nouveau membre du Club
    Homme Profil pro
    Administrateur systèmes et réseaux
    Inscrit en
    Mai 2009
    Messages
    69
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France

    Informations professionnelles :
    Activité : Administrateur systèmes et réseaux

    Informations forums :
    Inscription : Mai 2009
    Messages : 69
    Points : 39
    Points
    39
    Par défaut
    Mince,

    Suis je le seul à mettre une interface graphique sur une application, et avec QtDesigner ?

    Je vais formuler différemment.

    Je demande aucun code etc...

    Ma seul question est plus une demande de conseil de ceux qui ont de l'expérience ou qui en font leur métier.

    Vous avez prévu une interface pour votre application (je parle que de la MainWindow, mais pas des fenêtre type préférence et About ou Help).

    Je voudrais savoir, après un "croquis"/ test comme je vous montre le mien ci dessus, au moment de vous lancé.

    Partez vous plutôt direct avec l'interface principal faites en un block et vous coder normalement.

    Ou vous faites plutôt chaque "parti/zone/module" de l'interface principale séparément (fichier ui séparer) et en codant le code ensuite vous regrouper chaque "parti/zone/module ui" à la MainWindow (cette dernière faites à la main ou ui(designer)).

    Et selon votre méthodologie, pourquoi ?
    Je veux dire, les apports que sa vous donne.


    Par contre si malgré cette autre explication, c'est toujours pas clair, dites le moi, car si vous passer mais sans dire que vous saisissez pas ma question je peux pas le deviner.

  3. #3
    Nouveau membre du Club
    Homme Profil pro
    Administrateur systèmes et réseaux
    Inscrit en
    Mai 2009
    Messages
    69
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France

    Informations professionnelles :
    Activité : Administrateur systèmes et réseaux

    Informations forums :
    Inscription : Mai 2009
    Messages : 69
    Points : 39
    Points
    39
    Par défaut
    Bonjour,

    Je fais le suivis de mon post, sans réponse. Comme d'autre personnes peuvent être amené à ce poser la même question, je vous met la synthèse des réponses que j'ai trouvé.

    Avant tous je résume ma demande qui a dus ne pas être comprise.
    J'avais un doute sur l'organisation de la conception de mon IHM, et tous particulièrement la fenêtre principale.(création d'IHM en partis faites avec QtDesigner, donc avec des fichier ui)

    Je voyais la conception de cette fenêtre comme on fait pour le code brut, c'est à dire en séparant la fenêtre principal en morceau distinct.

    Exemple :
    1) Je fais ma fenêtre principale de base (Menu, StatusBar et pour mon cas, juste le TabWidget conteneur)->En résulte un fichier UI (avec QtDesigner)

    2) Je fais dans des .ui séparer les parti de mon interface qui seront intégrer dans ma fenêtre principale.
    Donc un fichier UI pour la liste Dossier, un fichier pour la liste sélection, un fichier pour la parti Information du kext.

    3) Ensuite dans mon code Brut lors de la création de la fenêtre je pensai intégrer mes ui séparer dans la fenêtre principale.

    Donc comme je le disais, je voyais la conception de l'IHM comme du code brut.

    La synthèse
    La fenêtre principale doit être fait dans un fichier UI unique, la séparation en fichier UI se fait sur les partis dynamique de l'interface.

    Les partis dynamique de l'interface étant les fenêtre ou autre élément pouvant être amené à être ajouter/supprimer ou visible/caché.

    Donc dans mon application, mes différent widget de mon interface étant statique, car, visible du début à la fin de l'utilisation du programme doivent être dans le fichier UI de la fenêtre principale.

    Et non séparer comme je le pensais.

    Voilà, donc j'étais plutôt à côté de la plaque, les IHM's sont séparer en fichier UI quand il y a du dynamisme dans l'affichage.

    D'ailleurs lors d'un très fort dynamisme il peut être pratique de faire le widget à la main (fait parti de la synthèse des réponses que j'ai eu).

    Si quelqu'un vien à ce poser la question, j'espère avoir expliqué correctement les choses.

    Si vous avez un avis, conseil, ou autre à apporter au sujet n'hésiter pas.

    Merci

  4. #4
    Membre émérite
    Avatar de ymoreau
    Homme Profil pro
    Ingénieur étude et développement
    Inscrit en
    Septembre 2005
    Messages
    1 154
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 39
    Localisation : France, Bouches du Rhône (Provence Alpes Côte d'Azur)

    Informations professionnelles :
    Activité : Ingénieur étude et développement
    Secteur : High Tech - Éditeur de logiciels

    Informations forums :
    Inscription : Septembre 2005
    Messages : 1 154
    Points : 2 834
    Points
    2 834
    Par défaut
    Je vois que personne n'a donné son avis. Je n'ai pas vraiment d'expérience professionnelle, mais lors d'un précédent projet, j'avais séparé toutes mes parties d'interface car j'affichais différentes parties indépendantes (avec un QStackedWidget), j'avais donc un .ui différent pour chacune. Maintenant je travaille sur un autre projet où toutes les parties sont liées et affichées dans un QTabWidget, et j'ai dessiné la totalité de l'interface dans ma fenêtre principale, avec un seul .ui donc.

    En pratique je trouve la différence négligeable et je n'ai vu aucune contrainte à chacune de ces méthodes. Mais histoire de faire les choses proprement, je pense qu'il vaut mieux comme toi regrouper ce qui est statique directement dans la fenêtre principale et ne séparer que les fenêtres/boîtes-de-dialogues qui ne sont utilisées que ponctuellement.

+ Répondre à la discussion
Cette discussion est résolue.

Discussions similaires

  1. Bonne pratique de développement pour android
    Par SoulGoodMan dans le forum Android
    Réponses: 5
    Dernier message: 19/03/2014, 11h49
  2. Bonnes pratiques pour la création d'IHM
    Par Tuttu dans le forum Windows Forms
    Réponses: 15
    Dernier message: 13/10/2009, 13h55
  3. Bonnes pratiques asp.net pour le réferencement
    Par Iruddy dans le forum ASP.NET
    Réponses: 2
    Dernier message: 02/03/2009, 10h26
  4. Réponses: 10
    Dernier message: 04/09/2007, 13h38

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo