roviz  0.7
Code Documentation of roviz
ui_livedoc_widget.h
1 /********************************************************************************
2 ** Form generated from reading UI file 'livedoc_widget.ui'
3 **
4 ** Created by: Qt User Interface Compiler version 5.9.1
5 **
6 ** WARNING! All changes made in this file will be lost when recompiling UI file!
7 ********************************************************************************/
8 
9 #ifndef UI_LIVEDOC_WIDGET_H
10 #define UI_LIVEDOC_WIDGET_H
11 
12 #include <QtCore/QVariant>
13 #include <QtWidgets/QAction>
14 #include <QtWidgets/QApplication>
15 #include <QtWidgets/QButtonGroup>
16 #include <QtWidgets/QHBoxLayout>
17 #include <QtWidgets/QHeaderView>
18 #include <QtWidgets/QLabel>
19 #include <QtWidgets/QMainWindow>
20 #include <QtWidgets/QMenuBar>
21 #include <QtWidgets/QPushButton>
22 #include <QtWidgets/QSpacerItem>
23 #include <QtWidgets/QStatusBar>
24 #include <QtWidgets/QToolBar>
25 #include <QtWidgets/QVBoxLayout>
26 #include <QtWidgets/QWidget>
27 #include "gui/livedoc_browser.h"
28 
29 QT_BEGIN_NAMESPACE
30 
31 class Ui_Livedoc_Widget
32 {
33 public:
34  QAction *actionPrevious;
35  QAction *actionNext;
36  QAction *actionHome;
37  QAction *actionAutoNavigate;
38  QWidget *centralwidget;
39  QVBoxLayout *verticalLayout;
40  QWidget *noticeWidget;
41  QHBoxLayout *noticeLayout;
42  QLabel *lblChangeTo;
43  QSpacerItem *horizontalSpacer;
44  QPushButton *btnChange;
45  QPushButton *btnNoChange;
46  Livedoc_Browser *textBrowser;
47  QMenuBar *menubar;
48  QStatusBar *statusbar;
49  QToolBar *toolBar;
50 
51  void setupUi(QMainWindow *Livedoc_Widget)
52  {
53  if (Livedoc_Widget->objectName().isEmpty())
54  Livedoc_Widget->setObjectName(QStringLiteral("Livedoc_Widget"));
55  Livedoc_Widget->resize(449, 507);
56  actionPrevious = new QAction(Livedoc_Widget);
57  actionPrevious->setObjectName(QStringLiteral("actionPrevious"));
58  QIcon icon;
59  QString iconThemeName = QStringLiteral("go-previous");
60  if (QIcon::hasThemeIcon(iconThemeName)) {
61  icon = QIcon::fromTheme(iconThemeName);
62  } else {
63  icon.addFile(QStringLiteral(":/core/go-previous.png"), QSize(), QIcon::Normal, QIcon::Off);
64  }
65  actionPrevious->setIcon(icon);
66  actionNext = new QAction(Livedoc_Widget);
67  actionNext->setObjectName(QStringLiteral("actionNext"));
68  QIcon icon1;
69  iconThemeName = QStringLiteral("go-next");
70  if (QIcon::hasThemeIcon(iconThemeName)) {
71  icon1 = QIcon::fromTheme(iconThemeName);
72  } else {
73  icon1.addFile(QStringLiteral(":/core/go-next.png"), QSize(), QIcon::Normal, QIcon::Off);
74  }
75  actionNext->setIcon(icon1);
76  actionHome = new QAction(Livedoc_Widget);
77  actionHome->setObjectName(QStringLiteral("actionHome"));
78  QIcon icon2;
79  iconThemeName = QStringLiteral("go-home");
80  if (QIcon::hasThemeIcon(iconThemeName)) {
81  icon2 = QIcon::fromTheme(iconThemeName);
82  } else {
83  icon2.addFile(QStringLiteral(":/core/go-home-10.png"), QSize(), QIcon::Normal, QIcon::Off);
84  }
85  actionHome->setIcon(icon2);
86  actionAutoNavigate = new QAction(Livedoc_Widget);
87  actionAutoNavigate->setObjectName(QStringLiteral("actionAutoNavigate"));
88  actionAutoNavigate->setCheckable(true);
89  actionAutoNavigate->setChecked(true);
90  QIcon icon3;
91  iconThemeName = QStringLiteral("document-import");
92  if (QIcon::hasThemeIcon(iconThemeName)) {
93  icon3 = QIcon::fromTheme(iconThemeName);
94  } else {
95  icon3.addFile(QStringLiteral(":/core/document-import-2.png"), QSize(), QIcon::Normal, QIcon::Off);
96  }
97  actionAutoNavigate->setIcon(icon3);
98  centralwidget = new QWidget(Livedoc_Widget);
99  centralwidget->setObjectName(QStringLiteral("centralwidget"));
100  verticalLayout = new QVBoxLayout(centralwidget);
101  verticalLayout->setSpacing(8);
102  verticalLayout->setObjectName(QStringLiteral("verticalLayout"));
103  verticalLayout->setContentsMargins(-1, 8, -1, -1);
104  noticeWidget = new QWidget(centralwidget);
105  noticeWidget->setObjectName(QStringLiteral("noticeWidget"));
106  QPalette palette;
107  QBrush brush(QColor(255, 255, 255, 255));
108  brush.setStyle(Qt::SolidPattern);
109  palette.setBrush(QPalette::Active, QPalette::Base, brush);
110  QBrush brush1(QColor(255, 179, 0, 255));
111  brush1.setStyle(Qt::SolidPattern);
112  palette.setBrush(QPalette::Active, QPalette::Window, brush1);
113  palette.setBrush(QPalette::Inactive, QPalette::Base, brush);
114  palette.setBrush(QPalette::Inactive, QPalette::Window, brush1);
115  palette.setBrush(QPalette::Disabled, QPalette::Base, brush1);
116  palette.setBrush(QPalette::Disabled, QPalette::Window, brush1);
117  noticeWidget->setPalette(palette);
118  noticeWidget->setAutoFillBackground(true);
119  noticeLayout = new QHBoxLayout(noticeWidget);
120  noticeLayout->setObjectName(QStringLiteral("noticeLayout"));
121  noticeLayout->setContentsMargins(-1, 4, -1, 4);
122  lblChangeTo = new QLabel(noticeWidget);
123  lblChangeTo->setObjectName(QStringLiteral("lblChangeTo"));
124 
125  noticeLayout->addWidget(lblChangeTo);
126 
127  horizontalSpacer = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
128 
129  noticeLayout->addItem(horizontalSpacer);
130 
131  btnChange = new QPushButton(noticeWidget);
132  btnChange->setObjectName(QStringLiteral("btnChange"));
133 
134  noticeLayout->addWidget(btnChange);
135 
136  btnNoChange = new QPushButton(noticeWidget);
137  btnNoChange->setObjectName(QStringLiteral("btnNoChange"));
138 
139  noticeLayout->addWidget(btnNoChange);
140 
141 
142  verticalLayout->addWidget(noticeWidget);
143 
144  textBrowser = new Livedoc_Browser(centralwidget);
145  textBrowser->setObjectName(QStringLiteral("textBrowser"));
146 
147  verticalLayout->addWidget(textBrowser);
148 
149  Livedoc_Widget->setCentralWidget(centralwidget);
150  menubar = new QMenuBar(Livedoc_Widget);
151  menubar->setObjectName(QStringLiteral("menubar"));
152  menubar->setGeometry(QRect(0, 0, 449, 23));
153  Livedoc_Widget->setMenuBar(menubar);
154  statusbar = new QStatusBar(Livedoc_Widget);
155  statusbar->setObjectName(QStringLiteral("statusbar"));
156  Livedoc_Widget->setStatusBar(statusbar);
157  toolBar = new QToolBar(Livedoc_Widget);
158  toolBar->setObjectName(QStringLiteral("toolBar"));
159  Livedoc_Widget->addToolBar(Qt::TopToolBarArea, toolBar);
160 
161  toolBar->addAction(actionHome);
162  toolBar->addAction(actionPrevious);
163  toolBar->addAction(actionNext);
164  toolBar->addAction(actionAutoNavigate);
165 
166  retranslateUi(Livedoc_Widget);
167  QObject::connect(textBrowser, SIGNAL(backwardAvailable(bool)), actionPrevious, SLOT(setEnabled(bool)));
168  QObject::connect(textBrowser, SIGNAL(forwardAvailable(bool)), actionNext, SLOT(setEnabled(bool)));
169  QObject::connect(actionNext, SIGNAL(triggered()), textBrowser, SLOT(forward()));
170  QObject::connect(actionPrevious, SIGNAL(triggered()), textBrowser, SLOT(backward()));
171  QObject::connect(actionHome, SIGNAL(triggered()), textBrowser, SLOT(home()));
172 
173  QMetaObject::connectSlotsByName(Livedoc_Widget);
174  } // setupUi
175 
176  void retranslateUi(QMainWindow *Livedoc_Widget)
177  {
178  Livedoc_Widget->setWindowTitle(QApplication::translate("Livedoc_Widget", "Livedoc", Q_NULLPTR));
179  actionPrevious->setText(QApplication::translate("Livedoc_Widget", "Previous", Q_NULLPTR));
180  actionNext->setText(QApplication::translate("Livedoc_Widget", "Next", Q_NULLPTR));
181  actionHome->setText(QApplication::translate("Livedoc_Widget", "Home", Q_NULLPTR));
182  actionAutoNavigate->setText(QApplication::translate("Livedoc_Widget", "Auto Navigate", Q_NULLPTR));
183 #ifndef QT_NO_TOOLTIP
184  actionAutoNavigate->setToolTip(QApplication::translate("Livedoc_Widget", "Toggle Auto Navigate", Q_NULLPTR));
185 #endif // QT_NO_TOOLTIP
186  lblChangeTo->setText(QApplication::translate("Livedoc_Widget", "Do you want to navigate to .....?", Q_NULLPTR));
187  btnChange->setText(QApplication::translate("Livedoc_Widget", "Yes", Q_NULLPTR));
188  btnNoChange->setText(QApplication::translate("Livedoc_Widget", "No", Q_NULLPTR));
189  toolBar->setWindowTitle(QApplication::translate("Livedoc_Widget", "toolBar", Q_NULLPTR));
190  } // retranslateUi
191 
192 };
193 
194 namespace Ui {
195  class Livedoc_Widget: public Ui_Livedoc_Widget {};
196 } // namespace Ui
197 
198 QT_END_NAMESPACE
199 
200 #endif // UI_LIVEDOC_WIDGET_H
Definition: item_origin_visualizer.h:10
Definition: livedoc_widget.h:12
Definition: livedoc_browser.h:6