API Documentation
Loading...
Searching...
No Matches
ExportChooserDialog.h
Go to the documentation of this file.
1#pragma once
2#include <NDEVR/FileFormat.h>
3#include <QStyle>
4#include <QWidget>
5namespace NDEVR
6{
7 class Button;
8 class RibbonSubGroup;
9 /**--------------------------------------------------------------------------------------------------
10 \brief Allows the user to choose a specific Export format for use with IOFactory exporting.
11 **/
12 class ExportChooserDialog : public QWidget
13 {
14 Q_OBJECT
15 public:
16 ExportChooserDialog(QWidget* parent = nullptr);
18 signals:
21 protected:
22 void init();
23 bool event(QEvent* event) override;
24 QSize minimumSizeHint() const override;
25 QSize sizeHint() const override;
27 protected:
32 };
33}
A core widget that allows the user to click one of many button types.
Definition Button.h:66
A hash-based key-value store, useful for quick associative lookups. Key features include:
Definition Dictionary.h:61
Allows the user to choose a specific Export format for use with IOFactory exporting.
Definition ExportChooserDialog.h:13
Button * m_cancel
Definition ExportChooserDialog.h:30
QSize minimumSizeHint() const override
void formatChosenSignal(FileFormat format)
QSize sizeHint() const override
bool event(QEvent *event) override
Button * m_accept
Definition ExportChooserDialog.h:29
ExportChooserDialog(QWidget *parent=nullptr)
RibbonSubGroup * m_export_settings_ribbon_group
Definition ExportChooserDialog.h:28
FileFormat selectedFormat() const
Dictionary< Button *, FileFormat > m_button_formats
Definition ExportChooserDialog.h:31
Data that describes a particular file format and how to use the format with the program....
Definition FileFormat.h:43
Represents a sub-section of "Tab" of a ribbon represting a grouping of buttons or widgets within a ta...
Definition RibbonSubGroup.h:47
Definition ACIColor.h:37