scidavis  2.3.0
About: SciDAVis is a free application for Scientific Data Analysis and Visualization (a fork off of QtiPlot).
  Fossies Dox: scidavis-2.3.0.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

future_SortDialog.h
Go to the documentation of this file.
1 
11 
29 #ifndef FUTURE_SORTDIALOG_H
30 #define FUTURE_SORTDIALOG_H
31 
32 #include "core/column/Column.h"
33 #include <QDialog>
34 
35 class QPushButton;
36 class QComboBox;
37 
38 namespace future{
39 
41 class SortDialog : public QDialog
42 {
43  Q_OBJECT
44 
45  public:
46  SortDialog( QWidget* parent = 0, Qt::WindowFlags fl = 0 );
47  void setColumnsList(QList<Column*> list);
48 
49  enum { Separately=0, Together=1 };
50  enum { Ascending=0, Descending=1 };
51 
52  private slots:
53  void accept();
54  void changeType(int index);
55 
56  signals:
57  void sort(Column *leading, QList<Column*> cols, bool ascending);
58 
59  private:
60  QList<Column*> d_columns_list;
61  struct {
62  QPushButton* button_ok;
63  QPushButton* button_close;
64  QPushButton* button_help;
65  QComboBox* box_type;
66  QComboBox* box_order;
67  QComboBox *columns_list;
68  } ui;
69 };
70 
71 } // namespace
72 
73 #endif
future::SortDialog::box_order
QComboBox * box_order
Definition: future_SortDialog.h:66
future
Definition: AbstractAspect.h:43
future::SortDialog
Sorting options dialog.
Definition: future_SortDialog.h:42
future::SortDialog::Ascending
@ Ascending
Definition: future_SortDialog.h:50
Column.h
future::SortDialog::button_ok
QPushButton * button_ok
Definition: future_SortDialog.h:62
Column
Aspect that manages a column.
Definition: Column.h:59
future::SortDialog::Separately
@ Separately
Definition: future_SortDialog.h:49
future::SortDialog::SortDialog
SortDialog(QWidget *parent=0, Qt::WindowFlags fl=0)
Definition: future_SortDialog.cpp:40
future::SortDialog::sort
void sort(Column *leading, QList< Column * > cols, bool ascending)
future::SortDialog::columns_list
QComboBox * columns_list
Definition: future_SortDialog.h:67
future::SortDialog::Together
@ Together
Definition: future_SortDialog.h:49
future::SortDialog::d_columns_list
QList< Column * > d_columns_list
Definition: future_SortDialog.h:60
future::SortDialog::Descending
@ Descending
Definition: future_SortDialog.h:50
future::SortDialog::button_help
QPushButton * button_help
Definition: future_SortDialog.h:64
future::SortDialog::box_type
QComboBox * box_type
Definition: future_SortDialog.h:65
future::SortDialog::button_close
QPushButton * button_close
Definition: future_SortDialog.h:63
future::SortDialog::ui
struct future::SortDialog::@2 ui
future::SortDialog::accept
void accept()
Definition: future_SortDialog.cpp:86
future::SortDialog::changeType
void changeType(int index)
Definition: future_SortDialog.cpp:105
future::SortDialog::setColumnsList
void setColumnsList(QList< Column * > list)
Definition: future_SortDialog.cpp:96