00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef SELECTPART_H
00011 #define SELECTPART_H
00012
00013 #include <qvariant.h>
00014 #include <qdialog.h>
00015 #include <qptrlist.h>
00016
00017 class QVBoxLayout;
00018 class QHBoxLayout;
00019 class QGridLayout;
00020 class QLabel;
00021 class QLineEdit;
00022 class QListView;
00023 class QListViewItem;
00024 class QPushButton;
00025 struct partrec;
00026 class NoteTreeItem;
00027 class LitUrl;
00028
00029 class SelectPart : public QDialog
00030 {
00031 Q_OBJECT
00032
00033 public:
00034 SelectPart( QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 );
00035 ~SelectPart();
00036
00037 QLabel* textLabel1;
00038 QLineEdit* lineEdit2;
00039 QListView* parts;
00040 QPushButton* buttonOk;
00041 QPushButton* buttonCancel;
00042
00043 virtual LitUrl url();
00044
00045 public slots:
00046 virtual void addItem( QPtrList<partrec> & n, int parentoid, NoteTreeItem * parentitem );
00047
00048 protected:
00049 QVBoxLayout* SelectPartLayout;
00050 QVBoxLayout* layout8;
00051 QHBoxLayout* layout7;
00052 QHBoxLayout* Layout1;
00053
00054 protected slots:
00055 virtual void languageChange();
00056
00057 private:
00058 void init();
00059
00060 };
00061
00062 #endif // SELECTPART_H