1 /*---------------------------------------------------------------------\
3 | __ __ ____ _____ ____ |
4 | \ \ / /_ _/ ___|_ _|___ \ |
5 | \ V / _` \___ \ | | __) | |
6 | | | (_| |___) || | / __/ |
7 | |_|\__,_|____/ |_| |_____| |
11 \----------------------------------------------------------------------/
13 File: YQPatternSelector.h
15 Author: Stefan Hundhammer <sh@suse.de>
20 #ifndef YQPatternSelector_h
21 #define YQPatternSelector_h
25 #include "YQPackageSelectorBase.h"
30 class YQPkgSelDescriptionView;
32 class YQPkgPatternList;
36 class YQPatternSelector: public YQPackageSelectorBase
42 YQPatternSelector( YWidget * parent, long modeFlags );
48 * User clicked on "Details..." - start the detailed package selection.
49 * This will return from UI::RunPkgSelection() with `details .
51 void detailedPackageSelection();
61 // Layout methods - create and layout widgets
64 QWidget * layoutLeftPane ( QWidget * parent );
65 QWidget * layoutRightPane ( QWidget * parent );
66 void layoutButtons ( QWidget * parent );
69 * Find the wizard in the current dialog, if there is any.
70 * Returns 0 if there is none.
72 YQWizard * findWizard() const;
75 * Establish Qt signal / slot connections.
77 void makeConnections();
84 YQPkgSelList * _selList;
85 YQPkgPatternList * _patternList;
86 YQPkgSelDescriptionView * _descriptionView;
92 #endif // YQPatternSelector_h