mirror of
https://github.com/crystalidea/qt6windows7.git
synced 2024-11-24 12:30:32 +08:00
42 lines
1007 B
C
42 lines
1007 B
C
|
// Copyright (C) 2021 The Qt Company Ltd.
|
||
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
|
||
|
|
||
|
#include <QtWidgets>
|
||
|
#include "tabswidget.h"
|
||
|
|
||
|
class BasicA11yWidget: public QWidget
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
private:
|
||
|
QMenu* m_helpMenu = nullptr;
|
||
|
QMenu* m_TodayMenu = nullptr;
|
||
|
QMenuBar* m_menuBar = nullptr;
|
||
|
QToolBar* m_toolBar = nullptr;
|
||
|
QLabel* m_lblDateTime = nullptr;
|
||
|
QVBoxLayout* m_layout = nullptr ;
|
||
|
QTabWidget* m_tabWidget = nullptr;
|
||
|
EditViewTab *m_editView = nullptr;
|
||
|
|
||
|
QAction* m_DateAct = nullptr;
|
||
|
QAction* m_TimeAct = nullptr;
|
||
|
QAction* m_aboutAct = nullptr;
|
||
|
QAction* m_copyAct = nullptr;
|
||
|
QAction* m_pasteAct = nullptr;
|
||
|
QAction* m_cutAct = nullptr;
|
||
|
|
||
|
public slots:
|
||
|
void connectToolBar();
|
||
|
public:
|
||
|
BasicA11yWidget() ;
|
||
|
void createActions();
|
||
|
void createMenus();
|
||
|
void createToolBar();
|
||
|
|
||
|
void todaysDate();
|
||
|
void currentTime();
|
||
|
void about();
|
||
|
QToolBar* getToolbar(){return m_toolBar;}
|
||
|
void handleButton();
|
||
|
|
||
|
};
|