CuteLogger
Fast and simple logging solution for Qt based applications
ui_filesdock.h
1 /********************************************************************************
2 ** Form generated from reading UI file 'filesdock.ui'
3 **
4 ** Created by: Qt User Interface Compiler version 6.6.2
5 **
6 ** WARNING! All changes made in this file will be lost when recompiling UI file!
7 ********************************************************************************/
8 
9 #ifndef UI_FILESDOCK_H
10 #define UI_FILESDOCK_H
11 
12 #include <QtCore/QVariant>
13 #include <QtGui/QIcon>
14 #include <QtWidgets/QApplication>
15 #include <QtWidgets/QComboBox>
16 #include <QtWidgets/QDockWidget>
17 #include <QtWidgets/QHBoxLayout>
18 #include <QtWidgets/QHeaderView>
19 #include <QtWidgets/QLabel>
20 #include <QtWidgets/QPushButton>
21 #include <QtWidgets/QSpacerItem>
22 #include <QtWidgets/QSplitter>
23 #include <QtWidgets/QTreeView>
24 #include <QtWidgets/QVBoxLayout>
25 #include <QtWidgets/QWidget>
26 #include "widgets/playlistlistview.h"
27 #include "widgets/playlisttable.h"
28 
29 QT_BEGIN_NAMESPACE
30 
31 class Ui_FilesDock
32 {
33 public:
34  QWidget *dockWidgetContents;
35  QVBoxLayout *verticalLayout;
36  QHBoxLayout *locationsLayout;
37  QSpacerItem *horizontalSpacer;
38  QLabel *label;
39  QComboBox *locationsCombo;
40  QPushButton *addLocationButton;
41  QPushButton *removeLocationButton;
42  QHBoxLayout *filtersLayout;
43  QSplitter *splitter;
44  QTreeView *treeView;
45  QWidget *layoutWidget_2;
46  QVBoxLayout *verticalLayout_3;
47  PlaylistTable *tableView;
48  PlaylistListView *listView;
49 
50  void setupUi(QDockWidget *FilesDock)
51  {
52  if (FilesDock->objectName().isEmpty())
53  FilesDock->setObjectName("FilesDock");
54  FilesDock->resize(460, 278);
55  QIcon icon;
56  QString iconThemeName = QString::fromUtf8("system-file-manager");
57  if (QIcon::hasThemeIcon(iconThemeName)) {
58  icon = QIcon::fromTheme(iconThemeName);
59  } else {
60  icon.addFile(QString::fromUtf8(":/icons/oxygen/32x32/apps/system-file-manager.png"), QSize(), QIcon::Normal, QIcon::Off);
61  }
62  FilesDock->setWindowIcon(icon);
63  dockWidgetContents = new QWidget();
64  dockWidgetContents->setObjectName("dockWidgetContents");
65  verticalLayout = new QVBoxLayout(dockWidgetContents);
66  verticalLayout->setSpacing(0);
67  verticalLayout->setObjectName("verticalLayout");
68  verticalLayout->setContentsMargins(0, 0, 0, 0);
69  locationsLayout = new QHBoxLayout();
70  locationsLayout->setSpacing(5);
71  locationsLayout->setObjectName("locationsLayout");
72  horizontalSpacer = new QSpacerItem(5, 20, QSizePolicy::Policy::Fixed, QSizePolicy::Policy::Minimum);
73 
74  locationsLayout->addItem(horizontalSpacer);
75 
76  label = new QLabel(dockWidgetContents);
77  label->setObjectName("label");
78 
79  locationsLayout->addWidget(label);
80 
81  locationsCombo = new QComboBox(dockWidgetContents);
82  locationsCombo->setObjectName("locationsCombo");
83  QSizePolicy sizePolicy(QSizePolicy::Policy::MinimumExpanding, QSizePolicy::Policy::Fixed);
84  sizePolicy.setHorizontalStretch(0);
85  sizePolicy.setVerticalStretch(0);
86  sizePolicy.setHeightForWidth(locationsCombo->sizePolicy().hasHeightForWidth());
87  locationsCombo->setSizePolicy(sizePolicy);
88 
89  locationsLayout->addWidget(locationsCombo);
90 
91  addLocationButton = new QPushButton(dockWidgetContents);
92  addLocationButton->setObjectName("addLocationButton");
93  addLocationButton->setMaximumSize(QSize(20, 20));
94  QIcon icon1;
95  iconThemeName = QString::fromUtf8("list-add");
96  if (QIcon::hasThemeIcon(iconThemeName)) {
97  icon1 = QIcon::fromTheme(iconThemeName);
98  } else {
99  icon1.addFile(QString::fromUtf8(":/icons/oxygen/32x32/actions/list-add.png"), QSize(), QIcon::Normal, QIcon::Off);
100  }
101  addLocationButton->setIcon(icon1);
102 
103  locationsLayout->addWidget(addLocationButton);
104 
105  removeLocationButton = new QPushButton(dockWidgetContents);
106  removeLocationButton->setObjectName("removeLocationButton");
107  removeLocationButton->setMaximumSize(QSize(20, 20));
108  QIcon icon2;
109  iconThemeName = QString::fromUtf8("list-remove");
110  if (QIcon::hasThemeIcon(iconThemeName)) {
111  icon2 = QIcon::fromTheme(iconThemeName);
112  } else {
113  icon2.addFile(QString::fromUtf8(":/icons/oxygen/32x32/actions/list-remove.png"), QSize(), QIcon::Normal, QIcon::Off);
114  }
115  removeLocationButton->setIcon(icon2);
116 
117  locationsLayout->addWidget(removeLocationButton);
118 
119 
120  verticalLayout->addLayout(locationsLayout);
121 
122  filtersLayout = new QHBoxLayout();
123  filtersLayout->setObjectName("filtersLayout");
124 
125  verticalLayout->addLayout(filtersLayout);
126 
127  splitter = new QSplitter(dockWidgetContents);
128  splitter->setObjectName("splitter");
129  splitter->setOrientation(Qt::Orientation::Horizontal);
130  treeView = new QTreeView(splitter);
131  treeView->setObjectName("treeView");
132  treeView->setAcceptDrops(true);
133  treeView->setUniformRowHeights(true);
134  treeView->setAnimated(true);
135  splitter->addWidget(treeView);
136  layoutWidget_2 = new QWidget(splitter);
137  layoutWidget_2->setObjectName("layoutWidget_2");
138  verticalLayout_3 = new QVBoxLayout(layoutWidget_2);
139  verticalLayout_3->setObjectName("verticalLayout_3");
140  verticalLayout_3->setContentsMargins(0, 0, 0, 0);
141  tableView = new PlaylistTable(layoutWidget_2);
142  tableView->setObjectName("tableView");
143  tableView->setContextMenuPolicy(Qt::ContextMenuPolicy::CustomContextMenu);
144  tableView->setDragEnabled(false);
145  tableView->setAlternatingRowColors(true);
146  tableView->setSelectionMode(QAbstractItemView::SelectionMode::ExtendedSelection);
147  tableView->setSelectionBehavior(QAbstractItemView::SelectionBehavior::SelectRows);
148  tableView->setHorizontalScrollMode(QAbstractItemView::ScrollMode::ScrollPerPixel);
149  tableView->horizontalHeader()->setDefaultSectionSize(200);
150  tableView->horizontalHeader()->setProperty("showSortIndicator", QVariant(true));
151  tableView->verticalHeader()->setVisible(false);
152 
153  verticalLayout_3->addWidget(tableView);
154 
155  listView = new PlaylistListView(layoutWidget_2);
156  listView->setObjectName("listView");
157  listView->setContextMenuPolicy(Qt::ContextMenuPolicy::CustomContextMenu);
158  listView->setSelectionMode(QAbstractItemView::SelectionMode::ExtendedSelection);
159  listView->setMovement(QListView::Movement::Static);
160 
161  verticalLayout_3->addWidget(listView);
162 
163  splitter->addWidget(layoutWidget_2);
164 
165  verticalLayout->addWidget(splitter);
166 
167  FilesDock->setWidget(dockWidgetContents);
168 
169  retranslateUi(FilesDock);
170 
171  QMetaObject::connectSlotsByName(FilesDock);
172  } // setupUi
173 
174  void retranslateUi(QDockWidget *FilesDock)
175  {
176  FilesDock->setWindowTitle(QCoreApplication::translate("FilesDock", "Files", nullptr));
177  label->setText(QCoreApplication::translate("FilesDock", "Locations", nullptr));
178 #if QT_CONFIG(tooltip)
179  addLocationButton->setToolTip(QCoreApplication::translate("FilesDock", "Add the current folder to the saved locations", nullptr));
180 #endif // QT_CONFIG(tooltip)
181  addLocationButton->setText(QString());
182 #if QT_CONFIG(tooltip)
183  removeLocationButton->setToolTip(QCoreApplication::translate("FilesDock", "Remove the selected location", nullptr));
184 #endif // QT_CONFIG(tooltip)
185  removeLocationButton->setText(QString());
186 #if QT_CONFIG(tooltip)
187  tableView->setToolTip(QString());
188 #endif // QT_CONFIG(tooltip)
189  } // retranslateUi
190 
191 };
192 
193 namespace Ui {
194  class FilesDock: public Ui_FilesDock {};
195 } // namespace Ui
196 
197 QT_END_NAMESPACE
198 
199 #endif // UI_FILESDOCK_H