35 #define ENABLE_PANEL_WIDGET_DND_CHECKS 108 QVBoxLayout *vlayout =
new QVBoxLayout(
this);
109 vlayout -> setMargin(0);
110 vlayout -> setSpacing(0);
130 if (!dir_path.isEmpty()) {
131 QDesktopServices::openUrl(QUrl::fromLocalFile(dir_path));
143 file_path = QDir::toNativeSeparators(file_path);
144 if (!file_path.isEmpty()) {
145 QApplication::clipboard() -> setText(file_path);
269 if (!current_item)
return;
311 bool is_writable = !(
elements_panel -> selectedProject() -> isReadOnly());
315 QETProject *selected_diagram_project = selected_diagram -> project();
317 bool is_writable = !(selected_diagram_project -> isReadOnly());
318 int project_diagrams_count = selected_diagram_project -> diagrams().count();
319 int diagram_position = selected_diagram_project -> diagrams().indexOf(selected_diagram);
355 if (!dir_path.isEmpty()) {
361 switch(item -> type()) {
TitleBlockTemplatesCollection * parentCollection() const
static QETApp * instance()