Fixed text file permissions
[snark14.git] / tools / Display / openimages.hpp
1 /** @file openimages.hpp
2     @package snark14Display
3     @author Bruno M. Carvalho and Deniz Sarioz
4     licensed under (open-source) QPL v1.0
5     which accompanies this distribution in the file QPL
6 */
7
8 #ifndef OPENIMAGESWINDOW_H
9 #define OPENIMAGESWINDOW_H
10
11 #include <qvariant.h>
12 #include <qdialog.h>
13 #include <qwidget.h>
14 class QVBoxLayout; 
15 class QHBoxLayout; 
16 class QGridLayout; 
17 class QFrame;
18 class QListBox;
19 class QListBoxItem;
20 class QPushButton;
21 class SnarkDisplay;
22 class displaywindow;
23 // class openimageswindow : public QDialog
24 class openimageswindow : public QWidget
25
26     Q_OBJECT
27
28 public:
29     openimageswindow( displaywindow** displaywindowset_in, QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 , int x = 0 , int y = 0 );
30     ~openimageswindow();
31
32     QWidget* Parent;
33     QFrame* Line6;
34     QListBox* imageslistbox;
35     QPushButton* openbutton;
36     QPushButton* selectbutton;
37     QPushButton* clearselectbutton;
38     QPushButton* closebutton;
39 private:
40     displaywindow** displaywindowset;
41 public slots:
42     void openImages();
43     void setImagesNames();
44     void selectAll();
45     void clearSelected();
46     void closeWindow() { hide(); }
47     void closeEvent(QCloseEvent* e) { closeWindow(); }
48 };
49
50 #endif // OPENIMAGESWINDOW_H