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
24 #include <ycp/YCPString.h>
26 #include "YQPackageSelectorBase.h"
31 class YQPkgSelDescriptionView;
33 class YQPkgPatternList;
37 class YQPatternSelector: public YQPackageSelectorBase
43 YQPatternSelector( YWidget * parent, long modeFlags );
49 * User clicked on "Details..." - start the detailed package selection.
50 * This will return from UI::RunPkgSelection() with `details .
52 void detailedPackageSelection();
62 // Layout methods - create and layout widgets
65 QWidget * layoutLeftPane ( QWidget * parent );
66 QWidget * layoutRightPane ( QWidget * parent );
67 void layoutButtons ( QWidget * parent );
70 * Find the wizard in the current dialog, if there is any.
71 * Returns 0 if there is none.
73 YQWizard * findWizard() const;
76 * Establish Qt signal / slot connections.
78 void makeConnections();
85 YQPkgSelList * _selList;
86 YQPkgPatternList * _patternList;
87 YQPkgSelDescriptionView * _descriptionView;
93 #endif // YQPatternSelector_h