Skip to content
Snippets Groups Projects
Commit d85c2e6f authored by BATON Theau's avatar BATON Theau
Browse files

Remove ui_* files

parent c5616711
No related branches found
No related tags found
No related merge requests found
/********************************************************************************
** Form generated from reading UI file 'mainwindow.ui'
**
** Created by: Qt User Interface Compiler version 6.3.0
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
********************************************************************************/
#ifndef UI_MAINWINDOW_H
#define UI_MAINWINDOW_H
#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QIcon>
#include <QtWidgets/QApplication>
#include <QtWidgets/QGraphicsView>
#include <QtWidgets/QHBoxLayout>
#include <QtWidgets/QHeaderView>
#include <QtWidgets/QListWidget>
#include <QtWidgets/QMainWindow>
#include <QtWidgets/QMenu>
#include <QtWidgets/QMenuBar>
#include <QtWidgets/QPushButton>
#include <QtWidgets/QSpacerItem>
#include <QtWidgets/QStatusBar>
#include <QtWidgets/QTabWidget>
#include <QtWidgets/QToolBar>
#include <QtWidgets/QTreeView>
#include <QtWidgets/QVBoxLayout>
#include <QtWidgets/QWidget>
QT_BEGIN_NAMESPACE
class Ui_MainWindow
{
public:
QAction *_action_new;
QAction *_action_open;
QAction *actionEnregistrer;
QAction *actionEnregistrer_sous;
QAction *_action_save;
QAction *_action_saveAs;
QAction *_action_saveAll;
QAction *_action_close;
QAction *_action_quit;
QAction *_action_undo;
QAction *_action_redo;
QAction *_action_cut;
QAction *_action_copy;
QAction *_action_paste;
QAction *_action_delete;
QAction *_action_zoom_in;
QAction *_action_zoom_out;
QAction *_action_del;
QAction *_action_credit;
QAction *_action_propos;
QAction *_action_trim;
QAction *_action_resize;
QAction *_action_rezise_draw_area;
QAction *_action_turn_verticaly;
QAction *_action_turn_horizonaly;
QAction *_action_rotate_left_90;
QAction *_action_rotate_right_90;
QAction *_action_rotate_180;
QAction *_action_openDirectory;
QWidget *_mainArea;
QHBoxLayout *horizontalLayout_2;
QVBoxLayout *_utilitaryLayout;
QVBoxLayout *verticalLayout;
QTreeView *_filesSelector;
QVBoxLayout *verticalLayout_2;
QListWidget *_filesSelected;
QHBoxLayout *horizontalLayout_3;
QSpacerItem *horizontalSpacer_2;
QPushButton *_add_selectable_element;
QSpacerItem *horizontalSpacer;
QPushButton *_remove_selectable_element;
QSpacerItem *horizontalSpacer_3;
QVBoxLayout *_imageLayout;
QTabWidget *_imageTabs;
QWidget *_imageTabs_1;
QHBoxLayout *horizontalLayout;
QGraphicsView *_imageView;
QWidget *_imageTabs_2;
QVBoxLayout *_toolLayout;
QHBoxLayout *_globalTool;
QPushButton *_colorPicker;
QPushButton *_rescaleButton;
QPushButton *_resizeButton;
QListWidget *_toolbox;
QVBoxLayout *_toolParameterLayout;
QMenuBar *_menubar;
QMenu *_menuFile;
QMenu *_menuEdit;
QMenu *_menuImage;
QMenu *_menuTurn;
QMenu *_menuRotate;
QMenu *_menuHelp;
QMenu *_menuAffichage;
QMenu *_menuSelection;
QStatusBar *_statusbar;
QToolBar *toolBar;
void setupUi(QMainWindow *MainWindow)
{
if (MainWindow->objectName().isEmpty())
MainWindow->setObjectName(QString::fromUtf8("MainWindow"));
MainWindow->resize(1026, 541);
_action_new = new QAction(MainWindow);
_action_new->setObjectName(QString::fromUtf8("_action_new"));
QIcon icon;
icon.addFile(QString::fromUtf8(":/oxygen/16x16/ressource/image/oxygen/icons/16x16/document-new.png"), QSize(), QIcon::Normal, QIcon::Off);
_action_new->setIcon(icon);
_action_open = new QAction(MainWindow);
_action_open->setObjectName(QString::fromUtf8("_action_open"));
QIcon icon1;
icon1.addFile(QString::fromUtf8(":/oxygen/16x16/ressource/image/oxygen/icons/16x16/document-open.png"), QSize(), QIcon::Normal, QIcon::Off);
_action_open->setIcon(icon1);
actionEnregistrer = new QAction(MainWindow);
actionEnregistrer->setObjectName(QString::fromUtf8("actionEnregistrer"));
actionEnregistrer_sous = new QAction(MainWindow);
actionEnregistrer_sous->setObjectName(QString::fromUtf8("actionEnregistrer_sous"));
_action_save = new QAction(MainWindow);
_action_save->setObjectName(QString::fromUtf8("_action_save"));
QIcon icon2;
icon2.addFile(QString::fromUtf8(":/oxygen/16x16/ressource/image/oxygen/icons/16x16/document-save.png"), QSize(), QIcon::Normal, QIcon::Off);
_action_save->setIcon(icon2);
_action_saveAs = new QAction(MainWindow);
_action_saveAs->setObjectName(QString::fromUtf8("_action_saveAs"));
QIcon icon3;
icon3.addFile(QString::fromUtf8(":/oxygen/16x16/ressource/image/oxygen/icons/16x16/document-save-all.png"), QSize(), QIcon::Normal, QIcon::Off);
_action_saveAs->setIcon(icon3);
_action_saveAll = new QAction(MainWindow);
_action_saveAll->setObjectName(QString::fromUtf8("_action_saveAll"));
QIcon icon4;
icon4.addFile(QString::fromUtf8(":/oxygen/16x16/ressource/image/oxygen/icons/16x16/document-save-as.png"), QSize(), QIcon::Normal, QIcon::Off);
_action_saveAll->setIcon(icon4);
_action_close = new QAction(MainWindow);
_action_close->setObjectName(QString::fromUtf8("_action_close"));
QIcon icon5;
icon5.addFile(QString::fromUtf8(":/oxygen/16x16/ressource/image/oxygen/icons/16x16/document-close.png"), QSize(), QIcon::Normal, QIcon::Off);
_action_close->setIcon(icon5);
_action_quit = new QAction(MainWindow);
_action_quit->setObjectName(QString::fromUtf8("_action_quit"));
QIcon icon6;
icon6.addFile(QString::fromUtf8(":/oxygen/16x16/ressource/image/oxygen/icons/16x16/dialog-close.png"), QSize(), QIcon::Normal, QIcon::Off);
_action_quit->setIcon(icon6);
_action_quit->setMenuRole(QAction::QuitRole);
_action_undo = new QAction(MainWindow);
_action_undo->setObjectName(QString::fromUtf8("_action_undo"));
QIcon icon7;
icon7.addFile(QString::fromUtf8(":/oxygen/16x16/ressource/image/oxygen/icons/16x16/edit-undo.png"), QSize(), QIcon::Normal, QIcon::Off);
_action_undo->setIcon(icon7);
_action_redo = new QAction(MainWindow);
_action_redo->setObjectName(QString::fromUtf8("_action_redo"));
QIcon icon8;
icon8.addFile(QString::fromUtf8(":/oxygen/16x16/ressource/image/oxygen/icons/16x16/edit-redo.png"), QSize(), QIcon::Normal, QIcon::Off);
_action_redo->setIcon(icon8);
_action_cut = new QAction(MainWindow);
_action_cut->setObjectName(QString::fromUtf8("_action_cut"));
QIcon icon9;
icon9.addFile(QString::fromUtf8(":/oxygen/16x16/ressource/image/oxygen/icons/16x16/edit-cut.png"), QSize(), QIcon::Normal, QIcon::Off);
_action_cut->setIcon(icon9);
_action_copy = new QAction(MainWindow);
_action_copy->setObjectName(QString::fromUtf8("_action_copy"));
QIcon icon10;
icon10.addFile(QString::fromUtf8(":/oxygen/16x16/ressource/image/oxygen/icons/16x16/edit-copy.png"), QSize(), QIcon::Normal, QIcon::Off);
_action_copy->setIcon(icon10);
_action_paste = new QAction(MainWindow);
_action_paste->setObjectName(QString::fromUtf8("_action_paste"));
QIcon icon11;
icon11.addFile(QString::fromUtf8(":/oxygen/16x16/ressource/image/oxygen/icons/16x16/edit-paste.png"), QSize(), QIcon::Normal, QIcon::Off);
_action_paste->setIcon(icon11);
_action_delete = new QAction(MainWindow);
_action_delete->setObjectName(QString::fromUtf8("_action_delete"));
QIcon icon12;
icon12.addFile(QString::fromUtf8(":/image/oxygen/icons/16x16/ressource/image/oxygen/icons/16x16/edit-delete.png"), QSize(), QIcon::Normal, QIcon::Off);
_action_delete->setIcon(icon12);
_action_zoom_in = new QAction(MainWindow);
_action_zoom_in->setObjectName(QString::fromUtf8("_action_zoom_in"));
QIcon icon13;
icon13.addFile(QString::fromUtf8(":/oxygen/16x16/ressource/image/oxygen/icons/16x16/image-zoom-in.png"), QSize(), QIcon::Normal, QIcon::Off);
_action_zoom_in->setIcon(icon13);
_action_zoom_out = new QAction(MainWindow);
_action_zoom_out->setObjectName(QString::fromUtf8("_action_zoom_out"));
QIcon icon14;
icon14.addFile(QString::fromUtf8(":/oxygen/16x16/ressource/image/oxygen/icons/16x16/image-zoom-out.png"), QSize(), QIcon::Normal, QIcon::Off);
_action_zoom_out->setIcon(icon14);
_action_del = new QAction(MainWindow);
_action_del->setObjectName(QString::fromUtf8("_action_del"));
QIcon icon15;
icon15.addFile(QString::fromUtf8(":/oxygen/16x16/ressource/image/oxygen/icons/16x16/edit-clear-locationbar-rtl.png"), QSize(), QIcon::Normal, QIcon::Off);
_action_del->setIcon(icon15);
_action_credit = new QAction(MainWindow);
_action_credit->setObjectName(QString::fromUtf8("_action_credit"));
QIcon icon16;
icon16.addFile(QString::fromUtf8(":/oxygen/16x16/ressource/image/oxygen/icons/16x16/system-help.png"), QSize(), QIcon::Normal, QIcon::Off);
_action_credit->setIcon(icon16);
_action_propos = new QAction(MainWindow);
_action_propos->setObjectName(QString::fromUtf8("_action_propos"));
QIcon icon17;
icon17.addFile(QString::fromUtf8(":/oxygen/16x16/ressource/image/oxygen/icons/16x16/documentinfo.png"), QSize(), QIcon::Normal, QIcon::Off);
_action_propos->setIcon(icon17);
_action_trim = new QAction(MainWindow);
_action_trim->setObjectName(QString::fromUtf8("_action_trim"));
QIcon icon18;
icon18.addFile(QString::fromUtf8(":/oxygen/16x16/ressource/image/oxygen/icons/16x16/transform-crop-and-resize.png"), QSize(), QIcon::Normal, QIcon::Off);
_action_trim->setIcon(icon18);
_action_resize = new QAction(MainWindow);
_action_resize->setObjectName(QString::fromUtf8("_action_resize"));
QIcon icon19;
icon19.addFile(QString::fromUtf8(":/oxygen/16x16/ressource/image/oxygen/icons/16x16/transform-scale.png"), QSize(), QIcon::Normal, QIcon::Off);
_action_resize->setIcon(icon19);
_action_rezise_draw_area = new QAction(MainWindow);
_action_rezise_draw_area->setObjectName(QString::fromUtf8("_action_rezise_draw_area"));
QIcon icon20;
icon20.addFile(QString::fromUtf8(":/oxygen/16x16/ressource/image/oxygen/icons/16x16/transform-crop.png"), QSize(), QIcon::Normal, QIcon::Off);
_action_rezise_draw_area->setIcon(icon20);
_action_turn_verticaly = new QAction(MainWindow);
_action_turn_verticaly->setObjectName(QString::fromUtf8("_action_turn_verticaly"));
QIcon icon21;
icon21.addFile(QString::fromUtf8(":/oxygen/16x16/ressource/image/oxygen/icons/16x16/align-horizontal-center.png"), QSize(), QIcon::Normal, QIcon::Off);
_action_turn_verticaly->setIcon(icon21);
_action_turn_horizonaly = new QAction(MainWindow);
_action_turn_horizonaly->setObjectName(QString::fromUtf8("_action_turn_horizonaly"));
QIcon icon22;
icon22.addFile(QString::fromUtf8(":/oxygen/16x16/ressource/image/oxygen/icons/16x16/align-vertical-center.png"), QSize(), QIcon::Normal, QIcon::Off);
_action_turn_horizonaly->setIcon(icon22);
_action_rotate_left_90 = new QAction(MainWindow);
_action_rotate_left_90->setObjectName(QString::fromUtf8("_action_rotate_left_90"));
QIcon icon23;
icon23.addFile(QString::fromUtf8(":/oxygen/16x16/ressource/image/oxygen/icons/16x16/object-rotate-left.png"), QSize(), QIcon::Normal, QIcon::Off);
_action_rotate_left_90->setIcon(icon23);
_action_rotate_right_90 = new QAction(MainWindow);
_action_rotate_right_90->setObjectName(QString::fromUtf8("_action_rotate_right_90"));
QIcon icon24;
icon24.addFile(QString::fromUtf8(":/oxygen/16x16/ressource/image/oxygen/icons/16x16/object-rotate-right.png"), QSize(), QIcon::Normal, QIcon::Off);
_action_rotate_right_90->setIcon(icon24);
_action_rotate_180 = new QAction(MainWindow);
_action_rotate_180->setObjectName(QString::fromUtf8("_action_rotate_180"));
QIcon icon25;
icon25.addFile(QString::fromUtf8(":/oxygen/16x16/ressource/image/oxygen/icons/16x16/transform-rotate.png"), QSize(), QIcon::Normal, QIcon::Off);
_action_rotate_180->setIcon(icon25);
_action_openDirectory = new QAction(MainWindow);
_action_openDirectory->setObjectName(QString::fromUtf8("_action_openDirectory"));
QIcon icon26;
icon26.addFile(QString::fromUtf8(":/oxygen/16x16/ressource/image/oxygen/icons/16x16/document-open-folder.png"), QSize(), QIcon::Normal, QIcon::Off);
_action_openDirectory->setIcon(icon26);
_mainArea = new QWidget(MainWindow);
_mainArea->setObjectName(QString::fromUtf8("_mainArea"));
horizontalLayout_2 = new QHBoxLayout(_mainArea);
horizontalLayout_2->setSpacing(0);
horizontalLayout_2->setObjectName(QString::fromUtf8("horizontalLayout_2"));
horizontalLayout_2->setContentsMargins(0, 0, 0, 0);
_utilitaryLayout = new QVBoxLayout();
_utilitaryLayout->setSpacing(0);
_utilitaryLayout->setObjectName(QString::fromUtf8("_utilitaryLayout"));
verticalLayout = new QVBoxLayout();
verticalLayout->setSpacing(0);
verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
_filesSelector = new QTreeView(_mainArea);
_filesSelector->setObjectName(QString::fromUtf8("_filesSelector"));
QSizePolicy sizePolicy(QSizePolicy::Minimum, QSizePolicy::Minimum);
sizePolicy.setHorizontalStretch(0);
sizePolicy.setVerticalStretch(0);
sizePolicy.setHeightForWidth(_filesSelector->sizePolicy().hasHeightForWidth());
_filesSelector->setSizePolicy(sizePolicy);
_filesSelector->setAutoFillBackground(false);
_filesSelector->setFrameShape(QFrame::HLine);
_filesSelector->setFrameShadow(QFrame::Plain);
_filesSelector->setLineWidth(0);
_filesSelector->setDragEnabled(false);
_filesSelector->setTextElideMode(Qt::ElideRight);
_filesSelector->header()->setDefaultSectionSize(57);
_filesSelector->header()->setHighlightSections(false);
verticalLayout->addWidget(_filesSelector);
verticalLayout_2 = new QVBoxLayout();
verticalLayout_2->setSpacing(0);
verticalLayout_2->setObjectName(QString::fromUtf8("verticalLayout_2"));
_filesSelected = new QListWidget(_mainArea);
_filesSelected->setObjectName(QString::fromUtf8("_filesSelected"));
sizePolicy.setHeightForWidth(_filesSelected->sizePolicy().hasHeightForWidth());
_filesSelected->setSizePolicy(sizePolicy);
_filesSelected->setFrameShape(QFrame::HLine);
_filesSelected->setFrameShadow(QFrame::Plain);
_filesSelected->setTabKeyNavigation(true);
_filesSelected->setDragEnabled(false);
_filesSelected->setDragDropOverwriteMode(true);
_filesSelected->setDragDropMode(QAbstractItemView::NoDragDrop);
_filesSelected->setSelectionMode(QAbstractItemView::ExtendedSelection);
_filesSelected->setViewMode(QListView::ListMode);
_filesSelected->setUniformItemSizes(false);
_filesSelected->setSelectionRectVisible(true);
verticalLayout_2->addWidget(_filesSelected);
horizontalLayout_3 = new QHBoxLayout();
horizontalLayout_3->setSpacing(0);
horizontalLayout_3->setObjectName(QString::fromUtf8("horizontalLayout_3"));
horizontalSpacer_2 = new QSpacerItem(40, 20, QSizePolicy::Minimum, QSizePolicy::Minimum);
horizontalLayout_3->addItem(horizontalSpacer_2);
_add_selectable_element = new QPushButton(_mainArea);
_add_selectable_element->setObjectName(QString::fromUtf8("_add_selectable_element"));
QIcon icon27;
icon27.addFile(QString::fromUtf8(":/oxygen/16x16/ressource/image/oxygen/icons/16x16/list-add.png"), QSize(), QIcon::Normal, QIcon::Off);
_add_selectable_element->setIcon(icon27);
horizontalLayout_3->addWidget(_add_selectable_element);
horizontalSpacer = new QSpacerItem(40, 20, QSizePolicy::Minimum, QSizePolicy::Minimum);
horizontalLayout_3->addItem(horizontalSpacer);
_remove_selectable_element = new QPushButton(_mainArea);
_remove_selectable_element->setObjectName(QString::fromUtf8("_remove_selectable_element"));
QIcon icon28;
icon28.addFile(QString::fromUtf8(":/oxygen/16x16/ressource/image/oxygen/icons/16x16/list-remove.png"), QSize(), QIcon::Normal, QIcon::Off);
_remove_selectable_element->setIcon(icon28);
horizontalLayout_3->addWidget(_remove_selectable_element);
horizontalSpacer_3 = new QSpacerItem(40, 20, QSizePolicy::Minimum, QSizePolicy::Minimum);
horizontalLayout_3->addItem(horizontalSpacer_3);
verticalLayout_2->addLayout(horizontalLayout_3);
verticalLayout->addLayout(verticalLayout_2);
_utilitaryLayout->addLayout(verticalLayout);
horizontalLayout_2->addLayout(_utilitaryLayout);
_imageLayout = new QVBoxLayout();
_imageLayout->setObjectName(QString::fromUtf8("_imageLayout"));
_imageTabs = new QTabWidget(_mainArea);
_imageTabs->setObjectName(QString::fromUtf8("_imageTabs"));
_imageTabs->setCursor(QCursor(Qt::OpenHandCursor));
_imageTabs->setMouseTracking(true);
_imageTabs->setTabPosition(QTabWidget::North);
_imageTabs->setTabShape(QTabWidget::Rounded);
_imageTabs->setElideMode(Qt::ElideRight);
_imageTabs->setDocumentMode(false);
_imageTabs->setTabsClosable(true);
_imageTabs->setMovable(true);
_imageTabs->setTabBarAutoHide(false);
_imageTabs_1 = new QWidget();
_imageTabs_1->setObjectName(QString::fromUtf8("_imageTabs_1"));
horizontalLayout = new QHBoxLayout(_imageTabs_1);
horizontalLayout->setSpacing(0);
horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
horizontalLayout->setContentsMargins(0, 0, 0, 0);
_imageView = new QGraphicsView(_imageTabs_1);
_imageView->setObjectName(QString::fromUtf8("_imageView"));
_imageView->viewport()->setProperty("cursor", QVariant(QCursor(Qt::CrossCursor)));
_imageView->setMouseTracking(true);
_imageView->setFrameShape(QFrame::NoFrame);
_imageView->setFrameShadow(QFrame::Plain);
horizontalLayout->addWidget(_imageView);
QIcon icon29;
icon29.addFile(QString::fromUtf8(":/image/oxygen/icons/16x16/ressource/image/oxygen/icons/16x16/preferences-system.png"), QSize(), QIcon::Normal, QIcon::Off);
_imageTabs->addTab(_imageTabs_1, icon29, QString());
_imageTabs_2 = new QWidget();
_imageTabs_2->setObjectName(QString::fromUtf8("_imageTabs_2"));
_imageTabs->addTab(_imageTabs_2, QString());
_imageLayout->addWidget(_imageTabs);
horizontalLayout_2->addLayout(_imageLayout);
_toolLayout = new QVBoxLayout();
_toolLayout->setSpacing(0);
_toolLayout->setObjectName(QString::fromUtf8("_toolLayout"));
_globalTool = new QHBoxLayout();
_globalTool->setSpacing(0);
_globalTool->setObjectName(QString::fromUtf8("_globalTool"));
_colorPicker = new QPushButton(_mainArea);
_colorPicker->setObjectName(QString::fromUtf8("_colorPicker"));
sizePolicy.setHeightForWidth(_colorPicker->sizePolicy().hasHeightForWidth());
_colorPicker->setSizePolicy(sizePolicy);
QIcon icon30;
icon30.addFile(QString::fromUtf8(":/oxygen/64x64/ressource/image/oxygen/icons/64x64/preferences-desktop-color.png"), QSize(), QIcon::Normal, QIcon::Off);
_colorPicker->setIcon(icon30);
_colorPicker->setIconSize(QSize(32, 32));
_colorPicker->setFlat(false);
_globalTool->addWidget(_colorPicker);
_rescaleButton = new QPushButton(_mainArea);
_rescaleButton->setObjectName(QString::fromUtf8("_rescaleButton"));
sizePolicy.setHeightForWidth(_rescaleButton->sizePolicy().hasHeightForWidth());
_rescaleButton->setSizePolicy(sizePolicy);
QIcon icon31;
icon31.addFile(QString::fromUtf8(":/oxygen/64x64/ressource/image/oxygen/icons/64x64/transform-scale.png"), QSize(), QIcon::Normal, QIcon::Off);
_rescaleButton->setIcon(icon31);
_rescaleButton->setIconSize(QSize(32, 32));
_globalTool->addWidget(_rescaleButton);
_resizeButton = new QPushButton(_mainArea);
_resizeButton->setObjectName(QString::fromUtf8("_resizeButton"));
sizePolicy.setHeightForWidth(_resizeButton->sizePolicy().hasHeightForWidth());
_resizeButton->setSizePolicy(sizePolicy);
QIcon icon32;
icon32.addFile(QString::fromUtf8(":/oxygen/64x64/ressource/image/oxygen/icons/64x64/transform-crop-and-resize.png"), QSize(), QIcon::Normal, QIcon::Off);
_resizeButton->setIcon(icon32);
_resizeButton->setIconSize(QSize(32, 32));
_globalTool->addWidget(_resizeButton);
_toolLayout->addLayout(_globalTool);
_toolbox = new QListWidget(_mainArea);
_toolbox->setObjectName(QString::fromUtf8("_toolbox"));
QSizePolicy sizePolicy1(QSizePolicy::Minimum, QSizePolicy::Expanding);
sizePolicy1.setHorizontalStretch(0);
sizePolicy1.setVerticalStretch(0);
sizePolicy1.setHeightForWidth(_toolbox->sizePolicy().hasHeightForWidth());
_toolbox->setSizePolicy(sizePolicy1);
_toolbox->viewport()->setProperty("cursor", QVariant(QCursor(Qt::PointingHandCursor)));
_toolbox->setFrameShape(QFrame::NoFrame);
_toolbox->setTabKeyNavigation(true);
_toolbox->setAlternatingRowColors(true);
_toolbox->setIconSize(QSize(16, 16));
_toolbox->setSortingEnabled(true);
_toolLayout->addWidget(_toolbox);
_toolParameterLayout = new QVBoxLayout();
_toolParameterLayout->setSpacing(0);
_toolParameterLayout->setObjectName(QString::fromUtf8("_toolParameterLayout"));
_toolLayout->addLayout(_toolParameterLayout);
horizontalLayout_2->addLayout(_toolLayout);
MainWindow->setCentralWidget(_mainArea);
_menubar = new QMenuBar(MainWindow);
_menubar->setObjectName(QString::fromUtf8("_menubar"));
_menubar->setGeometry(QRect(0, 0, 1026, 22));
_menuFile = new QMenu(_menubar);
_menuFile->setObjectName(QString::fromUtf8("_menuFile"));
_menuFile->setAutoFillBackground(false);
_menuEdit = new QMenu(_menubar);
_menuEdit->setObjectName(QString::fromUtf8("_menuEdit"));
_menuImage = new QMenu(_menubar);
_menuImage->setObjectName(QString::fromUtf8("_menuImage"));
_menuTurn = new QMenu(_menuImage);
_menuTurn->setObjectName(QString::fromUtf8("_menuTurn"));
QIcon icon33;
icon33.addFile(QString::fromUtf8(":/oxygen/16x16/ressource/image/oxygen/icons/16x16/align-none.png"), QSize(), QIcon::Normal, QIcon::Off);
_menuTurn->setIcon(icon33);
_menuRotate = new QMenu(_menuImage);
_menuRotate->setObjectName(QString::fromUtf8("_menuRotate"));
_menuRotate->setIcon(icon25);
_menuHelp = new QMenu(_menubar);
_menuHelp->setObjectName(QString::fromUtf8("_menuHelp"));
_menuAffichage = new QMenu(_menubar);
_menuAffichage->setObjectName(QString::fromUtf8("_menuAffichage"));
_menuSelection = new QMenu(_menubar);
_menuSelection->setObjectName(QString::fromUtf8("_menuSelection"));
MainWindow->setMenuBar(_menubar);
_statusbar = new QStatusBar(MainWindow);
_statusbar->setObjectName(QString::fromUtf8("_statusbar"));
MainWindow->setStatusBar(_statusbar);
toolBar = new QToolBar(MainWindow);
toolBar->setObjectName(QString::fromUtf8("toolBar"));
toolBar->setEnabled(true);
toolBar->setMovable(false);
MainWindow->addToolBar(Qt::TopToolBarArea, toolBar);
QWidget::setTabOrder(_imageTabs, _imageView);
_menubar->addAction(_menuFile->menuAction());
_menubar->addAction(_menuEdit->menuAction());
_menubar->addAction(_menuSelection->menuAction());
_menubar->addAction(_menuAffichage->menuAction());
_menubar->addAction(_menuImage->menuAction());
_menubar->addAction(_menuHelp->menuAction());
_menuFile->addAction(_action_new);
_menuFile->addAction(_action_open);
_menuFile->addAction(_action_openDirectory);
_menuFile->addSeparator();
_menuFile->addAction(_action_save);
_menuFile->addAction(_action_saveAs);
_menuFile->addAction(_action_saveAll);
_menuFile->addSeparator();
_menuFile->addAction(_action_close);
_menuFile->addAction(_action_quit);
_menuEdit->addAction(_action_undo);
_menuEdit->addAction(_action_redo);
_menuEdit->addSeparator();
_menuEdit->addAction(_action_cut);
_menuEdit->addAction(_action_copy);
_menuEdit->addAction(_action_paste);
_menuImage->addAction(_action_trim);
_menuImage->addAction(_action_resize);
_menuImage->addSeparator();
_menuImage->addAction(_menuTurn->menuAction());
_menuImage->addAction(_menuRotate->menuAction());
_menuTurn->addAction(_action_turn_verticaly);
_menuTurn->addAction(_action_turn_horizonaly);
_menuRotate->addAction(_action_rotate_left_90);
_menuRotate->addAction(_action_rotate_right_90);
_menuHelp->addAction(_action_credit);
_menuHelp->addAction(_action_propos);
_menuAffichage->addAction(_action_zoom_in);
_menuAffichage->addAction(_action_zoom_out);
_menuSelection->addAction(_action_del);
toolBar->addAction(_action_new);
toolBar->addAction(_action_close);
toolBar->addAction(_action_save);
toolBar->addAction(_action_saveAs);
toolBar->addAction(_action_saveAll);
toolBar->addAction(_action_zoom_in);
toolBar->addAction(_action_zoom_out);
toolBar->addAction(_action_rotate_left_90);
toolBar->addAction(_action_rotate_right_90);
toolBar->addAction(_action_turn_verticaly);
toolBar->addAction(_action_turn_horizonaly);
retranslateUi(MainWindow);
_imageTabs->setCurrentIndex(0);
QMetaObject::connectSlotsByName(MainWindow);
} // setupUi
void retranslateUi(QMainWindow *MainWindow)
{
MainWindow->setWindowTitle(QCoreApplication::translate("MainWindow", "MainWindow", nullptr));
_action_new->setText(QCoreApplication::translate("MainWindow", "Nouveau...", nullptr));
#if QT_CONFIG(statustip)
_action_new->setStatusTip(QCoreApplication::translate("MainWindow", "Cr\303\251e une nouvelle image.", nullptr));
#endif // QT_CONFIG(statustip)
#if QT_CONFIG(shortcut)
_action_new->setShortcut(QCoreApplication::translate("MainWindow", "Ctrl+N", nullptr));
#endif // QT_CONFIG(shortcut)
_action_open->setText(QCoreApplication::translate("MainWindow", "Ouvrir...", nullptr));
#if QT_CONFIG(statustip)
_action_open->setStatusTip(QCoreApplication::translate("MainWindow", "Ouvre une image.", nullptr));
#endif // QT_CONFIG(statustip)
#if QT_CONFIG(shortcut)
_action_open->setShortcut(QCoreApplication::translate("MainWindow", "Ctrl+O", nullptr));
#endif // QT_CONFIG(shortcut)
actionEnregistrer->setText(QCoreApplication::translate("MainWindow", "Enregistrer", nullptr));
actionEnregistrer_sous->setText(QCoreApplication::translate("MainWindow", "Enregistrer sous...", nullptr));
_action_save->setText(QCoreApplication::translate("MainWindow", "Enregistrer", nullptr));
#if QT_CONFIG(statustip)
_action_save->setStatusTip(QCoreApplication::translate("MainWindow", "Sauvegarder l'image courrante.", nullptr));
#endif // QT_CONFIG(statustip)
#if QT_CONFIG(shortcut)
_action_save->setShortcut(QCoreApplication::translate("MainWindow", "Ctrl+S", nullptr));
#endif // QT_CONFIG(shortcut)
_action_saveAs->setText(QCoreApplication::translate("MainWindow", "Enregistrer sous...", nullptr));
#if QT_CONFIG(statustip)
_action_saveAs->setStatusTip(QCoreApplication::translate("MainWindow", "Sauvergader sous l'image courrante.", nullptr));
#endif // QT_CONFIG(statustip)
#if QT_CONFIG(shortcut)
_action_saveAs->setShortcut(QCoreApplication::translate("MainWindow", "Ctrl+Shift+S", nullptr));
#endif // QT_CONFIG(shortcut)
_action_saveAll->setText(QCoreApplication::translate("MainWindow", "Enregistrer tout", nullptr));
#if QT_CONFIG(statustip)
_action_saveAll->setStatusTip(QCoreApplication::translate("MainWindow", "Sauvegarder toutes les images.", nullptr));
#endif // QT_CONFIG(statustip)
#if QT_CONFIG(shortcut)
_action_saveAll->setShortcut(QCoreApplication::translate("MainWindow", "Ctrl+Alt+S", nullptr));
#endif // QT_CONFIG(shortcut)
_action_close->setText(QCoreApplication::translate("MainWindow", "Fermer", nullptr));
#if QT_CONFIG(statustip)
_action_close->setStatusTip(QCoreApplication::translate("MainWindow", "Ferme l'image courrante.", nullptr));
#endif // QT_CONFIG(statustip)
#if QT_CONFIG(whatsthis)
_action_close->setWhatsThis(QString());
#endif // QT_CONFIG(whatsthis)
#if QT_CONFIG(shortcut)
_action_close->setShortcut(QCoreApplication::translate("MainWindow", "Ctrl+R", nullptr));
#endif // QT_CONFIG(shortcut)
_action_quit->setText(QCoreApplication::translate("MainWindow", "Quitter", nullptr));
#if QT_CONFIG(statustip)
_action_quit->setStatusTip(QCoreApplication::translate("MainWindow", "Quitter l'application.", nullptr));
#endif // QT_CONFIG(statustip)
#if QT_CONFIG(shortcut)
_action_quit->setShortcut(QCoreApplication::translate("MainWindow", "Ctrl+Alt+Q", nullptr));
#endif // QT_CONFIG(shortcut)
_action_undo->setText(QCoreApplication::translate("MainWindow", "Annuler", nullptr));
#if QT_CONFIG(statustip)
_action_undo->setStatusTip(QCoreApplication::translate("MainWindow", "Annule le dernier changement.", nullptr));
#endif // QT_CONFIG(statustip)
#if QT_CONFIG(shortcut)
_action_undo->setShortcut(QCoreApplication::translate("MainWindow", "Ctrl+Z", nullptr));
#endif // QT_CONFIG(shortcut)
_action_redo->setText(QCoreApplication::translate("MainWindow", "R\303\251p\303\251ter", nullptr));
#if QT_CONFIG(statustip)
_action_redo->setStatusTip(QCoreApplication::translate("MainWindow", "Annule la derni\303\250re annulation de changement.", nullptr));
#endif // QT_CONFIG(statustip)
#if QT_CONFIG(shortcut)
_action_redo->setShortcut(QCoreApplication::translate("MainWindow", "Ctrl+Y", nullptr));
#endif // QT_CONFIG(shortcut)
_action_cut->setText(QCoreApplication::translate("MainWindow", "Couper", nullptr));
#if QT_CONFIG(statustip)
_action_cut->setStatusTip(QCoreApplication::translate("MainWindow", "Coupe la selection courante.", nullptr));
#endif // QT_CONFIG(statustip)
#if QT_CONFIG(shortcut)
_action_cut->setShortcut(QCoreApplication::translate("MainWindow", "Ctrl+X", nullptr));
#endif // QT_CONFIG(shortcut)
_action_copy->setText(QCoreApplication::translate("MainWindow", "Copier", nullptr));
#if QT_CONFIG(statustip)
_action_copy->setStatusTip(QCoreApplication::translate("MainWindow", "Copie la selection courante", nullptr));
#endif // QT_CONFIG(statustip)
#if QT_CONFIG(shortcut)
_action_copy->setShortcut(QCoreApplication::translate("MainWindow", "Ctrl+C", nullptr));
#endif // QT_CONFIG(shortcut)
_action_paste->setText(QCoreApplication::translate("MainWindow", "Coller", nullptr));
#if QT_CONFIG(statustip)
_action_paste->setStatusTip(QCoreApplication::translate("MainWindow", "Colle ce qui \303\240 \303\251t\303\251 copier ou couper.", nullptr));
#endif // QT_CONFIG(statustip)
#if QT_CONFIG(shortcut)
_action_paste->setShortcut(QCoreApplication::translate("MainWindow", "Ctrl+V", nullptr));
#endif // QT_CONFIG(shortcut)
_action_delete->setText(QCoreApplication::translate("MainWindow", "Supprimer", nullptr));
#if QT_CONFIG(statustip)
_action_delete->setStatusTip(QCoreApplication::translate("MainWindow", "Suprime la section actuelle.", nullptr));
#endif // QT_CONFIG(statustip)
#if QT_CONFIG(shortcut)
_action_delete->setShortcut(QCoreApplication::translate("MainWindow", "Del", nullptr));
#endif // QT_CONFIG(shortcut)
_action_zoom_in->setText(QCoreApplication::translate("MainWindow", "Zoom avant", nullptr));
#if QT_CONFIG(statustip)
_action_zoom_in->setStatusTip(QCoreApplication::translate("MainWindow", "Zoom en avant.", nullptr));
#endif // QT_CONFIG(statustip)
#if QT_CONFIG(shortcut)
_action_zoom_in->setShortcut(QCoreApplication::translate("MainWindow", "PgUp", nullptr));
#endif // QT_CONFIG(shortcut)
_action_zoom_out->setText(QCoreApplication::translate("MainWindow", "Zoom arri\303\250re", nullptr));
#if QT_CONFIG(statustip)
_action_zoom_out->setStatusTip(QCoreApplication::translate("MainWindow", "Zoom en arri\303\250re", nullptr));
#endif // QT_CONFIG(statustip)
#if QT_CONFIG(shortcut)
_action_zoom_out->setShortcut(QCoreApplication::translate("MainWindow", "PgDown", nullptr));
#endif // QT_CONFIG(shortcut)
_action_del->setText(QCoreApplication::translate("MainWindow", "Supprimer", nullptr));
#if QT_CONFIG(statustip)
_action_del->setStatusTip(QCoreApplication::translate("MainWindow", "Supprime la selection courante.", nullptr));
#endif // QT_CONFIG(statustip)
#if QT_CONFIG(shortcut)
_action_del->setShortcut(QCoreApplication::translate("MainWindow", "Backspace", nullptr));
#endif // QT_CONFIG(shortcut)
_action_credit->setText(QCoreApplication::translate("MainWindow", "Aide", nullptr));
#if QT_CONFIG(statustip)
_action_credit->setStatusTip(QCoreApplication::translate("MainWindow", "Affiche l'aide.", nullptr));
#endif // QT_CONFIG(statustip)
#if QT_CONFIG(shortcut)
_action_credit->setShortcut(QCoreApplication::translate("MainWindow", "F1", nullptr));
#endif // QT_CONFIG(shortcut)
_action_propos->setText(QCoreApplication::translate("MainWindow", "\303\200 propos", nullptr));
_action_trim->setText(QCoreApplication::translate("MainWindow", "Rogner", nullptr));
#if QT_CONFIG(statustip)
_action_trim->setStatusTip(QCoreApplication::translate("MainWindow", "Supprime les partie de l'image qui ne sont pas dans la selection courrante", nullptr));
#endif // QT_CONFIG(statustip)
#if QT_CONFIG(shortcut)
_action_trim->setShortcut(QCoreApplication::translate("MainWindow", "Ctrl+Shift+X", nullptr));
#endif // QT_CONFIG(shortcut)
_action_resize->setText(QCoreApplication::translate("MainWindow", "Redimensionner...", nullptr));
#if QT_CONFIG(statustip)
_action_resize->setStatusTip(QCoreApplication::translate("MainWindow", "Redimensionne l'image.", nullptr));
#endif // QT_CONFIG(statustip)
#if QT_CONFIG(shortcut)
_action_resize->setShortcut(QCoreApplication::translate("MainWindow", "Ctrl+R", nullptr));
#endif // QT_CONFIG(shortcut)
_action_rezise_draw_area->setText(QCoreApplication::translate("MainWindow", "Changer la taille de la zone de dessin...", nullptr));
#if QT_CONFIG(statustip)
_action_rezise_draw_area->setStatusTip(QCoreApplication::translate("MainWindow", "Change la taille de la zone de dessin.", nullptr));
#endif // QT_CONFIG(statustip)
#if QT_CONFIG(shortcut)
_action_rezise_draw_area->setShortcut(QCoreApplication::translate("MainWindow", "Ctrl+Shift+R", nullptr));
#endif // QT_CONFIG(shortcut)
_action_turn_verticaly->setText(QCoreApplication::translate("MainWindow", "Verticalement", nullptr));
#if QT_CONFIG(statustip)
_action_turn_verticaly->setStatusTip(QCoreApplication::translate("MainWindow", "Tourne verticalement l'image.", nullptr));
#endif // QT_CONFIG(statustip)
_action_turn_horizonaly->setText(QCoreApplication::translate("MainWindow", "Horizontalement", nullptr));
#if QT_CONFIG(statustip)
_action_turn_horizonaly->setStatusTip(QCoreApplication::translate("MainWindow", "Tourne horizontalement l'image.", nullptr));
#endif // QT_CONFIG(statustip)
_action_rotate_left_90->setText(QCoreApplication::translate("MainWindow", "Faire pivoter vers la gauche de 90\302\260", nullptr));
#if QT_CONFIG(statustip)
_action_rotate_left_90->setStatusTip(QCoreApplication::translate("MainWindow", "Effectue une rotation, vers la gauche, de l'image \303\240 90 degr\303\251es.", nullptr));
#endif // QT_CONFIG(statustip)
#if QT_CONFIG(shortcut)
_action_rotate_left_90->setShortcut(QCoreApplication::translate("MainWindow", "Ctrl+G", nullptr));
#endif // QT_CONFIG(shortcut)
_action_rotate_right_90->setText(QCoreApplication::translate("MainWindow", "Faire pivoter vers la droite de 90\302\260", nullptr));
#if QT_CONFIG(statustip)
_action_rotate_right_90->setStatusTip(QCoreApplication::translate("MainWindow", "Effectue une rotation, vers la droite, de l'image \303\240 90 degr\303\251es.", nullptr));
#endif // QT_CONFIG(statustip)
#if QT_CONFIG(shortcut)
_action_rotate_right_90->setShortcut(QCoreApplication::translate("MainWindow", "Ctrl+H", nullptr));
#endif // QT_CONFIG(shortcut)
_action_rotate_180->setText(QCoreApplication::translate("MainWindow", "Faire Pivoter de 180\302\260", nullptr));
#if QT_CONFIG(statustip)
_action_rotate_180->setStatusTip(QCoreApplication::translate("MainWindow", "Effectue une rotation de l'image \303\240 180 degr\303\251es.", nullptr));
#endif // QT_CONFIG(statustip)
_action_openDirectory->setText(QCoreApplication::translate("MainWindow", "Ouvrir r\303\251pertoire...", nullptr));
#if QT_CONFIG(statustip)
_action_openDirectory->setStatusTip(QCoreApplication::translate("MainWindow", "Ouvre une r\303\251pertoire.", nullptr));
#endif // QT_CONFIG(statustip)
#if QT_CONFIG(shortcut)
_action_openDirectory->setShortcut(QCoreApplication::translate("MainWindow", "Ctrl+Shift+O", nullptr));
#endif // QT_CONFIG(shortcut)
#if QT_CONFIG(statustip)
_filesSelector->setStatusTip(QString());
#endif // QT_CONFIG(statustip)
#if QT_CONFIG(accessibility)
_filesSelector->setAccessibleName(QString());
#endif // QT_CONFIG(accessibility)
#if QT_CONFIG(statustip)
_filesSelected->setStatusTip(QCoreApplication::translate("MainWindow", "Liste des images ouvrables.", nullptr));
#endif // QT_CONFIG(statustip)
#if QT_CONFIG(tooltip)
_add_selectable_element->setToolTip(QString());
#endif // QT_CONFIG(tooltip)
#if QT_CONFIG(statustip)
_add_selectable_element->setStatusTip(QCoreApplication::translate("MainWindow", "Ajouter une image \303\240 la liste des images.", nullptr));
#endif // QT_CONFIG(statustip)
_add_selectable_element->setText(QString());
#if QT_CONFIG(shortcut)
_add_selectable_element->setShortcut(QCoreApplication::translate("MainWindow", "Ins", nullptr));
#endif // QT_CONFIG(shortcut)
#if QT_CONFIG(tooltip)
_remove_selectable_element->setToolTip(QString());
#endif // QT_CONFIG(tooltip)
#if QT_CONFIG(statustip)
_remove_selectable_element->setStatusTip(QCoreApplication::translate("MainWindow", "Retirer une image de la liste des images.", nullptr));
#endif // QT_CONFIG(statustip)
_remove_selectable_element->setText(QString());
#if QT_CONFIG(shortcut)
_remove_selectable_element->setShortcut(QCoreApplication::translate("MainWindow", "Del", nullptr));
#endif // QT_CONFIG(shortcut)
_imageTabs->setTabText(_imageTabs->indexOf(_imageTabs_1), QCoreApplication::translate("MainWindow", "Blank", nullptr));
_imageTabs->setTabText(_imageTabs->indexOf(_imageTabs_2), QCoreApplication::translate("MainWindow", "Tab 2", nullptr));
_colorPicker->setText(QString());
_rescaleButton->setText(QString());
_resizeButton->setText(QString());
#if QT_CONFIG(tooltip)
_toolbox->setToolTip(QString());
#endif // QT_CONFIG(tooltip)
#if QT_CONFIG(statustip)
_toolbox->setStatusTip(QString());
#endif // QT_CONFIG(statustip)
_menuFile->setTitle(QCoreApplication::translate("MainWindow", "Fichier", nullptr));
_menuEdit->setTitle(QCoreApplication::translate("MainWindow", "\303\211dition", nullptr));
_menuImage->setTitle(QCoreApplication::translate("MainWindow", "Image", nullptr));
_menuTurn->setTitle(QCoreApplication::translate("MainWindow", "Retourner", nullptr));
_menuRotate->setTitle(QCoreApplication::translate("MainWindow", "Rotation", nullptr));
_menuHelp->setTitle(QCoreApplication::translate("MainWindow", "Aide", nullptr));
_menuAffichage->setTitle(QCoreApplication::translate("MainWindow", "Affichage", nullptr));
_menuSelection->setTitle(QCoreApplication::translate("MainWindow", "Selection", nullptr));
toolBar->setWindowTitle(QCoreApplication::translate("MainWindow", "toolBar", nullptr));
} // retranslateUi
};
namespace Ui {
class MainWindow: public Ui_MainWindow {};
} // namespace Ui
QT_END_NAMESPACE
#endif // UI_MAINWINDOW_H
/********************************************************************************
** Form generated from reading UI file 'rescaledialog.ui'
**
** Created by: Qt User Interface Compiler version 6.3.0
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
********************************************************************************/
#ifndef UI_RESCALEDIALOG_H
#define UI_RESCALEDIALOG_H
#include <QtCore/QVariant>
#include <QtWidgets/QApplication>
#include <QtWidgets/QComboBox>
#include <QtWidgets/QDialog>
#include <QtWidgets/QHBoxLayout>
#include <QtWidgets/QLabel>
#include <QtWidgets/QPushButton>
#include <QtWidgets/QRadioButton>
#include <QtWidgets/QSpacerItem>
#include <QtWidgets/QSpinBox>
#include <QtWidgets/QVBoxLayout>
QT_BEGIN_NAMESPACE
class Ui_ReScaleDialog
{
public:
QVBoxLayout *verticalLayout;
QHBoxLayout *_pourcentArea;
QRadioButton *_selectPourcentButton;
QSpinBox *_pourcentSpinbox;
QSpacerItem *horizontalSpacer;
QVBoxLayout *_sizeArea;
QRadioButton *_selectSizeButton;
QHBoxLayout *_heightArea;
QLabel *_heightLabel;
QSpinBox *_heightSpinbox;
QHBoxLayout *_widthArea;
QLabel *_widthLabel;
QSpinBox *_widthSpinbox;
QVBoxLayout *_samplingArea;
QLabel *_samplingLabel;
QComboBox *_samplingCombobox;
QHBoxLayout *_exitArea;
QSpacerItem *_exitSpacer;
QPushButton *_validatePushButton;
QPushButton *_cancelPushButton;
void setupUi(QDialog *ReScaleDialog)
{
if (ReScaleDialog->objectName().isEmpty())
ReScaleDialog->setObjectName(QString::fromUtf8("ReScaleDialog"));
ReScaleDialog->setWindowModality(Qt::WindowModal);
ReScaleDialog->resize(306, 207);
verticalLayout = new QVBoxLayout(ReScaleDialog);
verticalLayout->setSpacing(0);
verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
verticalLayout->setContentsMargins(4, 4, 4, 4);
_pourcentArea = new QHBoxLayout();
_pourcentArea->setObjectName(QString::fromUtf8("_pourcentArea"));
_selectPourcentButton = new QRadioButton(ReScaleDialog);
_selectPourcentButton->setObjectName(QString::fromUtf8("_selectPourcentButton"));
QSizePolicy sizePolicy(QSizePolicy::Minimum, QSizePolicy::Maximum);
sizePolicy.setHorizontalStretch(0);
sizePolicy.setVerticalStretch(0);
sizePolicy.setHeightForWidth(_selectPourcentButton->sizePolicy().hasHeightForWidth());
_selectPourcentButton->setSizePolicy(sizePolicy);
_pourcentArea->addWidget(_selectPourcentButton);
_pourcentSpinbox = new QSpinBox(ReScaleDialog);
_pourcentSpinbox->setObjectName(QString::fromUtf8("_pourcentSpinbox"));
QSizePolicy sizePolicy1(QSizePolicy::Expanding, QSizePolicy::Maximum);
sizePolicy1.setHorizontalStretch(0);
sizePolicy1.setVerticalStretch(0);
sizePolicy1.setHeightForWidth(_pourcentSpinbox->sizePolicy().hasHeightForWidth());
_pourcentSpinbox->setSizePolicy(sizePolicy1);
_pourcentSpinbox->setMinimum(1);
_pourcentSpinbox->setMaximum(999999);
_pourcentSpinbox->setStepType(QAbstractSpinBox::AdaptiveDecimalStepType);
_pourcentSpinbox->setValue(100);
_pourcentSpinbox->setDisplayIntegerBase(10);
_pourcentArea->addWidget(_pourcentSpinbox);
horizontalSpacer = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
_pourcentArea->addItem(horizontalSpacer);
verticalLayout->addLayout(_pourcentArea);
_sizeArea = new QVBoxLayout();
_sizeArea->setSpacing(10);
_sizeArea->setObjectName(QString::fromUtf8("_sizeArea"));
_sizeArea->setSizeConstraint(QLayout::SetDefaultConstraint);
_selectSizeButton = new QRadioButton(ReScaleDialog);
_selectSizeButton->setObjectName(QString::fromUtf8("_selectSizeButton"));
_selectSizeButton->setChecked(true);
_sizeArea->addWidget(_selectSizeButton);
_heightArea = new QHBoxLayout();
_heightArea->setObjectName(QString::fromUtf8("_heightArea"));
_heightArea->setContentsMargins(16, -1, 16, -1);
_heightLabel = new QLabel(ReScaleDialog);
_heightLabel->setObjectName(QString::fromUtf8("_heightLabel"));
QSizePolicy sizePolicy2(QSizePolicy::Minimum, QSizePolicy::Preferred);
sizePolicy2.setHorizontalStretch(0);
sizePolicy2.setVerticalStretch(0);
sizePolicy2.setHeightForWidth(_heightLabel->sizePolicy().hasHeightForWidth());
_heightLabel->setSizePolicy(sizePolicy2);
_heightArea->addWidget(_heightLabel);
_heightSpinbox = new QSpinBox(ReScaleDialog);
_heightSpinbox->setObjectName(QString::fromUtf8("_heightSpinbox"));
QSizePolicy sizePolicy3(QSizePolicy::Expanding, QSizePolicy::Fixed);
sizePolicy3.setHorizontalStretch(0);
sizePolicy3.setVerticalStretch(0);
sizePolicy3.setHeightForWidth(_heightSpinbox->sizePolicy().hasHeightForWidth());
_heightSpinbox->setSizePolicy(sizePolicy3);
_heightSpinbox->setMaximum(99999);
_heightArea->addWidget(_heightSpinbox);
_sizeArea->addLayout(_heightArea);
_widthArea = new QHBoxLayout();
_widthArea->setObjectName(QString::fromUtf8("_widthArea"));
_widthArea->setContentsMargins(20, -1, 16, -1);
_widthLabel = new QLabel(ReScaleDialog);
_widthLabel->setObjectName(QString::fromUtf8("_widthLabel"));
sizePolicy2.setHeightForWidth(_widthLabel->sizePolicy().hasHeightForWidth());
_widthLabel->setSizePolicy(sizePolicy2);
_widthArea->addWidget(_widthLabel);
_widthSpinbox = new QSpinBox(ReScaleDialog);
_widthSpinbox->setObjectName(QString::fromUtf8("_widthSpinbox"));
sizePolicy3.setHeightForWidth(_widthSpinbox->sizePolicy().hasHeightForWidth());
_widthSpinbox->setSizePolicy(sizePolicy3);
_widthSpinbox->setMaximum(99999);
_widthArea->addWidget(_widthSpinbox);
_sizeArea->addLayout(_widthArea);
verticalLayout->addLayout(_sizeArea);
_samplingArea = new QVBoxLayout();
_samplingArea->setObjectName(QString::fromUtf8("_samplingArea"));
_samplingLabel = new QLabel(ReScaleDialog);
_samplingLabel->setObjectName(QString::fromUtf8("_samplingLabel"));
QSizePolicy sizePolicy4(QSizePolicy::Preferred, QSizePolicy::Maximum);
sizePolicy4.setHorizontalStretch(0);
sizePolicy4.setVerticalStretch(0);
sizePolicy4.setHeightForWidth(_samplingLabel->sizePolicy().hasHeightForWidth());
_samplingLabel->setSizePolicy(sizePolicy4);
_samplingArea->addWidget(_samplingLabel);
_samplingCombobox = new QComboBox(ReScaleDialog);
_samplingCombobox->setObjectName(QString::fromUtf8("_samplingCombobox"));
sizePolicy4.setHeightForWidth(_samplingCombobox->sizePolicy().hasHeightForWidth());
_samplingCombobox->setSizePolicy(sizePolicy4);
_samplingArea->addWidget(_samplingCombobox);
verticalLayout->addLayout(_samplingArea);
_exitArea = new QHBoxLayout();
_exitArea->setObjectName(QString::fromUtf8("_exitArea"));
_exitSpacer = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
_exitArea->addItem(_exitSpacer);
_validatePushButton = new QPushButton(ReScaleDialog);
_validatePushButton->setObjectName(QString::fromUtf8("_validatePushButton"));
_exitArea->addWidget(_validatePushButton);
_cancelPushButton = new QPushButton(ReScaleDialog);
_cancelPushButton->setObjectName(QString::fromUtf8("_cancelPushButton"));
_exitArea->addWidget(_cancelPushButton);
verticalLayout->addLayout(_exitArea);
retranslateUi(ReScaleDialog);
QObject::connect(_selectSizeButton, &QRadioButton::toggled, _heightSpinbox, &QSpinBox::setEnabled);
QObject::connect(_selectSizeButton, &QRadioButton::toggled, _widthSpinbox, &QSpinBox::setEnabled);
QObject::connect(_selectPourcentButton, &QRadioButton::toggled, _pourcentSpinbox, &QSpinBox::setEnabled);
QObject::connect(_validatePushButton, &QPushButton::released, ReScaleDialog, qOverload<>(&QDialog::accept));
QObject::connect(_cancelPushButton, &QPushButton::clicked, ReScaleDialog, qOverload<>(&QDialog::close));
QMetaObject::connectSlotsByName(ReScaleDialog);
} // setupUi
void retranslateUi(QDialog *ReScaleDialog)
{
ReScaleDialog->setWindowTitle(QCoreApplication::translate("ReScaleDialog", "Dialog", nullptr));
_selectPourcentButton->setText(QCoreApplication::translate("ReScaleDialog", "En Pourcentage :", nullptr));
_pourcentSpinbox->setSuffix(QCoreApplication::translate("ReScaleDialog", "%", nullptr));
_pourcentSpinbox->setPrefix(QString());
_selectSizeButton->setText(QCoreApplication::translate("ReScaleDialog", "En Taille Absolue :", nullptr));
_heightLabel->setText(QCoreApplication::translate("ReScaleDialog", "Height ", nullptr));
_widthLabel->setText(QCoreApplication::translate("ReScaleDialog", "Width ", nullptr));
_samplingLabel->setText(QCoreApplication::translate("ReScaleDialog", "R\303\251-Chantillionage :", nullptr));
_validatePushButton->setText(QCoreApplication::translate("ReScaleDialog", "Valider", nullptr));
_cancelPushButton->setText(QCoreApplication::translate("ReScaleDialog", "Annuler", nullptr));
} // retranslateUi
};
namespace Ui {
class ReScaleDialog: public Ui_ReScaleDialog {};
} // namespace Ui
QT_END_NAMESPACE
#endif // UI_RESCALEDIALOG_H
/********************************************************************************
** Form generated from reading UI file 'resizedialog.ui'
**
** Created by: Qt User Interface Compiler version 6.3.0
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
********************************************************************************/
#ifndef UI_RESIZEDIALOG_H
#define UI_RESIZEDIALOG_H
#include <QtCore/QVariant>
#include <QtWidgets/QApplication>
#include <QtWidgets/QDialog>
#include <QtWidgets/QHBoxLayout>
#include <QtWidgets/QLabel>
#include <QtWidgets/QPushButton>
#include <QtWidgets/QSpacerItem>
#include <QtWidgets/QSpinBox>
#include <QtWidgets/QVBoxLayout>
QT_BEGIN_NAMESPACE
class Ui_ReSizeDialog
{
public:
QVBoxLayout *verticalLayout;
QVBoxLayout *_sizeArea;
QVBoxLayout *_anchorArea;
QLabel *_anchorLabel;
QHBoxLayout *_xArea;
QLabel *_xlabel;
QSpinBox *_xSpinbox;
QHBoxLayout *_yArea;
QLabel *_yLabel;
QSpinBox *_ySpinbox;
QHBoxLayout *_heightArea;
QLabel *_heightLabel;
QSpinBox *_heightSpinbox;
QHBoxLayout *_widthArea;
QLabel *_widthLabel;
QSpinBox *_widthSpinbox;
QHBoxLayout *_exitArea;
QSpacerItem *_exitSpacer;
QPushButton *_validatePushButton;
QPushButton *_cancelPushButton;
void setupUi(QDialog *ReSizeDialog)
{
if (ReSizeDialog->objectName().isEmpty())
ReSizeDialog->setObjectName(QString::fromUtf8("ReSizeDialog"));
ReSizeDialog->setWindowModality(Qt::WindowModal);
ReSizeDialog->resize(330, 177);
verticalLayout = new QVBoxLayout(ReSizeDialog);
verticalLayout->setSpacing(0);
verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
verticalLayout->setContentsMargins(4, 4, 4, 4);
_sizeArea = new QVBoxLayout();
_sizeArea->setSpacing(0);
_sizeArea->setObjectName(QString::fromUtf8("_sizeArea"));
_sizeArea->setSizeConstraint(QLayout::SetDefaultConstraint);
_sizeArea->setContentsMargins(-1, -1, -1, 16);
_anchorArea = new QVBoxLayout();
_anchorArea->setSpacing(0);
_anchorArea->setObjectName(QString::fromUtf8("_anchorArea"));
_anchorArea->setContentsMargins(16, -1, 16, -1);
_anchorLabel = new QLabel(ReSizeDialog);
_anchorLabel->setObjectName(QString::fromUtf8("_anchorLabel"));
QSizePolicy sizePolicy(QSizePolicy::Minimum, QSizePolicy::Preferred);
sizePolicy.setHorizontalStretch(0);
sizePolicy.setVerticalStretch(0);
sizePolicy.setHeightForWidth(_anchorLabel->sizePolicy().hasHeightForWidth());
_anchorLabel->setSizePolicy(sizePolicy);
_anchorArea->addWidget(_anchorLabel);
_xArea = new QHBoxLayout();
_xArea->setObjectName(QString::fromUtf8("_xArea"));
_xArea->setContentsMargins(0, -1, 0, -1);
_xlabel = new QLabel(ReSizeDialog);
_xlabel->setObjectName(QString::fromUtf8("_xlabel"));
sizePolicy.setHeightForWidth(_xlabel->sizePolicy().hasHeightForWidth());
_xlabel->setSizePolicy(sizePolicy);
_xArea->addWidget(_xlabel);
_xSpinbox = new QSpinBox(ReSizeDialog);
_xSpinbox->setObjectName(QString::fromUtf8("_xSpinbox"));
QSizePolicy sizePolicy1(QSizePolicy::Expanding, QSizePolicy::Fixed);
sizePolicy1.setHorizontalStretch(0);
sizePolicy1.setVerticalStretch(0);
sizePolicy1.setHeightForWidth(_xSpinbox->sizePolicy().hasHeightForWidth());
_xSpinbox->setSizePolicy(sizePolicy1);
_xSpinbox->setMaximum(99999999);
_xArea->addWidget(_xSpinbox);
_anchorArea->addLayout(_xArea);
_yArea = new QHBoxLayout();
_yArea->setObjectName(QString::fromUtf8("_yArea"));
_yArea->setContentsMargins(0, -1, 0, -1);
_yLabel = new QLabel(ReSizeDialog);
_yLabel->setObjectName(QString::fromUtf8("_yLabel"));
sizePolicy.setHeightForWidth(_yLabel->sizePolicy().hasHeightForWidth());
_yLabel->setSizePolicy(sizePolicy);
_yArea->addWidget(_yLabel);
_ySpinbox = new QSpinBox(ReSizeDialog);
_ySpinbox->setObjectName(QString::fromUtf8("_ySpinbox"));
sizePolicy1.setHeightForWidth(_ySpinbox->sizePolicy().hasHeightForWidth());
_ySpinbox->setSizePolicy(sizePolicy1);
_ySpinbox->setMaximum(99999999);
_yArea->addWidget(_ySpinbox);
_anchorArea->addLayout(_yArea);
_sizeArea->addLayout(_anchorArea);
_heightArea = new QHBoxLayout();
_heightArea->setObjectName(QString::fromUtf8("_heightArea"));
_heightArea->setContentsMargins(16, -1, 16, -1);
_heightLabel = new QLabel(ReSizeDialog);
_heightLabel->setObjectName(QString::fromUtf8("_heightLabel"));
sizePolicy.setHeightForWidth(_heightLabel->sizePolicy().hasHeightForWidth());
_heightLabel->setSizePolicy(sizePolicy);
_heightArea->addWidget(_heightLabel);
_heightSpinbox = new QSpinBox(ReSizeDialog);
_heightSpinbox->setObjectName(QString::fromUtf8("_heightSpinbox"));
sizePolicy1.setHeightForWidth(_heightSpinbox->sizePolicy().hasHeightForWidth());
_heightSpinbox->setSizePolicy(sizePolicy1);
_heightSpinbox->setMaximum(99999);
_heightArea->addWidget(_heightSpinbox);
_sizeArea->addLayout(_heightArea);
_widthArea = new QHBoxLayout();
_widthArea->setObjectName(QString::fromUtf8("_widthArea"));
_widthArea->setContentsMargins(20, -1, 16, -1);
_widthLabel = new QLabel(ReSizeDialog);
_widthLabel->setObjectName(QString::fromUtf8("_widthLabel"));
sizePolicy.setHeightForWidth(_widthLabel->sizePolicy().hasHeightForWidth());
_widthLabel->setSizePolicy(sizePolicy);
_widthArea->addWidget(_widthLabel);
_widthSpinbox = new QSpinBox(ReSizeDialog);
_widthSpinbox->setObjectName(QString::fromUtf8("_widthSpinbox"));
sizePolicy1.setHeightForWidth(_widthSpinbox->sizePolicy().hasHeightForWidth());
_widthSpinbox->setSizePolicy(sizePolicy1);
_widthSpinbox->setMaximum(99999);
_widthArea->addWidget(_widthSpinbox);
_sizeArea->addLayout(_widthArea);
verticalLayout->addLayout(_sizeArea);
_exitArea = new QHBoxLayout();
_exitArea->setObjectName(QString::fromUtf8("_exitArea"));
_exitSpacer = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
_exitArea->addItem(_exitSpacer);
_validatePushButton = new QPushButton(ReSizeDialog);
_validatePushButton->setObjectName(QString::fromUtf8("_validatePushButton"));
_exitArea->addWidget(_validatePushButton);
_cancelPushButton = new QPushButton(ReSizeDialog);
_cancelPushButton->setObjectName(QString::fromUtf8("_cancelPushButton"));
_exitArea->addWidget(_cancelPushButton);
verticalLayout->addLayout(_exitArea);
retranslateUi(ReSizeDialog);
QObject::connect(_validatePushButton, &QPushButton::released, ReSizeDialog, qOverload<>(&QDialog::accept));
QObject::connect(_cancelPushButton, &QPushButton::clicked, ReSizeDialog, qOverload<>(&QDialog::close));
QMetaObject::connectSlotsByName(ReSizeDialog);
} // setupUi
void retranslateUi(QDialog *ReSizeDialog)
{
ReSizeDialog->setWindowTitle(QCoreApplication::translate("ReSizeDialog", "Dialog", nullptr));
_anchorLabel->setText(QCoreApplication::translate("ReSizeDialog", "Anchor :", nullptr));
_xlabel->setText(QCoreApplication::translate("ReSizeDialog", "x :", nullptr));
_yLabel->setText(QCoreApplication::translate("ReSizeDialog", "y :", nullptr));
_heightLabel->setText(QCoreApplication::translate("ReSizeDialog", "Height ", nullptr));
_widthLabel->setText(QCoreApplication::translate("ReSizeDialog", "Width ", nullptr));
_validatePushButton->setText(QCoreApplication::translate("ReSizeDialog", "Valider", nullptr));
_cancelPushButton->setText(QCoreApplication::translate("ReSizeDialog", "Annuler", nullptr));
} // retranslateUi
};
namespace Ui {
class ReSizeDialog: public Ui_ReSizeDialog {};
} // namespace Ui
QT_END_NAMESPACE
#endif // UI_RESIZEDIALOG_H
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment