KDChart example

 

/********************************************************************************
** Form generated from reading UI file 'qt_chart1.ui'
**
** Created by: Qt User Interface Compiler version 5.12.2
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
********************************************************************************/

#ifndef UI_QT_CHART1_H
#define UI_QT_CHART1_H

#include <QtCore/QVariant>
#include <QtWidgets/QApplication>
#include <QtWidgets/QMainWindow>
#include <QtWidgets/QMenuBar>
#include <QtWidgets/QStatusBar>
#include <QtWidgets/QToolBar>
#include <QtWidgets/QWidget>

#include <QtWidgets/QVBoxLayout>
#include <QFrame>
#include <KDGanttView>

QT_BEGIN_NAMESPACE

class Ui_Qt_Chart1Class
{
public:
    QWidget *centralWidget;
    QWidget *widget;
    QMenuBar *menuBar;
    QToolBar *mainToolBar;
    QStatusBar *statusBar;
    QToolBar *toolBar;

    QFrame *frame;
    QVBoxLayout *vboxLayout;
    QHBoxLayout *horizontalLayout_2;
    KDGantt::View *ganttView;
    QVBoxLayout *verticalLayout;

    void setupUi(QMainWindow *Qt_Chart1Class)
    {
        if (Qt_Chart1Class->objectName().isEmpty())
            Qt_Chart1Class->setObjectName(QString::fromUtf8("Qt_Chart1Class"));
        Qt_Chart1Class->resize(882, 617);
        centralWidget = new QWidget(Qt_Chart1Class);
        centralWidget->setObjectName(QString::fromUtf8("centralWidget"));

        verticalLayout = new QVBoxLayout(centralWidget);
        verticalLayout->setSpacing(6);
        verticalLayout->setContentsMargins(11, 11, 11, 11);
        verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));

        widget = new QWidget(centralWidget);
        widget->setObjectName(QString::fromUtf8("widget"));
        widget->setGeometry(QRect(10, 10, 1241, 171));
        widget->setStyleSheet("QWidget#widget{border: 1px solid #FF00FF; border-radius: 5px;}");

        frame = new QFrame(centralWidget);
        frame->setObjectName(QString::fromUtf8("frame"));
        //frame->setGeometry(QRect(10,181,1241,471));
        frame->setFrameShape(QFrame::StyledPanel);
        frame->setFrameShadow(QFrame::Raised);

        horizontalLayout_2 = new QHBoxLayout(frame);
        horizontalLayout_2->setSpacing(6);
        horizontalLayout_2->setContentsMargins(11, 11, 11, 11);
        horizontalLayout_2->setObjectName(QString::fromUtf8("horizontalLayout_2"));

        Qt_Chart1Class->setCentralWidget(centralWidget);
        menuBar = new QMenuBar(Qt_Chart1Class);
        menuBar->setObjectName(QString::fromUtf8("menuBar"));
        menuBar->setGeometry(QRect(0, 0, 882, 26));
        Qt_Chart1Class->setMenuBar(menuBar);
        mainToolBar = new QToolBar(Qt_Chart1Class);
        mainToolBar->setObjectName(QString::fromUtf8("mainToolBar"));
        Qt_Chart1Class->addToolBar(Qt::TopToolBarArea, mainToolBar);
        statusBar = new QStatusBar(Qt_Chart1Class);
        statusBar->setObjectName(QString::fromUtf8("statusBar"));
        Qt_Chart1Class->setStatusBar(statusBar);
        toolBar = new QToolBar(Qt_Chart1Class);
        toolBar->setObjectName(QString::fromUtf8("toolBar"));
        Qt_Chart1Class->addToolBar(Qt::TopToolBarArea, toolBar);

        //vboxLayout = new QVBoxLayout(frame);
        //vboxLayout->setObjectName(QStringLiteral("vboxLayout"));
        ganttView = new KDGantt::View(frame);
        ganttView->setObjectName(QStringLiteral("ganttView"));

        //vboxLayout->addWidget(ganttView);
        verticalLayout->addWidget(frame);
        verticalLayout->addWidget(widget);
        verticalLayout->setStretch(0, 5);
        verticalLayout->setStretch(1, 5);

        

        retranslateUi(Qt_Chart1Class);

        QMetaObject::connectSlotsByName(Qt_Chart1Class);
    } // setupUi

    void retranslateUi(QMainWindow *Qt_Chart1Class)
    {
        Qt_Chart1Class->setWindowTitle(QApplication::translate("Qt_Chart1Class", "Qt_Chart1", nullptr));
        toolBar->setWindowTitle(QApplication::translate("Qt_Chart1Class", "toolBar", nullptr));
    } // retranslateUi

};

namespace Ui {
    class Qt_Chart1Class: public Ui_Qt_Chart1Class {};
} // namespace Ui

QT_END_NAMESPACE

#endif // UI_QT_CHART1_H

 

posted @ 2019-07-18 13:24  西北逍遥  阅读(990)  评论(0编辑  收藏  举报